Hello all, One of the mailservers I maintain has something like this in its /etc/aliases:
> user1: user1, us...@some.other.domain.org > > mailinglist: user1, user2, user3, user4, adminuser > owner-mailinglist: adminuser The goals being: - Mail sent to <us...@our.domain.org> should be saved on the local server, but should also be forward to `some.other.domain.org`. - <mailingl...@our.domain.org> should be a simple mailing list to which all staffmembers are subscribed, and - mailinglist bounces (e.g. due to misconfiguration) should go to `adminuser`. However, with this configuration, mail sent to mailinglist@ is delivered to <us...@some.other.domain.org> *twice*. If I remove the `owner-mailinglist` alias, the problem disappears. This seems to be in addition to the usual Cc: duplicate "problem" (which I was expecting). Indeed, adding <us...@some.other.domain.org> to the Cc: line results in a third copy. We are using the LDA built into local(8); there should be no Sieve or mailbox_command shenanigans at play. What's happening here, and how to fix it? Example (anonymized) logs: > 13:59:52 postfix/submission/smtpd[15352]: connect from unknown[_some_ip_] > 13:59:55 postfix/submission/smtpd[15352]: 4CD8F288043: > client=unknown[_some_ip_], sasl_method=PLAIN, sasl_username=adminuser > 13:59:55 postfix/cleanup[15358]: 4CD8F288043: > message-id=<_scrubbed_message_id_> > 13:59:56 postfix/qmgr[555]: 4CD8F288043: from=<adminu...@our.domain.org>, > size=4483, nrcpt=1 (queue active) > 13:59:56 postfix/cleanup[15358]: 362BE288048: > message-id=<_scrubbed_message_id_> > 13:59:56 postfix/qmgr[555]: 362BE288048: > from=<owner-mailingl...@our.domain.org>, size=4609, nrcpt=9 (queue active) > 13:59:56 postfix/local[15359]: 4CD8F288043: to=<mailingl...@our.domain.org>, > relay=local, delay=1.2, delays=1.2/0.02/0/0.06, dsn=2.0.0, status=sent > (forwarded as 362BE288048) > 13:59:56 postfix/qmgr[555]: 4CD8F288043: removed > 13:59:56 postfix/local[15359]: 362BE288048: to=<us...@our.domain.org>, > relay=local, delay=0.46, delays=0.05/0.01/0/0.4, dsn=2.0.0, status=sent > (delivered to mailbox) > 13:59:56 postfix/local[15362]: 362BE288048: to=<us...@our.domain.org>, > relay=local, delay=0.46, delays=0.05/0.03/0/0.38, dsn=2.0.0, status=sent > (delivered to mailbox) > 13:59:56 postfix/local[15364]: 362BE288048: to=<us...@our.domain.org>, > relay=local, delay=0.46, delays=0.05/0.04/0/0.37, dsn=2.0.0, status=sent > (delivered to mailbox) > 13:59:56 postfix/local[15365]: 362BE288048: to=<us...@our.domain.org>, > relay=local, delay=0.46, delays=0.05/0.05/0/0.36, dsn=2.0.0, status=sent > (delivered to mailbox) > 13:59:56 postfix/submission/smtpd[15352]: disconnect from > unknown[182.73.121.234] > 13:59:56 postfix/local[15361]: 362BE288048: to=<us...@our.domain.org>, > relay=local, delay=0.62, delays=0.05/0.02/0/0.54, dsn=2.0.0, status=sent > (delivered to mailbox) > 13:59:56 postfix/local[15367]: 362BE288048: to=<us...@our.domain.org>, > relay=local, delay=0.62, delays=0.05/0.06/0/0.51, dsn=2.0.0, status=sent > (delivered to mailbox) > 13:59:56 postfix/local[15366]: 362BE288048: to=<adminu...@our.domain.org>, > relay=local, delay=0.68, delays=0.05/0.05/0/0.57, dsn=2.0.0, status=sent > (delivered to mailbox) > 13:59:56 postfix/local[15363]: 362BE288048: to=<us...@our.domain.org>, > relay=local, delay=0.68, delays=0.05/0.03/0/0.59, dsn=2.0.0, status=sent > (delivered to mailbox) > 13:59:56 postfix/cleanup[15358]: DC9AE288043: > message-id=<_scrubbed_message_id_> > 13:59:57 postfix/qmgr[555]: DC9AE288043: > from=<owner-mailingl...@our.domain.org>, size=4747, nrcpt=1 (queue active) > 13:59:57 postfix/local[15363]: 362BE288048: to=<us...@our.domain.org>, > relay=local, delay=0.79, delays=0.05/0.03/0/0.7, dsn=2.0.0, status=sent > (forwarded as DC9AE288043) > 13:59:57 postfix/smtp[15368]: DC9AE288043: to=<us...@some.other.domain.org>, > orig_to=<us...@our.domain.org>, > relay=mailserver.for.some.other.domain.org[_some_ip_]:25, delay=0.55, > delays=0.11/0.02/0.02/0.41, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as > C2C9B700432) > 13:59:57 postfix/smtp[15360]: 362BE288048: to=<us...@some.other.domain.org>, > relay=mailserver.for.some.other.domain.org[_some_ip_]:25, delay=1.2, > delays=0.05/0.02/0.01/1.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as > 0EBDC700038) > 13:59:57 postfix/qmgr[555]: DC9AE288043: removed > 13:59:57 postfix/qmgr[555]: 362BE288048: removed Thanks! Have a good one, Daniel
signature.asc
Description: OpenPGP digital signature