I am trying to construct a recipe in my .procmailrc to match
mail to anything starting with "p" @domain.name.
My first version was the obvious:
* ^TO(_dot_)*p(_dot_)*(_at_)domain\(_dot_)name
Unfortunately, mail with multiple recipients matches this recipe
e.g. to: president(_at_)whitehouse(_dot_)gov,
someotherguy(_at_)domain(_dot_)name
^.....................................^^^^^^^^^^^^
So I need to match "p" followed by zero or more instances of the
characters that are NOT in "space, tab, comma, semicolon, newline".
I tried:
* ^TO.*p[^\ \t\n,;](_at_)domain\(_dot_)name
... but now nothing matching p*(_at_)domain(_dot_)name matches!
Can somebody please tell me the right recipe to use?
Thanks very much.
Peter Morrison.
--
Mild-mannered PowerHelp tech support by day (peter(_at_)astea(_dot_)co(_dot_)nz)
Super-powered Dispatch-1 legend after dark (legend(_at_)iconz(_dot_)co(_dot_)nz)
AT&T cowboy, 9am to midnight
(Peter(_dot_)Morrison(_at_)australia(_dot_)ncr(_dot_)com)
Lottery: A tax on people who are bad at math.