procmail
[Top] [All Lists]

Re: filtering just some accounts

2004-11-16 15:39:22
On Tue, Nov 16, 2004 at 03:47:25PM -0600, Gerald V. Livingston II wrote:

On Tue, 16 Nov 2004 14:23:59 -0600 Paul Crittenden
<crittend(_at_)simpson(_dot_)edu> wrote:

* ^X-Spam-Status: Yes * ? grep -w $LOGNAME /etc/students

Works great.

You should put the -x back in there:

* ^X-Spam-Status: Yes * ? grep -wx $LOGNAME /etc/students
/usr/users/truncmail/spam/ac-spam

If you don't then $LOGNAME "robert" matches:

robert robert.jones bob.roberts roberta.q.public

He might want the -x instead of -w, but certainly not both.

-- 
dman

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