Hello,
We have two servers with identical configuration running Postfix 2.6.6 on Redhat 6.x. One of the servers recently upgraded from Redhat 6.4 to Redhat 6.10. No major changes are reported. Postfix configuration was unchanged. On the upgraded server there is a strange delay in the active queue. The messages are accepted, but they stay in the queue after delivery. This fills the queue very quickly. Example: # grep 488845290 /var/log/maillog Jun 14 09:36:24 mx1 postfix/smtpd[7488]: 488845290: client=relay.host.tld[10.0.0.1] Jun 14 09:36:24 mx1 postfix/cleanup[8388]: 488845290: message-id=<msgid2> Jun 14 09:36:24 mx1 postfix/qmgr[2699]: 488845290: from=<user5@host2>, size=101577, nrcpt=1 (queue active) Jun 14 09:36:26 mx1 postfix/smtp[6409]: 488845290: to=<us...@onmicrosoft.com>, relay=host.mail.protection.outlook.com[ip.ip.ip.ip]:25, delay=1.7, delays=0.01/0/0.34/1.4, dsn=2.6.0, status=sent (250 2.6.0 <msgid2> [InternalId=1234, Hostname=host.prod.outlook.com] 111697 bytes in 0.722, 151.051 KB/sec Queued mail for delivery) Jun 14 09:41:26 mx1 postfix/qmgr[2699]: 488845290: removed Note the delay between sending and removing it from the queue. This is not the case on the non-upgraded server. Messages there are delivered and deleted immediately. Additionally on the upgraded server there is delay in the delivery that cannot be accounted for (the receiving servers are responding quickly) Example: # grep 719B552CD /var/log/maillog Jun 14 13:08:18 mx1 postfix/smtpd[16115]: 719B552CD: client=relay.host.tld[10.0.0.1] Jun 14 13:08:18 mx1 postfix/cleanup[16008]: 719B552CD: message-id=<msgid> Jun 14 13:08:18 mx1 postfix/qmgr[2699]: 719B552CD: from=<nore...@host.tld>, size=2048, nrcpt=2 (queue active) Jun 14 13:16:34 mx1 postfix/smtp[774]: 719B552CD: to=<use...@onmicrosoft.com>, relay=host.mail.protection.outlook.com[ip.ip.ip.ip]:25, delay=496, delays=0.01/495/0.42/0.48, dsn=2.6.0, status=sent (250 2.6.0 <msgid> [InternalId=12345, Hostname=host.prod.outlook.com] 10782 bytes in 0.145, 72.229 KB/sec Queued mail for delivery) Jun 14 13:16:34 mx1 postfix/smtp[774]: 719B552CD: to=<use...@onmicrosoft.com>, relay=host.mail.protection.outlook.com[ip.ip.ip.ip]:25, delay=496, delays=0.01/495/0.42/0.48, dsn=2.6.0, status=sent (250 2.6.0 <msgid> [InternalId=12345, Hostname=host.prod.outlook.com] 10782 bytes in 0.145, 72.229 KB/sec Queued mail for delivery) Jun 14 13:21:34 mx1 postfix/qmgr[2699]: 719B552CD: removed As you can see there is the same delay in removing the message. Tried default_destination_concurrency_limit = 200 but without success. You can find the config files attached. Do you have any suggestions where to start ? -- BR Toncho.
mx1 # postconf -n alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 default_destination_concurrency_limit = 200 disable_vrfy_command = yes header_checks = regexp:/etc/postfix/header_checks_spf html_directory = no inet_interfaces = all inet_protocols = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man maximal_backoff_time = 4000 message_size_limit = 31457280 minimal_backoff_time = 1200 mydestination = $myhostname, $myhostname.$mydomain, localhost.$mydomain, localhost mydomain = host.tld myhostname = mx1.host.tld mynetworks = 127.0.0.1, 10.0.0.0/8 myorigin = $myhostname newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix queue_run_delay = 1200 readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES relay_domains = ... relayhost = messagelabs.com sample_directory = /usr/share/doc/postfix-2.6.6/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crt smtp_tls_loglevel = 1 smtp_tls_note_starttls_offer = yes smtp_tls_security_level = may smtpd_banner = $myhostname ESMTP smtpd_data_restrictions = reject_unauth_pipelining permit smtpd_helo_required = yes smtpd_helo_restrictions = permit_mynetworks smtpd_recipient_limit = 200 smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination reject_non_fqdn_recipient smtpd_timeout = 300s transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550 mx2 # postconf -n alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 disable_vrfy_command = yes header_checks = regexp:/etc/postfix/header_checks_spf html_directory = no inet_interfaces = all inet_protocols = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man maximal_backoff_time = 4000 message_size_limit = 31457280 minimal_backoff_time = 1200 mydestination = $myhostname, $myhostname.$mydomain, localhost.$mydomain, localhost mydomain = host.tld myhostname = mx2.host.tld mynetworks = 127.0.0.1, 10.0.0.0/8 myorigin = $myhostname newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix queue_run_delay = 1200 readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES relay_domains = ... relayhost = messagelabs.com sample_directory = /usr/share/doc/postfix-2.6.6/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtp_tls_loglevel = 1 smtp_tls_note_starttls_offer = yes smtp_tls_security_level = may smtpd_banner = $myhostname ESMTP smtpd_data_restrictions = reject_unauth_pipelining permit smtpd_helo_required = yes smtpd_helo_restrictions = permit_mynetworks smtpd_recipient_limit = 200 smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination reject_non_fqdn_recipient smtpd_timeout = 300s transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550