On Thu, 15 May 1997, era eriksson wrote:
I also get the feeling your intent is to match either a bare webmaster
(for local mail) or one with your domain, including subdomains, tacked
on. Is this correct? Then you might try something like
Kinda. I use one script to filter all messages sent to webmaster on our
system. Since we have many many domains, I want to filter them all out
according to domain -- if it doesn't match anything that I've specified
(in case I've forgotten a domain), then I have it save to something else
(using just a "*^TOwebmaster")
* ^TOwebmaster((@[^ ,]*\.)?webdreams\.com)?([, ].*)?$
^^^^^^^^^^^^^^
What is that for? I'm not too concerned about forgeries or somebody
trying to get around my filtering.
To be very specific I'm looking for a regular expression that specifies
webmaster@"anything in here"webdreams.com -- with the "Anything in here"
being optional.
Thanks,
-------------------------------------------------------------------------
| Brock Rozen | brozen(_at_)webdreams(_dot_)com |
http://www.webdreams.com/~brozen |
-------------------------------------------------------------------------