hi, i'm trying to setup blacklists in courier and added the lines

RBL='-block=blackholes.mail-abuse.org,BLOCK,"550 Rejected - see
http://www.mail-abuse.org/rbl/";'
RSS='-block=relays.mail-abuse.org,BLOCK,"550 Open spam relay - see
http://work-rss.mail-abuse.org/rss/";'
BLACKLISTS="$RSS $RBL"

to my etc/esmptd file, but messages from blocked addresses are still
delivered. i figured that maybe the reason is that i am using a non standard
delivery instruction in etc/courierd:

DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop"

and for my virus scanning needs my etc/maildroprc reads as follows:

import SENDER
import RECIPIENT
import HOME
if ($SENDER ne "")
{
        FROM=$SENDER
}
else
{
        FROM="unknown"
}
xfilter "/usr/sbin/amavis $FROM $RECIPIENT"
LS='ls ${HOME}/.mailfilter'
if ($LS eq "" )
{
        to "./Maildir/."
}

i thought, the blacklists are checked by maildrop in embedded mode before
anything else is done. or is the error not at all connected? what am i doing
wrong? do i have to import BLOCK in my etc/maildroprc and do something to
the mail? advise, anybody?

alex



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to