[prev in list] [next in list] [prev in thread] [next in thread]
List: procmail
Subject: Re: sending msg with blank TO: to /dev/null
From: Richard Travett <Richard.Travett () cambridge ! simoco ! com>
Date: 2000-10-30 11:18:24
[Download RAW message or body]
pollywog asked:
> What procmail rule could I use to send messages containing nothing in the TO:
> header? It is something with "NULL" in it but I don't recall.
Try this which is based on a recipe I use:
:0
* ^To:
* !^To:.*[^ ]
/dev/null
However, I would suggest you ensure that it won't catch things you
want. I have at least one friend who emails things to lots of people
but Bcc's them to everyone, and he ends up sending a blank To: header,
so I have an exception before this rule to allow things from him
through properly.
HTH
Regards,
--
Richard Travett, Email: Richard.Travett@cambridge.simoco.com
May all your communications be free from electro-magnetic disturbances,
and your days be free from temporal distortions in the space time continuum
This email does not represent a formal communication from Simoco Europe.
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Control Centre.
_______________________________________________
procmail mailing list
procmail@lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic