Am 2008-06-20 23:38:47, schrieb Samuel Thibault:
> Michelle Konzack, le Thu 19 Jun 2008 01:25:08 +0200, a écrit :
> > Question: Why do you use:
> > 
> > > :0
> > > * ^(List-Id|Mailing-List): \/[^<]*
> > > IN/list/$MATCH/
> > 
> > Since there is NO "List-Id:" in the header and "Mailing-List:" shows
> > 
> > > Mailing-List: Pour toute requete administrative, contactez [EMAIL 
> > > PROTECTED]; Liste geree par ezmlm
> > 
> > which will end in unexpected results.
> 
> Because what I want to catch a descriptive part, not the email part, and
> it happens that some other lists to which I'm subscribed use List-Id.

But since you have gotten the error:

----[ STDIN ]-----------------------------------------------------------
procmail: Skipped "toute requete administrative, contactez [EMAIL PROTECTED]; 
Liste geree par ezmlm/"
*** glibc detected *** procmail: double free or corruption (!prev): 0x0805cfe0 
***
------------------------------------------------------------------------

Procmail does not like the spaces in the PATH to  the  Mailfolder  since
there was NO "<" in the string, procmail took the whole line  to  create
the folder

IN/list/toute requete administrative, contactez [EMAIL PROTECTED]; Liste geree 
par ezmlm//

which I think was not what you wanted.  So what you can do is to replace
the <SPACES> by underlines with:

    :0
    * ^(List-Id|Mailing-List): \/[^<]*
    {
      STRG=`echo "${MATCH}" |tr ' ' '_'`
      :0
      IN/list/${STRG}/
    }

which is what I do since over 8 years now.

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 #####################
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)

Attachment: signature.pgp
Description: Digital signature

Reply via email to