procmail
[Top] [All Lists]

Re: full support for qmail ?

2002-08-11 07:47:58


Can you explain again what you mean by 'ignore a message'?  What should
be the result of ingoring a message?  Silently delete the message?
Deliver it to the recipient's mailbox?  (I presume it is neither of
those)

i need to filter email pre delivery to another mail host that will then
deliver mail to user accounts...
the reason i need to pass the email to external prog is due to the fact that
the email is not destined for local delivery on the filtering host...
i want procmail to pass/pipe the message to the external prog if the first
rule is not matched so normal mail delivery can proceed....
so, i'm hoping the below recipe does exactly that... if the email does not
match the first recipe then pass the email to external prog....
fyi, the mta in question is qmail...

    LOGFILE=/var/qmail/procmail.log
    VERBOSE=yes

    :0
    * ^X-Spam-Status: Yes
    !spam(_at_)myhost(_dot_)com

    :0
    |/var/qmail/bin/qmail-smtpd




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>