|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: postfix sends mails twice (or more often) ...
From: Bennett Todd (bet
rahul.net)Date: Sat Dec 23 2000 - 11:41:59 CST
- Next message: Michael Ju. Tokarev: "Re: receiving all
my.domain.com"
- Previous message: Bennett Todd: "Re: Virus checking RFC"
- In reply to: Patrick Frisch: "postfix sends mails twice (or more often) ..."
- Reply: Bennett Todd: "Re: postfix sends mails twice (or more often) ..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2000-12-19-07:18:09 Patrick Frisch:
> Sometimes an automatic process (in fact a cgi script) sends mail
> to a mix of personal aliases and mailing lists. If a user is
> listed personally and is member of a mailing list, he gets the
> message twice.
I.e. the CGI script sent the message to the user twice, and the user
receives two copies.
> With some magic the old sendmail recognized this situation and
> eliminated all doubles.
I.e. under some (but not all) circumstances, sendmail failed to
deliver the email it was asked to deliver.
> Now I get complains from the users, that they receive identical
> mails more than once.
If you cannot fix the software to stop sending duplicate
messages, and you also cannot fix the users to accept that the
software is now doing what it has been asked to do, rather than
failing; then you need to shim in a fix where the users can't
see it. I think (although I'm not 100% certain, since I've
not done much with system-wide procmailrcs) that if you set
mailbox_command=/usr/bin/procmail in /etc/postfix/main.cf, you can
then create an /etc/procmailrc containing:
:0 Wh: $HOME/.procmail-msgid.lock
| formail -D 65536 $HOME/.procmail-msgid.cache
and arrange for duplicates to be silently discarded just before they
hit your users' mailboxes.
> Is there any chance to get rid of doubles in postfix.
Nope, the parts of postfix that would have to talk to each other to
negotiate that, are completely separated.
-Bennett
- application/pgp-signature attachment: stored
- Next message: Michael Ju. Tokarev: "Re: receiving all
my.domain.com"
- Previous message: Bennett Todd: "Re: Virus checking RFC"
- In reply to: Patrick Frisch: "postfix sends mails twice (or more often) ..."
- Reply: Bennett Todd: "Re: postfix sends mails twice (or more often) ..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]