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