5 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] /etc/maildroprc
FromSent OnAttachments
Pamela RockJul 11, 2006 11:09 am 
Pamela RockJul 17, 2006 6:58 am 
Mike HorwathJul 17, 2006 7:01 am 
Jay LeeJul 17, 2006 7:03 am 
moussJul 30, 2006 3:58 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] /etc/maildroprcActions...
From:Jay Lee (jl@pbu.edu)
Date:Jul 17, 2006 7:03:34 am
List:net.sourceforge.lists.courier-maildrop

Pamela Rock wrote:

Can anyone prove insigth into this, any help would be appreciated.

Thanks in advance,

I have setup maildrop and sendmail on a Red hat Enterprise 4 system. Maildrop works great. It processes mail as I'd expect.

I am however having problems setting up logging via /etc/maildroprc. At this time, that is my only requirement. I've tried many settings including the following. Please let me know what I need to do to get maildrop to log to /var/log/maildrop file.

FYI....

[root@mail-v1 log]# ls -l /var/log/maildrop -rw-r--r-- 1 root root 0 Jul 10 16:03 /var/log/maildrop

contents of /etc/maildroprc are

SHELL="/bin/bash" SENDMAIL="/usr/lib/sendmail" MAILDROP="/usr/local/bin/maildrop" TEST="/usr/bin/test -f"

MAILDIR="/var/mail" logfile "/var/log/maildrop"

# # Set date/time # TICKS=`date +%s` DATE=`date +%T` TIME=`date +%x`

# # Start logging # log "$TICKS : *** Maildrop filtering for $RECIPIENT $DATE $TIME" log "$TICKS : >>> Sender: $SENDER"

to "$MAILDIR"

As Mike said, permissions.... Add a line like:

`set > /tmp/maildrop-setting.txt`

See who $USER is set to and then:

chown user /var/log/maildrop

that should do it...

Jay