On Mon, 13 Nov 2017, Viktor Dukhovni wrote:

http://www.postfix.org/DEBUG_README.html#mail

Victor,

  I had looked at that page and checked many of the items.

Include logs showing the complete history of a delayed message (all
log entries with the problem queue-id).

  The only one found in /var/log/maillog has these entries:

Nov 13 06:59:09 salmo postfix/smtpd[19953]: EF1E2991FD: 
client=salmo.appl-ecosys.com[192.168.55.1]
Nov 13 06:59:10 salmo postfix/cleanup[19606]: EF1E2991FD: 
message-id=<alpine.lnx.2.20.1711130649350.19...@salmo.appl-ecosys.com>
Nov 13 06:59:10 salmo postfix/qmgr[1937]: EF1E2991FD: 
from=<rshep...@appl-ecosys.com>, size=815, nrcpt=1 (queue active)
Nov 13 06:59:10 salmo postfix/smtpd[19953]: disconnect from 
salmo.appl-ecosys.com[192.168.55.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 
commands=5
Nov 13 06:59:40 salmo postfix/smtp[19954]: connect to
aaaaa.aaaaa.aaa[ddd.ddd.d.dd]:25: Connection timed out
Nov 13 06:59:40 salmo postfix/smtp[19954]: EF1E2991FD:
to=<aaa-aa...@aaaaa.aaa.aaa>, relay=none, delay=31, delays=0.09/0.69/30/0, 
dsn=4.4.1, status=deferred (connect to
aaaaa.aaaaaa.aaa[ddd.ddd.d.dd]:25: Connection timed out)

  The above repeats every hour.

  I checked using a testing site and I'm not on any blacklists and there are
no reports of my IP address being greylisted. And this does not explain the
delay on an internally-generated maillog report produced at 3:10 am today.

The main.cf settings (as reported by postconf -n) are much more useful.

  On the DEBUG_README page I read to use -Mf rather than -n with versions
greater than 2.9; postconf -n results attached.

The smtpd(8) process handles inbound mail, and is not relevant in solving
outbound delivery delays.  There's no need to run anything under a debugger,
the problem you have is almost certainly not a software defect.

  Thanks for clarifying.

Regards,

Rich
alias_maps = hash:/etc/postfix/aliases, hash:/etc/postfix/major-aliases
body_checks = regexp:/etc/postfix/body_checks
command_directory = /usr/sbin
compatibility_level = 2
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd 
$daemon_directory/$process_name $process_id & sleep 5
default_process_limit = 300
has_our_domain_as_sender = check_sender_access 
hash:/etc/postfix/our_domain_as_sender reject
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
html_directory = /usr/doc/postfix-2.11.4/html
in_flow_delay = 1s
inet_interfaces = all
inet_protocols = ipv4
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/man
message_size_limit = 32768000
mydestination = $myhostname, mail.$mydomain, localhost.$mydomain, 
localhost.$mydomain, $mydomain, /etc/postfix/local/localdomains
mydomain = appl-ecosys.com
myhostname = salmo.appl-ecosys.com
mynetworks = 192.168.55.0/24, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/doc/postfix-2.11.4/README_FILES
relayhost =
sample_directory = /etc/postfix files.
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_destination_concurrency_failed_cohort_limit = 10
smtp_destination_rate_delay = 13s
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noplaintext, noanonymous
smtp_sasl_tls_security_options = noanonymous
smtp_sasl_type = cyrus
smtp_tls_security_level = may
smtpd_client_restrictions = check_client_access 
hash:/etc/postfix/internal_network, permit_mynetworks, check_sender_access 
hash:/etc/postfix/sender_no_greylist, check_sender_mx_access 
cidr:/etc/postfix/bogus_mx, check_sender_access 
hash:/etc/postfix/rhsbl_sender_exceptions, check_client_access 
hash:/etc/postfix/badaddr, check_client_access cidr:/etc/postfix/badip, 
check_sender_access hash:/etc/postfix/common_spam_senderdomains, 
check_client_access cidr:/etc/postfix/cidr/africa.cidr, check_client_access 
cidr:/etc/postfix/cidr/central-asia.cidr, check_client_access 
cidr:/etc/postfix/cidr/east-asia.cidr, check_client_access 
cidr:/etc/postfix/cidr/east-europe.cidr, check_client_access 
cidr:/etc/postfix/cidr/spammers.cidr, check_client_access 
cidr:/etc/postfix/cidr/latin-america.cidr, check_client_access 
cidr:/etc/postfix/cidr/middle-east.cidr, reject_rbl_client zen.spamhaus.org, 
reject_rbl_client dul.dnsbl.sorbs.net, reject_rbl_client sbl-xbl.spamhaus.org, 
reject_rbl_client combined.njabl.org, reject_rbl_client psbl.surriel.com, 
reject_rbl_client bl.spamcop.net, reject_rhsbl_sender dsn.rfc-ignorant.org, 
permit
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, 
reject_unauth_destination, check_recipient_access 
hash:/etc/postfix/roleaccount_exceptions, check_recipient_access 
hash:/etc/postfix/recipients, check_helo_access pcre:/etc/postfix/helo_checks, 
reject_non_fqdn_recipient, reject_non_fqdn_sender, 
reject_unknown_client_hostname, reject_unknown_reverse_client_hostname, 
reject_non_fqdn_hostname, reject_invalid_hostname, permit 
reject_multi_recipient_bounce
smtpd_restriction_classes = has_our_domain_as_sender
smtpd_sasl_path = smtpd
smtpd_tls_exclude_ciphers = EXPORT
soft_bounce = yes
unknown_local_recipient_reject_code = 550

Reply via email to