procmail
[Top] [All Lists]

I do not see where the error is... :-/

2009-01-05 18:16:34
Hello,

In one of my new procmail recipes I get this:

----[ '~/log/procmail/2009-01-05' ]-------------------------------------

procmail: [20338] Tue Jan  6 00:01:06 2009
procmail: Assigning 
"TDTP_LIST_IDS=(listmaster|owner|bounces|request)@(lists.|)tamay-dogan.net"
procmail: Assigning "TDTP_FQDN_SRV=lists.tamay-dogan.net"
procmail: Assigning "INCLUDERC=/usr/share/tdtools-procmail/MY_lists"
procmail: No match on 
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)((listmaster|owner|boun
procmail: Assigning "VERBOSE=off"

######################  Tue, 06 Jan 2009 00:01:07 +0100  ######################
From:        
de(_dot_)comp(_dot_)os(_dot_)xxxxxxxxxx(_dot_)hardware-owner(_at_)lists(_dot_)tamay-dogan(_dot_)net
To:          
de(_dot_)comp(_dot_)os(_dot_)xxxxxxxxxx(_dot_)hardware-owner(_at_)lists(_dot_)tamay-dogan(_dot_)net
Envelope-To: listxxxxxx(_at_)tamay-dogan(_dot_)net
Size:        2797 Bytes
Date:        Mon, 05 Jan 2009 20:23:24 +0100
===============================================================================
( none )    TOOL_tdmailserialnumber: Assigned
(8723640)   TOOL_nonet             : No network available. [Disabled 553 sec]
(8723640)   FLT_whitelist          : Pass [FLT_whitelist.DebianStaff]
(8723640)   FLT_whitelist          : Pass [FLT_whitelist.Global]
(8723640)   FLT_blacklist          : Pass [FLT_blacklist.Global]
(8723640)   FLT_anzeigen           : Entered
(8723640)   TOOL_tdmailcopy        : Entered
(8723640)   Peoples                : Entered
From mailman-bounces(_at_)server4(_dot_)pinguin-hosting(_dot_)de  Tue Jan  6 
00:01:06 2009
 Subject: New subscription request to list de.comp.os.unix.linux.hardware from
  Folder: /home/michelle.konzack/Maildir/.ATTENTION/new/1231196466.203     2723

------------------------------------------------------------------------

This is a message coming from my mailinglist and  is  coming  to  me  as
listonwer.

The question is, WHY does it not match?

The scripts are:

----[ '~/.procmailrc' ]-------------------------------------------------
VERBOSE=on
TDTP_LIST_IDS="(listmaster|owner|bounces|request)@(lists.|)tamay-dogan.net"
TDTP_FQDN_SRV="lists.tamay-dogan.net"
INCLUDERC=${TDTP_INC}/MY_lists
VERBOSE=off
------------------------------------------------------------------------

and 

----[ '/usr/share/tdtools-procmail/MY_lists' ]--------------------------
:0
* $ ^TO_(${TDTP_LIST_IDS})
{
  INCLUDERC=${TDTP_INC}/INC_clear_tmp_vars

  TDTP_NAME=MY_lists

  INCLUDERC=${TDTP_INC}/INC_make_spamtag
  INCLUDERC=${TDTP_INC}/INC_make_left_recipe
  INCLUDERC=${TDTP_INC}/INC_check_wlist

  :0
  * ? test "${TDTP_SHOW_RECIPES}" = "true"
  { LOG="${SHOW_RECIPE}${TDTP_L10N_006}${NL}" }

  :0
  *   ? test -f ${TDTP_DIR}/${TDTP_NAME}.spamfilter
  * ! ? test -f ${USEWLIST} ; if [ $? -eq 0 ] ; then grep --ignore-case --regexp
  { INCLUDERC=${TDTP_DIR}/${TDTP_NAME}.spamfilter }

  :0fw
  |formail -I "X-TDMailClean:"

  #=====================================================================
  #  Get the Listname
  #=====================================================================

  :0
  * $ ^X-BeenThere:(_dot_)*[-a-zA-Z0-9]+(_at_)${TDTP_FQDN_SRV}
  *   ^X-BeenThere:.*\/[-a-zA-Z0-9]+
  { LIST_NAME=${MATCH} }

  #=====================================================================

  :0
  * ^(From|To):.*-(owner|listmaster)@
  .${TDTP_NAME}.${LIST_NAME}.Listmaster/

  #=====================================================================

  :0
  * ^(From|To):.*-bounces@
  .${TDTP_NAME}.${LIST_NAME}.Bounces/

  :0
  * ^(From|To):.*-(request|subscribe|unsubscribe)@
  .${TDTP_NAME}.${LIST_NAME}.Request/

  #=====================================================================
  #  Sort the List messages
  #=====================================================================

  :0
  * ^X-BeenThere:(_dot_)*(_at_)${TDTP_FQDN_SRV}
  .${TDTP_NAME}.${LIST_NAME}/

  #=====================================================================
  #=====================================================================

  :0
  .${TDTP_NAME}.Spam/
}
------------------------------------------------------------------------

and the E-Mail is:

----[ STDIN ]-----------------------------------------------------------
Return-Path: <mailman-bounces(_at_)server4(_dot_)pinguin-hosting(_dot_)de>
Delivered-To: listxxxxxx(_at_)tamay-dogan(_dot_)net
Received: from localhost (server4.pinguin-hosting.de [127.0.0.1])
        by server4.pinguin-hosting.de (Postfix) with SMTP id AAB8663935D
        for <listxxxxxx(_at_)tamay-dogan(_dot_)net>; Mon,  5 Jan 2009 20:23:48 
+0100 (CET)
Received: from server4.pinguin-hosting.de (server4.pinguin-hosting.de 
[127.0.0.1])
        by server4.pinguin-hosting.de (Postfix) with ESMTP id 9D6BC641D1D;
        Mon,  5 Jan 2009 20:23:41 +0100 (CET)
X-Original-To: 
de(_dot_)comp(_dot_)os(_dot_)xxxxxxxxxx(_dot_)hardware-owner(_at_)server4(_dot_)pinguin-hosting(_dot_)de
Delivered-To: 
de(_dot_)comp(_dot_)os(_dot_)xxxxxxxxxx(_dot_)hardware-owner(_at_)server4(_dot_)pinguin-hosting(_dot_)de
Received: from localhost (server4.pinguin-hosting.de [127.0.0.1])
        by server4.pinguin-hosting.de (Postfix) with SMTP id 22F056433BF
        for 
<de(_dot_)comp(_dot_)os(_dot_)xxxxxxxxxx(_dot_)hardware-owner(_at_)server4(_dot_)pinguin-hosting(_dot_)de>;
        Mon,  5 Jan 2009 20:23:38 +0100 (CET)
Received: from server4.pinguin-hosting.de (server4.pinguin-hosting.de
        [127.0.0.1])
        by server4.pinguin-hosting.de (Postfix) with ESMTP id E17A3641D1D
        for 
<de(_dot_)comp(_dot_)os(_dot_)xxxxxxxxxx(_dot_)hardware-owner(_at_)lists(_dot_)tamay-dogan(_dot_)net>;
        Mon,  5 Jan 2009 20:23:26 +0100 (CET)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Subject: New subscription request to list de.comp.os.unix.linux.hardware from  
x-elecxxxxxxxxx4michelle(_at_)tamay-dogan(_dot_)net
From: 
de(_dot_)comp(_dot_)os(_dot_)xxxxxxxxxx(_dot_)hardware-owner(_at_)lists(_dot_)tamay-dogan(_dot_)net
To: 
de(_dot_)comp(_dot_)os(_dot_)xxxxxxxxxx(_dot_)hardware-owner(_at_)lists(_dot_)tamay-dogan(_dot_)net
Message-ID: 
<mailman(_dot_)22(_dot_)1231183404(_dot_)3675(_dot_)de(_dot_)comp(_dot_)os(_dot_)xxxxxxxxxx(_dot_)hardware(_at_)lists(_dot_)tamay-dogan(_dot_)net>
Date: Mon, 05 Jan 2009 20:23:24 +0100
Precedence: bulk
X-BeenThere: 
de(_dot_)comp(_dot_)os(_dot_)xxxxxxxxxx(_dot_)hardware(_at_)lists(_dot_)tamay-dogan(_dot_)net
X-Mailman-Version: 2.1.9
List-Id: "Private NNTP&lt;
        ->ML Gateway" <de.comp.os.xxxxxxxxxx.hardware.lists.tamay-dogan.net>
X-List-Administrivia: yes
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Mon Jan  5 20:23:38 2009
X-DSPAM-Confidence: 1.0000
X-DSPAM-Probability: 0.0023
X-DSPAM-Signature: 49625e393301116953851
Sender: mailman-bounces(_at_)server4(_dot_)pinguin-hosting(_dot_)de
Errors-To: mailman-bounces(_at_)server4(_dot_)pinguin-hosting(_dot_)de
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Mon Jan  5 20:23:48 2009
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 49625e433301102840707
Envelope-to: listxxxxxx(_at_)tamay-dogan(_dot_)net
X-TDMailSerialnumber: 8723640
X-TDMailCount: true

Your authorization is required for a mailing list subscription request
approval:
------------------------------------------------------------------------


If I use

    * $ ^Envelope-To:.*(${TDTP_LIST_IDS})
instead of
    * $ ^TO_(${TDTP_LIST_IDS})

and ${TDTP_LIST_IDS} is

    <listxxxxxx(_at_)tamay-dogan(_dot_)net>

then it works. <grml>

Thanks, Greetings and nice Day/Evening
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/>               <http://www.can4linux.org/>
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/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>