OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
option to avoid duplicated mails by local delivery failure

From: Akihiro KAYAMA (kayamapersonal-media.co.jp)
Date: Wed May 19 2004 - 23:39:03 CDT


Hi, all.
I have a question about postfix aliases.

Aliases may cause duplicated mails when local delivery failure occurs.
For example, /etc/aliases has following entry:

        group1: foo bar baz

Foo, bar and baz are local users. If send a mail to group1, and can't
deliver to foo(because of mailbox locking problem or something wrong),
and the mail goes to deferred queue. Then, bar and baz will receive
same duplicated mails on each retransmission. Because postfix resend
not only to foo but to whole group1.

I hear that workaround is creating owner-group1 entry so that postfix
make a new queue with expanded recipients.
http://msgs.securepoint.com/cgi-bin/get/postfix0106/48/1.html
(Or using virtual instead of aliases)

But, why not have an option which always force to make a new queue
regardless of existence of owner- entry? It is more important to
eliminate duplicate mails than efficiency in some situations.
I don't know local(8) actually does, is it logically difficult?

-- kayama