procmail
[Top] [All Lists]

Need help to filter bounces...

2001-11-13 11:26:14
I'm trying to filter a specific mail daemon message on 
my system. I'm using TMDA to decrease spam. TMDA sends
a message, to give "real" people the opportunity to 
respond if they want me to receive their message -- but
false addresses bounce.

I would like to filter them to a special folder, and
then probably to /dev/null.

Here is my first attempt which doesn't seem to be working.

:0
* ^From: MAILER-DAEMON(_at_)amr(_dot_)boo-bear(_dot_)com
* ^Subject: failure notice
{
 :0
 * ^Subject: Please confirm your message
 | $FORMAIL -I "Subject:[TMDA Bounce] " >> ${MAILDIR}/bounces
}

Here is full sample bounce message that I want to filter:

From MAILER-DAEMON(_at_)amr(_dot_)boo-bear(_dot_)com  Tue Nov 13 12:16:00 2001
Return-Path: <#(_at_)[]>
Delivered-To: errol(_at_)amr(_dot_)boo-bear(_dot_)com
Received: (qmail 20157 invoked by alias); 13 Nov 2001 17:15:48 -0000
Delivered-To: postmaster(_at_)amr(_dot_)boo-bear(_dot_)com
Received: (qmail 20152 invoked for bounce); 13 Nov 2001 17:15:48 -0000
Date: 13 Nov 2001 17:15:48 -0000
From: MAILER-DAEMON(_at_)amr(_dot_)boo-bear(_dot_)com
To: postmaster(_at_)amr(_dot_)boo-bear(_dot_)com
Subject: failure notice
X-SpamBouncer: 1.5 beta (8/24/01)
X-SBNote: MAILER-DAEMON
X-SBNote: FROM_DAEMON/Listserv
X-SBRule: Pattern Match (Numeric or Obscured URL) (Score: 2100)
X-SBRule: Pattern Match (Disclaimer) (Score: 1700)
X-SBRule: Pattern Match (HTML) (Score: 8000)
X-SBRule: Pattern Match (Other Patterns) (Score: 1700)
X-SBPass: No Freemail Filtering
X-SBClass: Blocked
Content-Length: 6972
Lines: 192

Hi. This is the qmail-send program at amr.boo-bear.com.
I tried to deliver a bounce message to this address, but the bounce bounced!

<cnrh9r7mpdr(_at_)hotmail(_dot_)com>:
64.4.49.7 does not like recipient.
Remote host said: 550 Requested action not taken:user account inactive
Giving up on 64.4.49.7.

--- Below this line is the original bounce.

Return-Path: <>
Received: (qmail 19775 invoked by uid 501); 13 Nov 2001 16:49:05 -0000
Date: 13 Nov 2001 16:49:05 -0000
Message-ID: 
<20011113164905(_dot_)19773(_dot_)qmail(_at_)amr(_dot_)boo-bear(_dot_)com>
From: errol(_at_)amr(_dot_)homeip(_dot_)net
Subject: Please confirm your message
Reply-To: 
errol-confirm-accept(_dot_)1005670145(_dot_)19771(_dot_)79f354(_at_)amr(_dot_)homeip(_dot_)net
To: cnrh9r7mpdr(_at_)hotmail(_dot_)com
Precedence: bulk
X-Delivery-Agent: TMDA v0.40/Python 2.1 (linux-i386)

Your e-mail message with the subject of "[spam score 10.00/10.0 -pobox] New 
Pill Adds 1 to 3 inchs to penis-Guarenteed"
is being held because your address was not recognized.

To release your message for delivery, please send an empty message
to the following address, or use your mailer's "Reply" feature.

   
errol-confirm-accept(_dot_)1005670145(_dot_)19771(_dot_)79f354(_at_)amr(_dot_)homeip(_dot_)net

This confirmation verifies that your message is legitimate and not
junk-mail. If you do not reply your email may not be received
by the intended user.

