procmail
[Top] [All Lists]

Re: Rule for matching mails from my organization

2002-02-20 13:48:55
At 08:31 2002-02-20 -0500, Kevin Ring did say:

from reading the procmail FAQ at
http://www.ling.helsinki.fi/users/reriksso/procmail/mini-faq.html I'm pretty
sure that

FROM="^(From[   ]|(Old-|X-)?(Resent-)?(From|Reply-To|Sender):)(.*\<)?"

        :0
        * $ ${FROM}.*aeroglide\.com

Try using, of all things:

        $DEFAULT

as your delivery target.

I presume that your recipe above is in /etc/procmailrc (your mention of $USER within the description of what you wanted to do - though technically, that's $LOGUSER - indicates that this rule is being applied to more than one person's mailbox).

This of course will still allow spam through, since many spammers send with a from within your own domain...


---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

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