procmail
[Top] [All Lists]

Autoresponder does not work...

2006-12-21 10:59:33
Hello *,

since my Mailbox was hit several times by several 100.000 spams, which
had filed up my Mailbox (2500 MByte) I want to auto resubscribe to the
Debian BTS (I do not want to subscribe and confirm manualy to 923
Packages currently).

I do this by checking regulary my subscriptions and if I am droped from
some of them I try to resubscribe...

The List with the subscriptions are autogenerated and sent through
courier-mta which is working fine.

The problem now is the CONFIRM message which come in as:

----8<--------------------------------------------------------------
Return-path: <bounces(_at_)packages(_dot_)qa(_dot_)debian(_dot_)org>
Delivery-date: Wed, 20 Dec 2006 18:03:27 +0100
Received: from [194.97.55.147] (helo=mx4.freenet.de)
        by mbox77.freenet.de with esmtpa (ID exim) (Exim 4.62 #12)
        id 1Gx4qk-0007ag-O8
        for linux4michelle(_at_)01019freenet(_dot_)de; Wed, 20 Dec 2006 
18:03:26 +0100
Received: from master.debian.org ([70.103.162.29]:47342)
        by mx4.freenet.de with esmtp (port 25) (Exim 4.62 #12)
        id 1Gx4qk-0007LX-F7
        for linux4michelle(_at_)freenet(_dot_)de; Wed, 20 Dec 2006 18:03:26 
+0100
Received: from qa by master.debian.org with local (Exim 4.50)
        id 1Gx4qi-00017j-Vb; Wed, 20 Dec 2006 17:03:25 +0000
From: Debian Package Tracking System <pts(_at_)qa(_dot_)debian(_dot_)org>
To: linux4michelle(_at_)freenet(_dot_)de
Subject: CONFIRM 94230136fa0f21fccb7957fcd304b1c4
Message-Id: <E1Gx4qi-00017j-Vb(_at_)master(_dot_)debian(_dot_)org>
Date: Wed, 20 Dec 2006 17:03:24 +0000
Delivered-To: linux4michelle(_at_)freenet(_dot_)de
Envelope-to: linux4michelle(_at_)freenet(_dot_)de
X-purgate-ID: 149285::061220180326-72022930-584F8ED4
Delivered-To: linux4michelle(_at_)01019freenet(_dot_)de
X-TDMailSerialnumber: 7312619
X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on 
        samba3.private.tamay-dogan.net
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham 
        version=3.0.3

Hello,

you asked to be subscribed to the "mailing list"[1] for the Debian
source package called tdtitlebars. To complete this process, you
have to reply to this mail by including this command :
CONFIRM 94230136fa0f21fccb7957fcd304b1c4

On any modern mailer, you just have to hit reply and send the mail.

If you don't understand why you got this mail, please ignore it,
you won't be subscribed to anything unless you confirm it.

If you have any problem with this service, please contact
owner(_at_)packages(_dot_)qa(_dot_)debian(_dot_)org(_dot_)

Thanks,

[1] This list receives all the bug reports (and the corresponding logs)
    for the package "tdtitlebars" that are sent to the Debian
    Bug Tracking System.
    http://packages.qa.debian.org/tdtitlebars
----8<--------------------------------------------------------------

and it should be filtered with:

----8<--------------------------------------------------------------
:0 hc
* ^Envelope-to:(_dot_)*linux4michelle(_at_)freenet\(_dot_)de
* ^To:(_dot_)*linux4michelle(_at_)freenet\(_dot_)de
* ^From:(_dot_)*pts(_at_)qa\(_dot_)debian\(_dot_)org
* ! ^X-PTS-Loop:(_dot_)*linux4michelle(_at_)freenet\(_dot_)de
* ^Subject:.*CONFIRM
| (formail -r -t -I "From: linux4michelle(_at_)freenet(_dot_)de" \
           -I "Precedence: junk" \
           -A "X-PTS-Loop: linux4michelle(_at_)freenet(_dot_)de" ; \
           echo "# Subscription confirmed.") |sendmail -t
----8<--------------------------------------------------------------

but the resulting message (taking from the courier-spool) is:

----8<--------------------------------------------------------------
Received: from localhost (localhost [127.0.0.1])
  (uid 1000)
  by samba3.private with local; Thu, 21 Dec 2006 00:16:38 +0100
  id 00018ED4.4589C456.000042D2
To: bounces(_at_)packages(_dot_)qa(_dot_)debian(_dot_)org
Subject: Re: CONFIRM 94230136fa0f21fccb7957fcd304b1c4
References: <E1Gx4qi-00017j-Vb(_at_)master(_dot_)debian(_dot_)org>
In-Reply-To: <E1Gx4qi-00017j-Vb(_at_)master(_dot_)debian(_dot_)org>
X-PTS-Loop: linux4michelle(_at_)freenet(_dot_)de
From: linux4michelle(_at_)freenet(_dot_)de
Precedence: junk
Message-ID: <courier(_dot_)4589C456(_dot_)000042D2(_at_)samba3(_dot_)private>
Date: Thu, 21 Dec 2006 00:16:38 +0100

# Subscription confirmed.
----8<--------------------------------------------------------------

Which will never arrive its right destination...  because formail
take the "Return-Path:" and not the "From:".

What must I change to get it right please?

Greetings
    Michelle Konzack


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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