procmail
[Top] [All Lists]

Re: How to auto-process emails based with header?

2010-10-18 14:24:51
Hello Yue Wu,

Am 2010-10-17 14:59:26, hacktest Du folgendes herunter:
Thanks all for all good hints, I'm sorry I does not know much about
procmail, can someone please show me a working solution please?

MY POSTED CODE IS A WORKING SOLUTION SINCE MORE THEN 10 YEARS.

Since you are beginner, I have striped the code to a bare minimum to not
to confuse you.

What I want is, to let procmail auto-processes emails and category
them into different maildirs based with list_id that have it.

And what have I posted?

Sorry I'm not a lazy guy, just want procmail work then leave it there...

Do you have tried my code?  --  It is working for 206 Mailinglists where
I am subscribed.  To test it, put before the beginng of YOUR OWN RECIPES
following code:

# Make a copy of your messages for testing
:0c
{
  # In the QUOTES is a SPACE and a TAB
  ST="  "

  PUT_THE_PREVIOUSLY_POSTED_CODE_HERE
}

This will create automatically  a  ".Mailinglist.<listname>/"  directory
in MAILDIR format.  If you wan to have FLAT MAILBOX FILES, remove the  /
at the end of <listname>

Thanks, Greetings and nice Day/Evening
    Michelle Konzack

-- 
##################### Debian GNU/Linux Consultant ######################
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsystems(_at_)tdnet France EURL       itsystems(_at_)tdnet UG (limited 
liability)
Owner Michelle Konzack            Owner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz                 Kinzigstraße 17
67100 Strasbourg/France           77694 Kehl/Germany
Tel: +33-6-61925193 mobil         Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

<http://www.itsystems.tamay-dogan.net/>  <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/>         <http://www.can4linux.org/>

Jabber linux4michelle(_at_)jabber(_dot_)ccc(_dot_)de
ICQ    #328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/
____________________________________________________________
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