procmail
[Top] [All Lists]

Re: recipe

2009-08-15 13:27:03
Ruud:

Yes, you are right! After all I want to match exactly the string "1a2b3c4d5e" so removing the "*" makes sense, thanks


Regards,
Alex Rodriguez

PS:
If you need to attach a large file, please use our FTP server instead.

--------------------------------------------
Spectrecom Corporation

10773 Sherman Way
Sun Valley, CA 91352 U.S.A.

Tel: (818) 764-9500
Cel: (818) 679-5937
Fax: (818) 764-9501
Email: alex(_at_)spectrecom(_dot_)com

www.spectrecom.com
ftp.spectrecom.com
Username: specftp
Password: specftp
--------------------------------------------
1a2b3c4d5e

On Aug 14, 2009, at 3:33 PM, "Ruud H.G. van Tol" <rvtol(_at_)isolution(_dot_)nl> wrote:

LuKreme wrote:
On 13-Aug-2009, at 14:38, Alex Rodriguez wrote:

Is there anything wrong with this rule?

:0:
* ^Body:.*1a2b3c4d5e*
User_mail_spool_file
nothing at all, assuming you are looking for a header named 'Body' with that string it it. However, the final '*' is doing nothing at all.

Certainly not nothing.

The "*" means "0, 1 or more", so the "e*" part can (so should) be removed.

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

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