18 messages in net.sourceforge.lists.courier-maildrop[maildropl] replacing procmail with m...
FromSent OnAttachments
David RelsonJun 21, 2004 5:56 pm 
PollywogJun 21, 2004 6:20 pm 
Sam VarshavchikJun 21, 2004 7:01 pm 
PollywogJun 21, 2004 7:31 pm 
David RelsonJun 21, 2004 8:18 pm 
Robin Lynn FrankJun 21, 2004 9:05 pm 
Ron JohnsonJun 22, 2004 1:33 am 
Matthias AndreeJun 22, 2004 3:26 am 
David RelsonJun 22, 2004 5:04 am 
Tony EarnshawJun 22, 2004 5:08 am 
David RelsonJun 22, 2004 5:19 am 
Devin RubiaJun 22, 2004 7:34 am 
Ron JohnsonJun 22, 2004 8:15 am 
Robin Lynn FrankJun 22, 2004 8:25 am 
Matthias AndreeJun 22, 2004 8:29 am 
Nick SimicichJun 22, 2004 11:32 am 
David RelsonJun 22, 2004 2:27 pm 
Robin Lynn FrankJun 22, 2004 4:07 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] replacing procmail with maildropActions...
From:David Relson (rel@osagesoftware.com)
Date:Jun 21, 2004 5:56:41 pm
List:net.sourceforge.lists.courier-maildrop

Hi,

I've been running postfix+procmail on my mail server. Since a friend has recommended using maildrop, I thought I'd give it a try. Naturally, I ran into a snag almost immediately.

With procmail, /etc/procmail is my system wide configuration file. To keep a record I turn on VERBOSE and have LOGFILE=/var/log/procmail.

Naturally I would like to do the same thing with maildrop.

As I'm running Mandrake 10.0, I'm using the mandrake rpms which makes /etc/maildrop/maildroprc the system wide configuration file. I've converted all my procmail rules to maildrop rules and included

logfile "/var/log/maildrop.log"

for logging. Unfortunately this results in an error:

maildrop: Unable to create log file.

Here's the full output of a simple command line test:

[root@nic tmp]# maildrop -V8 -d relson < msg.test maildrop: Changing to /home/relson Message start at 60 bytes, envelope sender=us@example.com /etc/maildrop/maildroprc(1): Opening logfile /var/log/maildrop.log maildrop: Unable to create log file.

I've tried a variety of owner, group and permission combinations:

chown 0:mail /var/log/maildrop.log chmod 4711 /usr/bin/maildrop chmod 6711 /usr/bin/maildrop

but it hasn't helped.

chmod 6711 /usr/bin/maildrop

My questions are:

Can one use maildrop as I wish?

Are special permissions needed for the mailbox executable, /var/log, and/or /var/log/maildrop.log?

Thanks in advance,

David