We have a web app we use to find bad email addresses after a newsletter goes 
out.  We read the mail queue using postqueue -p, the parse the output of that 
command to get a list of emails that failed to successfully send.

Today I noticed the the output from postqueue is different.  Before, each "bad" 
email was listed as three lines separated by a blank line.  Now I see that most listed 
emails have only two lines.  They are missing the line that used to tell us the reason 
for the failure.

Nothing has changed in Postfix's configuration for months.

I am seeing most items as:

7EDEB20BC5 5805 Mon Jul 28 21:10:14 [email protected]
[email protected]

But some still have the "reason" line as we expected:

745BD202D5 5816 Mon Jul 28 19:45:39 [email protected]
(delivery temporarily suspended: connect to mx.eserver.net[69.168.106.54]:25: 
Connection timed out)
[email protected]

and

AF34A20B6D 5859 Mon Jul 28 21:08:27 [email protected]
(host alt1.gmail-smtp-in.l.google.com[192.178.220.27] said: 452-4.2.2 The 
recipient's inbox is out of storage space. Please direct the 452-4.2.2 
recipient to 452 4.2.2 https://support.google.com/mail/?p=OverQuotaTemp 
46e09a7af769-74147f825fasi3547318a34.113 - gsmtp (in reply to RCPT TO command))
[email protected]

I am unaware of any Postfix configuration option that would effect the content 
of the queue.

Postfix version is 3.5.25

On Rocky linux 9.5

Any suggestion on where to look, or why we are missing reason information in 
the queue?

As requested here is the output of comm -23 <(postconf -n) <(postconf -d)

bounce_queue_lifetime = 0
broken_sasl_auth_clients = yes
compatibility_level = 2
cyrus_destination_recipient_limit = 1
comm: file 1 is not in sorted order
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd 
$daemon_directory/$process_name $process_id & sleep 5
default_privs = mail
inet_interfaces = all
inet_protocols = ipv4
local_recipient_maps =
mailbox_size_limit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
maximal_backoff_time = 30m
maximal_queue_lifetime = 3d
message_size_limit = 0
milter_default_action = accept
minimal_backoff_time = 5m
mydestination = localhost $mydomain $myhostname
mynetworks = 127.0.0.0/8 x23.xx.1.xx
newaliases_path = /usr/bin/newaliases.postfix
non_smtpd_milters = $smtpd_milters
owner_request_special = no
polite_destination_concurrency_failed_cohort_limit = 0
polite_destination_concurrency_limit = 2
polite_destination_rate_delay = 0
polite_destination_recipient_limit = 5
queue_run_delay = 5m
readme_directory = /usr/share/doc/postfix/README_FILES
recipient_canonical_maps = mysql:/etc/postfix/postadmin-canonical.cf
recipient_delimiter = +
sample_directory = /usr/share/doc/postfix/samples
sender_canonical_maps = mysql:/etc/postfix/postadmin-canonical.cf
sender_dependent_default_transport_maps = hash:/etc/postfix/sender_transport
sendmail_path = /usr/sbin/sendmail.postfix
smtp_destination_concurrency_limit = 2
smtp_extra_recipient_limit = 10
smtp_tls_mandatory_protocols = !SSLv2,!SSLv3
smtp_tls_note_starttls_offer = yes
smtp_tls_protocols = !SSLv2,!SSLv3
smtp_tls_security_level = may
smtpd_client_connection_count_limit = 5
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, reject_unauth_pipelining, permit
smtpd_milters = inet:127.0.0.1:8891
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, 
reject_unauth_pipelining, reject_unauth_destination, reject_unlisted_recipient, 
reject_unverified_recipient, reject_rbl_client zen.spamhaus.org, 
reject_rbl_client bl.spamcop.net, permit
smtpd_reject_unlisted_sender = yes
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, 
reject_unauth_destination, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = noanonymous
smtpd_sasl_type = cyrus
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, 
reject_non_fqdn_sender, reject_unlisted_sender, reject_rhsbl_sender 
dsn.rfc-ignorant.org, permit
smtpd_timeout = 45s
smtpd_tls_cert_file = /etc/letsencrypt/live/mail.example.com/fullchain.pem
smtpd_tls_key_file = /etc/letsencrypt/live/mail.example.com/privkey.pem
smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3,!TLSv1
smtpd_tls_protocols = !SSLv2,!SSLv3,!TLSv1
smtpd_tls_security_level = may
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
strict_rfc821_envelopes = yes
transport_maps = hash:/etc/postfix/transport
turtle_destination_concurrency_failed_cohort_limit = 0
turtle_destination_concurrency_limit = 5
turtle_destination_rate_delay = 3s
turtle_destination_recipient_limit = 10
unknown_address_reject_code = 554
unknown_client_reject_code = 554
unknown_hostname_reject_code = 554
unverified_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/postadmin-virtual.cf
virtual_mailbox_domains = mysql:/etc/postfix/postadmin-domains.cf
virtual_transport = cyrus
yahoo_destination_concurrency_failed_cohort_limit = 0
yahoo_destination_concurrency_limit = 2
yahoo_destination_rate_delay = 30s
yahoo_destination_recipient_limit = 5


Emmett


_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to