[Mailman-Users] iterative loop

Mark Sapiro mark at msapiro.net
Tue Mar 19 22:23:56 EDT 2019


On 3/19/19 6:27 PM, Web Analysts via Mailman-Users wrote:
> Well I removed hostname.domainname.tld from mydestination in
> /etc/postfix/main.cf and restarted Postfix. No dice...see below:
> 
> Mar 19 18:21:43 zarathustra postfix/smtpd[18769]: 925B210193B:
> client=localhost.localdomain[127.0.0.1]
> Mar 19 18:21:43 zarathustra postfix/cleanup[18673]: 925B210193B:
> message-id=<mailman.99.1553044787.18654.ssan at lists.domainname.tld >
> Mar 19 18:21:43 zarathustra postfix/qmgr[18094]: 925B210193B:
> from=<ssan-bounces at lists.domainname.tld >, size=6805, nrcpt=3 (queue active)
> Mar 19 18:21:43 zarathustra postfix/lmtp[18151]: 925B210193B:
> to=<ssan at hostname.domainname.tld >, relay=mail.domainname.tld
> [private/dovecot-lmtp], delay=0.03, delays=0.01/0/0/0.01, dsn=5.1.1,
> status=bounced (host mail.domainname.tld [private/dovecot-lmtp] said: 550
> 5.1.1 <ssan at hostname.domainname.tld > User doesn't exist:
> ssan at hostname.domainname.tld  (in reply to RCPT TO command))
> Mar 19 18:21:43 zarathustra postfix/lmtp[18151]: 925B210193B:
> to=<|/var/lib/mailman/mail/mailman at hostname.domainname.tld >,
> relay=mail.domainname.tld [private/dovecot-lmtp], delay=0.03,
> delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (host mail.domainname.tld
> [private/dovecot-lmtp] said: 550 5.1.1
> <|/var/lib/mailman/mail/mailman at hostname.domainname.tld > User doesn't
> exist: |/var/lib/mailman/mail/mailman at hostname.domainname.tld  (in reply to
> RCPT TO command))
> Mar 19 18:21:43 zarathustra amavis[5001]: (05001-19-19) Passed CLEAN
> {RelayedInternal,RelayedOutbound}, LOCAL [::1]:53426 [::1]
> <ssan-bounces at lists.domainname.tld > -> <ces at domainname.tld
>> ,<ssan at hostname.domainname.tld
>> ,<|/var/lib/mailman/mail/mailman at hostname.domainname.tld >, Queue-ID:
> C66FF101986, Message-ID:
> <mailman.99.1553044787.18654.ssan at lists.domainname.tld >, mail_id:
> UPdgfVyqHMQR, Hits: -3.899, size: 6324, queued_as: 925B210193B, 2396 ms
> Mar 19 18:21:43 zarathustra postfix/lmtp[18151]: 925B210193B:
> to=<ces at domainname.tld >, relay=mail.domainname.tld [private/dovecot-lmtp],
> delay=0.04, delays=0.01/0/0/0.02, dsn=2.0.0, status=sent (250 2.0.0
> <ces at domainname.tld > wqgTMDOVkVzrRgAAEFbm5A Saved)
> Mar 19 18:21:43 zarathustra postfix/cleanup[18707]: 9B645101942:
> message-id=<20190320012143.9B645101942 at mail.domainname.tld >
> Mar 19 18:21:43 zarathustra postfix/qmgr[18094]: 9B645101942: from=<>,
> size=9894, nrcpt=3 (queue active)
> Mar 19 18:21:43 zarathustra postfix/bounce[18678]: 925B210193B: sender
> non-delivery notification: 9B645101942
> Mar 19 18:21:43 zarathustra postfix/qmgr[18094]: 925B210193B: removed


If we look only at entries up to here with queue id 925B210193B, we see
messages to 3 recipients: ssan at hostname.domainname.tld,
|/var/lib/mailman/mail/mailman at hostname.domainname.tld and
ces at domainname.tld all being relayed via private/dovecot-lmtp.

There are two more similar sets below with queue ids C66FF101986 and
9B645101942. These all seem to come about in the same way. I'm confuses
about the ces at domainname.tld recipient as it is at domainname.tld rather
than hostname.domainname.tld, but more below.


