4 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] maildrop/postfix argv's
FromSent OnAttachments
mess-mateJan 7, 2007 11:29 am 
Thorsten HaudeJan 7, 2007 11:58 am 
mess-mateJan 8, 2007 6:11 am 
mess-mateJan 8, 2007 10:56 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] maildrop/postfix argv'sActions...
From:Thorsten Haude (list@thorstenhau.de)
Date:Jan 7, 2007 11:58:24 am
List:net.sourceforge.lists.courier-maildrop

Moin,

* mess-mate wrote (2007-01-07 20:30):

Maybe i looked not far enaough, but can't find any (with examples) tuto about the maildrop delivering configs.

man maildropex

So how can i configure maildrop like my procmail:

In my experience, very easy. It took me only a couple of minutes to translate my Procmail rules. I never looked back.

:0 #*^TO_d@lists.debian.org *^(From|Cc|To).*@lists.debian.org ${MAILDIR}.Debian/

Generally: if (/(From|Cc|To).*@lists.debian.org/) { to ${MAILDIR}.Debian/ }

#:0 #*^TO_d@lists.debian.org #${MAILDIR}.Debian/

:0 *^To_d@lists.debian.org ${MAILDIR}.Debian-testing/

:0 *^Sender.*@freebsd.org ${MAILDIR}.FreeBSD/

For mailing list, I use a database: gdbmopen("/home/yooden/.mutt/lists.db")

foreach /^(To|Cc): .*/ { foreach (getaddr($MATCH)) =~ /.+/ { listbox = gdbmfetch(tolower($MATCH)) if ($listbox ne "") { to $MAILDIR/ML/$listbox } } }

gdbmclose

Thorsten