procmail
[Top] [All Lists]

Re: Newbie question: filters

2001-06-23 16:39:43
# FreeBSD STABLE Mailing
:0
* 
^To(_dot_)*freebsd-stable(_at_)freebsd(_dot_)org|^To(_dot_)*stable(_at_)freebsd(_dot_)org|\
^Cc(_dot_)*freebsd-stable(_at_)freebsd(_dot_)org|^Cc(_dot_)*stable(_at_)freebsd(_dot_)org
arquivo/mailings/freebsd-stable

Note that '.*stable' will match anything that would be matched
'.*freebsd-stable'.  You also want to use locking when delivering mail
if you're using a "normal" mbox mailbox.  Perhaps try:

:0 :
* ^TOstable(_at_)freebsd\(_dot_)org
arquivo/mailings/freebsd-stable

Take a look at the man pages (man procmailrc in this case) to see what
'^TO' does and why it might be better than what you were using.

Note also that you want to use '^TO' rather than '^TO_' in this case
(because of that '-' before 'stable' in 'freebsd-stable').

Hope that helps,
Martin
-- 
Martin McCarthy                 /</                  PGP key available
    `Procmail Companion'        \>\  http://www.ancient-scotland.co.uk
     Addison Wesley             /</    http://www.ehabitat.demon.co.uk
_______________________________________________
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>