Hi.
Since about 3 days i try to get maildrop filtering mails. My config
consits of postfix, courier, sasl and ldap on a Debian 4.0 and maildrop
is used as mda.
My problem: maildroprc nor $HOME/.mailfilter is recognized on delivery.
Here are my maildrop-related configs:
`postconf | grep maildrop`:
mailbox_command = /usr/bin/maildrop
virtual_transport = maildrop
master.cf:
maildrop unix - n n - - pipe
flags=ODRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} ${user}
maildroprc:
# our shell
SHELL="/bin/bash"
# the default path
DEFAULT="$HOME/Maildir"
# log file
logfile "/var/log/maildrop"
VERBOSE="5"
# This get's added above each entry in the log file.
# It's just a visual aid.
log "---------------------------"
`echo "maildroprc called." > /tmp/maildrop.log`
# include user rules - if available
USERFILTER="/etc/courier/userfilters/$1"
if (`test -d "$USERFILTER"`)
{
`echo "Userfile $USERFILTER exists and will be included" >>
/tmp/maildrop.log`
include "$USERFILTER"
}
else
{
`echo "Userfile "USERFILTER doesn't exists!" >> /tmp/maildrop.log"`
}
Could anybody help me?
Greets
Holger
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users