[ This notice was generated by TMDA v0.40 <http://tmda.sf.net/>,
  an automated junk-mail reduction system. ]

--- Enclosed is a copy of your message.

Received: (qmail 19765 invoked from network); 13 Nov 2001 16:48:52 -0000
Received: from unknown (HELO dolly1.pobox.com) (207.106.49.22)
  by 0 with SMTP; 13 Nov 2001 16:48:52 -0000
Received: from dolly1.pobox.com (localhost.localdomain [127.0.0.1])
        by dolly1.pobox.com (Postfix) with ESMTP id ED38C2BF53
        for <errol(_at_)amr(_dot_)boo-bear(_dot_)com>; Tue, 13 Nov 2001 
11:48:53 -0500 (EST)
Delivered-To: errol(_at_)pobox(_dot_)com
Received: from qube.iffice.co.kr (unknown [211.32.126.133])
        by dolly1.pobox.com (Postfix) with ESMTP
        id C26692BF51; Tue, 13 Nov 2001 11:48:07 -0500 (EST)
Received: from 12.64.230.189 (slip-12-64-230-189.mis.prserv.net [12.64.230.189])
        by qube.iffice.co.kr (8.9.2/8.9.2) with SMTP id BAA02928;
        Wed, 14 Nov 2001 01:56:37 +0900 (JST)
From: cnrh9r7mpdr(_at_)hotmail(_dot_)com
Message-Id: 
<200111131656(_dot_)BAA02928(_at_)qube(_dot_)iffice(_dot_)co(_dot_)kr>
To: <cnrh9r7mpdr(_at_)hotmail(_dot_)com>
Subject: [spam score 10.00/10.0 -pobox] New Pill Adds 1 to 3 inchs to 
penis-Guarenteed
Date: Wed, 14 Nov 2001 01:52:53 -0400
MIME-Version: 1.0
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
X-MSMail-Priority: Normal
Errors-To: xwc32otzxtd(_at_)kki(_dot_)com(_dot_)pl
X-Mailer: Microsoft Outlook Express 5.50.4133.2400

<html>


<body bgcolor=3D"#336699">
<table border=3D"2" width=3D"100%" height=3D"418" bgcolor=3D"#FFFFFF" bord=
ercolor=3D"#5977A4">
  <tr>
    <td width=3D"100%" height=3D"38" bgcolor=3D"#7897BA">
      <p align=3D"center"><b><font face=3D"Arial" color=3D"#FFFFFF" SIZE=3D=
"5">INCREASE 
      YOUR PENIS SIZE BY 1&quot; ...2&quot; ...3&quot; ...<br>
      OR MORE IN JUST A FEW SHORT WEEKS!</font></b></td>
</tr>
<tr>
  <td width=3D"100%">
    <p align=3D"center">&nbsp;</p>
    <p><font face=3D"Arial">Former Viagra pharmacist has now created a 
    revolutionary herbal pill that is guaranteed to increase your penis si=
ze by 
    1&quot; ...2&quot; ...3&quot; ... or more in just a few short weeks!</=
font></p>
    <p align=3D"center"><font face=3D"Arial">This amazing new product work=
s by simply taking 2 
    pills every day... it will make your penis grow in both length and thi=
ckness 
    by a whopping 26%, guaranteed!<br>
    <br>
    </font>
<b>
<a href=3D"http://66.163.40.6/longitude/";>
    <font lang=3D"0" face=3D"Arial" color=3D"#0000ff" family=3D"SANSSERIF"=
 size=3D"5">CLICK HERE
FOR DETAILS</font></a></b><br>
&nbsp;</p>
    </td>
</tr>
<tr>
  <td width=3D"100%">
    <br>
    <font face=3D"Arial">Simply try these Amazing pills for 30-days and if=
 after 
    30-days you do not experience a minimum of 1&quot; gain in length, sim=
ply send 
    the empty bottle back to us and we'll refund you 100% of the cost incl=
