procmail
[Top] [All Lists]

Newbie Question - Whitelist Howto?

2009-06-06 04:01:56
Sorry for such a popular request - I have no access to the old messages on
this list. The link is broken. Trying to get a whitelist going. I don't
understand why there is no match. I am sending in a message from a gmail
account - which is in the whiltelist file. Instead of putting it in the
testing mailbox, it is delivered to the inbox.


#### Whitelist Recipe
FORMAIL = "/usr/bin/formail"
file = $HOME/.whitelist
searchFields = "-xSender: -xFrom -xFrom: -xReturn-Path: -xReply-To:"
EGREP = "/bin/egrep"

:0
*$ $FORMAIL  $searchFields | $EGREP --quiet --ignore-case --file='$file'
.testing/

===========
RESULTS
procmail: No match on "/usr/bin/formail  -xSender: -xFrom -xFrom:
-xReturn-Path: -xReply-To: | /bin/egrep --quiet --ignore-case
--file='/user/jgold/.whitelist'"

===========
.WHITELIST consists of
jgold(_at_)gmail(_dot_)com
jgold(_at_)fun(_dot_)com

===========
DATA
procmail v3.22 2001/09/10
formail v3.22 2001/09/10
egrep (GNU grep) 2.5.1
Linux jgold.usc.edu 2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:39:21 EDT 2009
i686 i686 i386 GNU/Linux

Thanks in advance,

Mehma
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>