4 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Maildrop and Postfix
FromSent OnAttachments
Thomas SmithOct 24, 2003 9:00 pm 
Matthias AndreeOct 25, 2003 4:11 am 
John LockeOct 25, 2003 11:40 am 
Thomas SmithOct 25, 2003 12:42 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:Re: [maildropl] Maildrop and PostfixActions...
From:Matthias Andree (ma+c@dt.e-technik.uni-dortmund.de)
Date:Oct 25, 2003 4:11:43 am
List:net.sourceforge.lists.courier-maildrop

Thomas Smith <to@openadventures.org> writes:

I've setup Postfix with maildrop support in the main.cf file with the following settings:

mailbox_command = /usr/local/bin/maildrop local_destination_concurrency_limit = 1

The filter is working fine for $HOME/.mailfilter (I tested it with the command /logfile ".mailfilter.log"/). However, when I setup /etc/maildroprc with the command /logfile "/var/log/maildrop"/ nothing gets logged.

I wonder if this can work at all. maildrop, when started like this, runs with the permissions of the user who is receiving the mail, Postfix' local(8) mailer is careful to run the process without privileges. Can a regular (non-root!) user write to /var/log/maildrop?

Try "echo test >>/var/log/maildrop" to find out. Directory execute permission for all users for /var and /var/log needs to be granted.

Encrypt your mail: my GnuPG key ID is 0x052E7D95