uding 
    shipping. With this guarantee, our product must work for you... or we'=
ll 
    lose money on every sale!</font><p align=3D"center"><font lang=3D"0" f=
ace=3D"Arial" color=3D"#FFFFFF" size=3D"3" FAMILY=3D"SANSSERIF"><b><span s=
tyle=3D"background-color: #7897BA">This 
    amazing new product works by simply<br>
    taking&nbsp; 2 pills every day</span><br>
&nbsp;</b></td>
</tr>
<tr>
  <td width=3D"100%" height=3D"14" align=3D"center">
<b>
<a href=3D"http://66.163.40.6/longitude/";>
<font lang=3D"0" face=3D"Arial" color=3D"#0000ff" family=3D"SANSSERIF" siz=
e=3D"5">CLICK HERE
FOR DETAILS</font></a></b></td>
</tr>

<tr>
  <td width=3D"100%" height=3D"16">
    <p align=3D"center"><b>
    <br>
    <span DEFANGED_STYLE=3D"background-color: #7897BA"><font lang=3D"0" 
face=3D"Ari=
al" color=3D"#FFFFFF" size=3D"3" FAMILY=3D"SANSSERIF">OUR UNCONDITIONAL GU=
ARANTEE:</font></span></b><font lang=3D"0" face=3D"Arial" color=3D"#000000=
" size=3D"2" FAMILY=3D"SANSSERIF"><br>
    </font><font color=3D"#000000" face=3D"Arial, Helvetica, sans-serif" s=
ize=3D"3">
    <br>
    Simply try it for 30-days and if after 30-days you do not experience a=
 
    minimum of 1&quot; gain in length, simply send the empty bottle back t=
o us and 
    we'll refund you 100% of the cost including shipping. With our&nbsp; g=
uarantee,
    <b>our product must work for you... or we'll lose money on every sale<=
/b>!<br>
&nbsp;</font></td>
</tr>
<tr>
  <td width=3D"100%" height=3D"16">
    <p align=3D"center"><b><font lang=3D"0" face=3D"Arial" color=3D"#ff000=
0" size=3D"2" FAMILY=3D"SANSSERIF">LIMITED
TIME OFFER<br>
    </font><font lang=3D"0" face=3D"Arial" color=3D"#ff0000" family=3D"SAN=
SSERIF" size=3D"5"> ORDER TODAY!</font></b><font lang=3D"0" face=3D"Arial"=
 color=3D"#000000" size=3D"2" FAMILY=3D"SANSSERIF"><br>
    </font><b>
    <br>
    <font lang=3D"0" face=3D"Arial" color=3D"#FFFFFF" size=3D"3" FAMILY=3D=
"SANSSERIF"><span DEFANGED_STYLE=3D"background-color: #7897BA">ORDER
    DIRECT<br>
    </span></font></b><font face=3D"Arial">626-440-1747 M to F 8:00am to 6=
:00pm 
    Pacific Standard Time</font><p align=3D"center"><font face=3D"Arial" s=
ize=3D"4"><b>
    <a href=3D"http://66.163.40.6/longitude/";>CLICK
HERE TO ORDER ONLINE</a></b></font><br>
&nbsp;</td>
</tr>
<tr>
  <td width=3D"100%" height=3D"16">
    <font face=3D"Times New Roman" SIZE=3D"1">RESULTS MAY VARY. </font>
    <font size=3D"1">


    <font face=3D"Times New Roman">NOTE: This email was se</font>nt to you=
 because your email is part of a targeted opt-in list. If you do not wish =
to receive further mailings, please click below and enter your email at th=
e bottom of the page. You may then rest-assured that you will never receiv=
e another email from us again. <a href=3D"http://www.removeyou.com";>UNSUBS=
CRIBE ME PLEASE </a> #022154</font> 
  </td>
</tr>
</table>
</body>

</html>





-- 
Errol Casey
(GPG Key: Send email with Subject: send gpg )
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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