procmail
[Top] [All Lists]

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

2010-10-17 01:59:47
On Sat, 16 Oct 2010 22:34:08 +0800, Michelle Konzack <linux4michelle(_at_)tamay-dogan(_dot_)net> wrote:

Hello Yue Wu,

Am 2010-10-16 22:20:22, hacktest Du folgendes herunter:
Hello list,

Say I have emails that contain header:

List-ID: <ID>

How to let procmail auto-process all emails that have it into
maildir ml-ID/ ?

Maybe something like:  (a little bit striped down)

---[ '/usr/lib/tdtools-procmail/MLAILINGLISTS' ]------------------------
<snip>

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?

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

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

--
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China
____________________________________________________________
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