procmail
[Top] [All Lists]

Re: How do I bounce this (tricky)

1996-11-02 03:50:20
How do I bounce mail from this user: "(_dot_)(_at_)interramp(_dot_)com"?

 From (_dot_)(_at_)interramp(_dot_)com  Tue Aug 20 18:18:43 1996
X-POP3-Rcpt: luomat(_at_)nerc1
Received: from smtp2.interramp.com (smtp2.interramp.com  
[38.8.200.2]) by nerc1.nerc.com (8.7.5/8.6.9) with SMTP id SAA03338  
for <luomat(_at_)nerc(_dot_)com>; Tue, 20 Aug 1996 18:05:52 -0400
Received: from [38.11.195.92] by smtp2.interramp.com  
(8.6.12/SMI-4.1.3-PSI-irsmtp) id QAA24516; Tue, 20 Aug 1996 16:27:25  
-0400
X-Sender: CALL NOW 
1-800-725-1912(_dot_)(_dot_)(_dot_)(_at_)pop3(_dot_)interramp(_dot_)com 
(Unverified)
Message-Id: <v01520d04ae3f58d7863d(_at_)[38(_dot_)11(_dot_)195(_dot_)6]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 20 Aug 1996 14:37:55 +0130
To: (Recipient list suppressed)
From: (_dot_)(_at_)interramp(_dot_)com (CALL NOW FOR DETAILS 1-800-725-1912)
Subject: IQ DIRECT Personel 800 Numbers ... Ridiculous Low Price!

I don't want to bounce all mail from interramp.com, just from  
anyone who isn't saying who they are:

Will this do it?  I don't want to bounce messages that aren't from  
exactly this user:

I would do it (the EGREP condition) like this:

        * ^From(_dot_)*\(_dot_)(_at_)interramp\(_dot_)com

This would catch any user that has '(_dot_)(_at_)interramp(_dot_)com' in the 
'From:' or 
'From' headers.  This would also catch someone like 
'spammer(_dot_)(_at_)interramp(_dot_)com', but I wouldn't worry about it.  I've 
never seen 
a legitimate email address with a '.' before the '@' sign.

However, to exactly catch only that user as in the headers above, try it 
this way:

        * ^From:\ \(_dot_)(_at_)interramp\(_dot_)com

Lates!
----------------------------------
Tim <bodysurf(_at_)netcom(_dot_)com>
"Finger" for PGP v2.6.2 Public Key

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