procmail
[Top] [All Lists]

Re: Procmail Questions.

2003-02-26 05:36:17
On Tue, Feb 25, 2003 at 05:06:13PM -0800, 
multimedia-fan(_at_)myrealbox(_dot_)com wrote:
I don't know how to add a recipe that stops other filters (excuse me if
this is a basic RTFM thing), and from what I have read in the responses
so far, I need to probably add a unique header to distinguish the local
users from forged email addresses, and then check against that in the
recipe, or use regexp to do something like.


The part about how to stop other filters, I did express in my sample
answer.  Look for SWITCHRC in `man procmailr'.

The sample recipe, again:

        OURFQDN = somehost.dom

        :0  # backslash below fully quotes the var
        * $  ^Delivered-To:(_dot_)*(_at_)$\OURFQDN
        * $  ^X-Sender:(_dot_)*(_at_)$\OURFQDN
        { SWITCHRC }

-- 
dman

_______________________________________________
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>