procmail
[Top] [All Lists]

Matching a host

1997-05-15 07:26:00
Hi,

I use the following to match anything within a domain name. Is this a good
way of doing it or does the code have problems?

WDHOST=(@|%|!)?(((.*)?\.)?(webdreams\.com))

I'm looking for something that will allow me to specify the top domain
(webdreams.com, for instance) and allow anything, including it, to match.

I then use it in the form of:

:0
* $ ^TOwebmaster$WDHOST
! brozen

Thanks for your help,


 ------------------------------------------------------------------------- 
 | Brock Rozen | brozen(_at_)webdreams(_dot_)com | 
http://www.webdreams.com/~brozen | 
 ------------------------------------------------------------------------- 


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