Wietse Venema:
mailinglist: wietse, test, root
owner-mailinglist: root
test: test, [email protected]
First, mail to 'mailinglist' is forwarded as a new message without
any mailbox or off-site delivery:
Jul 21 09:52:05 wzv postfix/pickup[3011]: 1A543A0033: uid=0 from=<root>
Jul 21 09:52:05 wzv postfix/cleanup[3023]: 1A543A0033:
message-id=<[email protected]>
Jul 21 09:52:05 wzv postfix/qmgr[3012]: 1A543A0033:
from=<[email protected]>, size=450, nrcpt=1 (queue active)
Jul 21 09:52:05 wzv postfix/cleanup[3023]: 1F2D4A0032:
message-id=<[email protected]>
Jul 21 09:52:05 wzv postfix/local[3025]: 1A543A0033:
to=<[email protected]>, orig_to=<mailinglist>, relay=local,
delay=0.06, delays=0.04/0.01/0/0, dsn=2.0.0, status=sent (forwarded as
1F2D4A0032)
Jul 21 09:52:05 wzv postfix/qmgr[3012]: 1A543A0033: removed
As the next logfile record shows, the message has four recipients.
I captured the queue file, and found that the recipients are
[email protected], [email protected], [email protected],
and the off-site address, [email protected]
Jul 21 09:52:05 wzv postfix/qmgr[3012]: 1F2D4A0032:
from=<[email protected]>, size=592, nrcpt=4 (queue active)
What happens next is that [email protected] and [email protected]
get one message in their mailbox. The [email protected] recipient
is alias-expanded, resulting in one email message in their mailbox,
and another off-site email for [email protected].
Without the 'owner-mailinglist' alias, all expansions would be done
in the same local(8) delivery request, which can de-duplicate aliases
so that everyone gets only one copy.
It's an old problem, and it is not likely to get fixed because
the fix would break at least one other thing.
Wietse