PDA

View Full Version : Sending multiple email address to dev/null ?



firebirdfan
06-07-2004, 08:31 PM
I know :0: * ^TO_mike@abc.com /dev/null in the procmail file sends only that address to null but , what if I have 3 to 4 more recepients on the same domain ?

Ooops just tried the mail still comes through.. ?

How do i put it ?
And finally how do I check to see how many emails have been sent to null ?

Thanks

dpfaigin
06-08-2004, 08:20 AM
Did you try:

:0:
* ^TO (mike|joe|bob)\@abc\.com
/dev/null

Daniel

jim
06-08-2004, 03:07 PM
Rather than repeatedly edit that procmail file I have one email/user account named deadletter which I send to nul in procmail.

After that I simply create a alias for the address I want rid of and forward it to deadletter.

firebirdfan
06-09-2004, 01:01 AM
Thanks all for the tips, I'll try it. Shouldn't be a problem. :)