No delivery attempt

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view

No delivery attempt

Bob Puff

Long-time Postfix user, since the days of version 1.  I have a server that is running Mailman on a CentOS 7 machine.  Mailman has a couple lists that have quite a few digest users, so once a day, a blast of a bit under 1k messages go out.  Have been running this for quite some time with really no issues.

However, lately, I got a complaint from a user who was not getting the Mailman digest.  Mailman is set to personalize all messages, so it is not grouping any emails.  I looked at the logs, and saw that indeed, a message was generated to the user, but Postfix never shows it being delivered.

When a message is sent individually, I see the following logs:

May 12 01:30:06 lists postfix/smtpd[17107]: DF1AC535BB: client=localhost[]
May 12 01:30:06 lists postfix/cleanup[17123]: DF1AC535BB: message-id=<[hidden email]>
May 12 01:30:06 lists postfix/qmgr[11268]: DF1AC535BB: from=<sac-bounces+user=[hidden email]>, size=6154, nrcpt=1 (queue active)
May 12 01:30:17 lists postfix/smtp[17161]: DF1AC535BB: to=<[hidden email]>,[]:25, delay=11, delays=0.02/0/1.1/9.9, dsn=2.0.0, status=sent (250 OK)
May 12 01:30:17 lists postfix/qmgr[11268]: DF1AC535BB: removed

But more typically, I see only this:

May 13 01:30:06 lists postfix/smtpd[1586]: 2D7D7185A2: client=localhost[]
May 13 01:30:06 lists postfix/cleanup[1589]: 2D7D7185A2: message-id=<[hidden email]>
May 13 01:30:06 lists postfix/qmgr[24766]: 2D7D7185A2: from=<sac-bounces+user=[hidden email]>, size=14168, nrcpt=1 (queue active)

There is never a "sent" line, nor a "removed" line.  In the above example, there is never any more references to 2D7D7185A2 in the rest of the log, nor is there anything in any of the queues.  mailq does not show this message, neither does a check for the 2D7D file exist anywhere on the file system.  Grepping thru the log also shows no other contact to the mailserver.  There are no blocks in the firewall that would affect this.  Again, if I send a message not during the big blast of digests, it goes thru fine.  There's gigs and gigs of free disk space.  I don't see any indications of insufficient memory, nor have I any other reports of missing mail delivery.

I am running postfix from the Centos RPM: postfix-2.10.1-9.el7.x86_64

The output from postconf -n is:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases, hash:/home/mailman/data/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
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
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
ignore_mx_lookup_error = yes
inet_interfaces = all
inet_protocols = ipv4
mail_owner = postfix
mailbox_command = /usr/bin/procmail -a "$EXTENSION"
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = lists.localhost, lists, localhost
mynetworks =,,
newaliases_path = /usr/bin/newaliases.postfix
owner_request_special = no
propagate_unmatched_extensions = canonical, virtual, forward
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
recipient_delimiter = +
sample_directory = /usr/share/doc/postfix-2.10.1/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_destination_concurrency_limit = 3
smtpd_client_restrictions = reject_rbl_client
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination reject_unlisted_recipient reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_invalid_hostname, reject_non_fqdn_hostname, reject_unauth_destination check_policy_service unix:private/policyd-spf
smtpd_sender_restrictions = reject_unknown_sender_domain, reject_non_fqdn_sender
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual, hash:/home/mailman/data/virtual-mailman
postconf: warning: /etc/postfix/ unused parameter: policy-spf_time_limit=3600s

What more can I look for?  I really want to help this user, and it is baffling me why I can't see Postfix trying to deliver the email.

Reply | Threaded
Open this post in threaded view

Re: No delivery attempt

Wietse Venema
Postfix does not remove mail from the queue without logging it.
Without logs there will be no support. Seriously.

Systemd is great for losing logs while you're doing bulk mail. If
your system has systemd, consider using Postfix's maillog_file
feature instead. Again, Without logs there will be no support.