procmail
[Top] [All Lists]

bouncing spam from forwarded message with procmail

1997-07-17 20:41:00
POSTED TO USENET GROUP(S):  comp.mail.sendmail



I forward mail from my ISP to my machine via procmail:

:0
* !^X-Forwarded: yes
{
       :0c:
       backups-forwarded

        :0
        * ^From *\/[^ ].*
        | (formail -I "X-Forwarded: yes"  -I"X-Original-From: $MATCH") |\
          $SENDMAIL -oi luomat(_at_)$MYHOST

}


Now: if I config sendmail on MY machine to reject mail from certain SPAM 
domains, will it check the 'From:' line or the 'From ' line?  Can I tell it 
to check other lines for spam domains (such as the Message-ID line or other 
X-header lines?  If it checks the 'From ' line all the messages will appear 
to be coming from me @ my isp account, which I do not want.

Thanks for any help

TjL


ps -- Hebrew started as of 2 July, and ends on 22 August, so
please understand if responses are slow.  I am taking a 2
semester class in 8 weeks for 6 credits

-- 
TjL <luomat(_at_)peak(_dot_)org>  
f ` cn rd ths ` my hv lrnd hbrw

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