procmail
[Top] [All Lists]

Re: Newbie question: filters

2001-06-23 19:37:16
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Thanks for your great help. Now I can do what I want for this particular
example. Now I understand the important diff between ^TO and ^TO_.

And thanks for the other people that help me in this matter.

Bye,


- --
Nuno Teixeira
Dir. Técnico
pt-quorum.com

On Sun, 24 Jun 2001, Martin McCarthy wrote:

# 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: Made with pgp4pine 1.76

iD8DBQE7NVGljwdyCmOgT8cRAuH7AJ4wVStsHZ8qev+c01cLYSvNbcu15gCgqGM4
i4rKhTl0ouV8Y7q0k0eGg4w=
=Q0aE
-----END PGP SIGNATURE-----


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