2 messages in net.sourceforge.lists.courier-maildrop[maildropl] maildrop/postfix: How to ...
FromSent OnAttachments
Florian LindnerApr 12, 2002 2:25 am 
JeffApr 12, 2002 2:18 pm 
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:[maildropl] maildrop/postfix: How to pass $extension?Actions...
From:Florian Lindner (Flor@xgm.de)
Date:Apr 12, 2002 2:25:54 am
List:net.sourceforge.lists.courier-maildrop

Hello,

I'm using postfix with maildrop as the MDA. I try to forward mails to maildrop using the mailbox_command = /usr/local/bin/maildrop "$extension" in the /etc/postfix/main.cf. The problem is that maildrop is considering $extension to be the .mailfilter file, but it should be some args to pass to the .mailfilter. If I use mailbox_command = /usr/local/bin/maildrop "$home/.mailfilter" "$extension" it works for all users which have a $HOME/.mailfilter but it says "mailfilter not found" for those who don't have.

maildrop [option...] [filename] [arg...]

How can I only pass the second parameter (arg) and omit the first one (filename). Or any other solution how to a) pass $extension as arg and b) make maildrop deliver to the standard mailbox if there is no .mailfiler. Thank you very much! Florian