[NTLUG:Discuss] procmail question

Rev. wRy slot0k at pogox.org
Mon Jun 28 14:14:46 CDT 2004


Setup:  mail server with some initial checks being done by
/etc/procmailrc, then handed off to $HOME/.procmailrc where spamassassin
gets called.

While the list of names is much longer, this snippet exists in a
/etc/procmailrc:


:0 H
* {^From.addy1 at domain1.[com|net]|addy2 at domain1.[com|net]}
* {^TO_addy1 at domain1.[com|net]|addy2 at domain.1.[com|net]}
{
        LOG="ACTION"
        :0
        ${DEFAULT}
}

This is what's happening:

1) Mail from user at otherdomain is triggering the rule.
2) All mail for one particular user never gets to his $HOME/.procmailrc
(as nothing is in his $HOME/proc.log), but mail is delivered.
3) If I comment out the above rule, everything works fine.

Any assistance in rewriting this recipe would be greatly appreciated.

Ry





More information about the Discuss mailing list