procmail
[Top] [All Lists]

Re: restricting scope of foward

2005-04-18 16:03:41
Michelle Konzack:
Pablo Carapella:

*  ^From:.*domainX\.com

You do not need the backslash in the From: ...

It is not a matter of neccessity. The backslash belongs there, 
and without it the regex has a different meaning, which can 
result in behaviour that is totally different to what you 
might expect.

The quality of the regex with the backslash is higher than without.
Still there are things missing, because it also matches 
  From: anything+domainX(_dot_)com(_at_)other-domain

The version without the backslash would also match 
  From: domain(_at_)com(_dot_)tld


-- 
Grtz, 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

<Prev in Thread] Current Thread [Next in Thread>