procmail
[Top] [All Lists]

catching domain or domain and hostname

1998-03-19 16:12:19

Say I get email from people @work.com and @hostname.work.com (where  
'hostname' can be any of a number of things).

Is this a proper regex to catch both any hostname and without any hostname?

* ^From:.*@(.*\.)?work\.com

I _don't_ want to catch, for example, @fromwork.com... should I use \<work\>  ??


thanks

TjL

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