Dear Postfix Maintainers:

Thanks for a great package.

I am using sender_transport to specify custom bind IP addresses, helo name,
and logging for our clients sending newsletters.  In general this works
well, but with some ISPs, when deferring our e-mail, the only entry in the
postfix logs is under the 'error' process.  For most ISPs, the smtp process
has the results of the conversations.  Which process logs the 'deferral'
notice is important because 1) we need the normalized format output by the
smtp process; and 2) we need the custom log name that accompanies the smtp
process.

Our current logs for delivery of a given message id to the deferring ISPs
look as below.  Note that the smtp process is not logging anything, only
the 'smtpd', 'cleanup', and 'error' processes.  As a result, the syslog
name used is 'br-shared' (the default) instead of 'br-client1'.  Why is
smtp not logging? (I am using version 2.9.4)

Best, Steve

-- Log files (grep 1BBB6CE7605 /var/log/maillog)
Apr 19 01:35:45 mail4 br-shared/smtpd[27239]: 1BBB6CE7605:
client=mail4[127.0.0.1]
Apr 19 01:35:45 mail4 br-shared/cleanup[27320]: 1BBB6CE7605: message-id=<
980356972.195693.1461044145114.javamail.r...@mail4.samesaw.net>
Apr 19 01:35:45 mail4 br-shared/error[27280]: 1BBB6CE7605: to=<
recipi...@comcast.net>, relay=none, delay=0.05, delays=0.05/0/0/0,
dsn=4.0.0, status=deferred (delivery temporarily suspended: host
mx2.comcast.net[68.87.20.5] refused to talk to me: 421
resimta-ch2-16v.sys.comcast.net comcast 130.94.24.84 Throttled - try again
later. k5Cs1s00N1ors0201 Please see
http://postmaster.comcast.net/smtp-error-codes.php#RL000002)
Apr 19 02:22:46 mail4 br-shared/error[32059]: 1BBB6CE7605: to=<
recipi...@comcast.net>, relay=none, delay=2821, delays=2821/0/0/0,
dsn=4.0.0, status=deferred (delivery temporarily suspended: host
mx2.comcast.net[68.87.20.5] refused to talk to me: 421
resimta-ch2-23v.sys.comcast.net comcast 130.94.24.84 Throttled - try again
later. k6Cq1s05Z1ors0201 Please see
http://postmaster.comcast.net/smtp-error-codes.php#RL000002)
...

-- /etc/postfix-br/sender_transport.txt --
@news.client1.org        acct_client1

-- /etc/postfix-br/master.cf --
acct_client1        unix  -   -      n       -       -       smtp
  -o syslog_name=br-client1
  -o smtp_bind_address=185.94.24.84
  -o smtp_helo_name=news.client1.org

Reply via email to