> Mar 19 18:21:43 zarathustra postfix/smtp[18662]: C66FF101986:
> to=<ces at domainname.tld >, orig_to=<ssan-owner at lists.domainname.tld >,
> relay=127.0.0.1[127.0.0.1]:10024, conn_use=19, delay=113,
> delays=0.01/110/0.01/2.4, dsn=2.0.0, status=sent (250 2.0.0 from
> MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 925B210193B)
> Mar 19 18:21:43 zarathustra postfix/smtp[18662]: C66FF101986:
> to=<ssan at hostname.domainname.tld >, orig_to=<ssan-owner at lists.domainname.tld
>> , relay=127.0.0.1[127.0.0.1]:10024, conn_use=19, delay=113,
> delays=0.01/110/0.01/2.4, dsn=2.0.0, status=sent (250 2.0.0 from
> MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 925B210193B)
> Mar 19 18:21:43 zarathustra postfix/smtp[18662]: C66FF101986:
> to=<|/var/lib/mailman/mail/mailman at hostname.domainname.tld >,
> orig_to=<ssan-owner at lists.domainname.tld >,
> relay=127.0.0.1[127.0.0.1]:10024, conn_use=19, delay=113,
> delays=0.01/110/0.01/2.4, dsn=2.0.0, status=sent (250 2.0.0 from
> MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 925B210193B)
> Mar 19 18:21:43 zarathustra postfix/qmgr[18094]: C66FF101986: removed


Actually, the C66FF101986 entries were first (this log gets written
asynchronously). They are a message to ssan-owner at lists.domainname.tld
receeived via smtp and resent with queue-id 925B210193B.


> Mar 19 18:21:43 zarathustra postfix/lmtp[18151]: 9B645101942:
> to=<bounces at hostname.domainname.tld >,
> orig_to=<ssan-bounces at lists.domainname.tld >, relay=mail.domainname.tld
> [private/dovecot-lmtp], delay=0.02, delays=0/0/0/0.02, dsn=5.1.1,
> status=bounced (host mail.domainname.tld [private/dovecot-lmtp] said: 550
> 5.1.1 <bounces at hostname.domainname.tld > User doesn't exist:
> bounces at hostname.domainname.tld  (in reply to RCPT TO command))
> Mar 19 18:21:43 zarathustra postfix/lmtp[18151]: 9B645101942:
> to=<ssan at hostname.domainname.tld >,
> orig_to=<ssan-bounces at lists.domainname.tld >, relay=mail.domainname.tld
> [private/dovecot-lmtp], delay=0.03, delays=0/0/0/0.03, dsn=5.1.1,
> status=bounced (host mail.domainname.tld [private/dovecot-lmtp] said: 550
> 5.1.1 <ssan at hostname.domainname.tld > User doesn't exist:
> ssan at hostname.domainname.tld  (in reply to RCPT TO command))
> Mar 19 18:21:43 zarathustra postfix/lmtp[18151]: 9B645101942:
> to=<|/var/lib/mailman/mail/mailman at hostname.domainname.tld >,
> orig_to=<ssan-bounces at lists.domainname.tld >, relay=mail.domainname.tld
> [private/dovecot-lmtp], delay=0.04, delays=0/0/0/0.03, dsn=5.1.1,
> status=bounced (host mail.domainname.tld [private/dovecot-lmtp] said: 550
> 5.1.1 <|/var/lib/mailman/mail/mailman at hostname.domainname.tld > User doesn't
> exist: |/var/lib/mailman/mail/mailman at hostname.domainname.tld  (in reply to
> RCPT TO command))
> Mar 19 18:21:43 zarathustra postfix/qmgr[18094]: 9B645101942: removed


The last set here with queue-id 9B645101942 is the most straightforward.
It is a message to ssan-bounces at lists.domainname.tld. There is an alias
mapping ssan-bounces to "|/var/lib/mailman/mail/mailman bounces ssan"
which is supposed to pipe the mail to that command, but the dovecot
delivery agent doesn't understand that and take the three words in the
command and appends the local domain to them and tries to deliver to the
three recipient addresses
|/var/lib/mailman/mail/mailman at hostname.domainname.tld,
bounces at hostname.domainname.tld and ssan at hostname.domainname.tld none of
which exist.

The bottom line here is that this mail should be delivered via the
Postfix 'local' delivery agent which does understand these aliases, not
via dovecot.

This is a Postfix configuration issue. Perhaps you have a backup of the
Postfix main.cf and master.cf files from when this was working to
compare with the current ones to see what changed.

If you want more help here we have to see at least the output from
'postconf -n' to start.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list