[NTL] (HOWTO) Surprisingly simple Procmail recipe
JoeHill
joehill-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org
Sat Jun 5 15:38:05 UTC 2004
On Sat, 5 Jun 2004 01:11:31 -0400
William Park disseminated the following:
> Minor correction:
>
> 2. :0
> * ^To:.*@yahoo.ca\>
> * ! ^To:.*\<opengeometry-FFYn/CNdgSA at public.gmane.org\>
> spam.to
>
> Similiar rule for Cc: headers. Each To: or Cc: header should be
> tested independently.
This has been one that has always bugged me. I have more than one address at my
domain, so could I do:
:0
* ^To:.-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org\> (do you need this trailing '>'?)
* ! ^To:.*\<joehill-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org\>
* ! ^To:.*\<other-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org\>
action
?
I notice from man procmailrc that there are flags that will tell a recipe to
'fire' only if the preceding fails (E) or succeeds (A). I wonder if that would
work better?
--
JoeHill RLU #282046 / www.orderinchaos.org
11:28:38 up 2 days, 21:50, 5 users, load average: 1.24, 1.41, 1.31
+++++++++++++++++++++++++++
"If Stephen Harper was prime minister, Canadian soldiers would be coming home
from Iraq in body bags." -- Keith Martin, Former Conservative Party Member
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list