2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] integration with post...
FromSent OnAttachments
Tomas MacekNov 9, 2006 6:43 am 
Sam VarshavchikNov 9, 2006 3:19 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] integration with postfix questionsActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Nov 9, 2006 3:19:11 pm
List:net.sourceforge.lists.courier-maildrop

Tomas Macek writes:

Hi, I'm using maildrop 2.0.2 with postfix. In postfix main.cf and master.cf I have this settings:

virtual_transport = maildrop maildrop_destination_recipient_limit = 1

maildrop unix - n n - - pipe flags=R user=mail argv=/usr/lib/courier/bin/maildrop.authlib -V 10 -d ${user}@${nexthop} ${extension} ${recipient} ${user} ${nexthop}

Work fine for me with some exceptions. The problem is, that if the user is over quota, maildrop only deferres the mail, and I want to bounce the mail. How can I do it?

The second problem is in my maildroprc file. I have this config:

------------------------ SHELL="/bin/bash" EXTENSION=$1

PATH_BIN="/usr/lib/courier/bin"

# # Logfile destination # After your satisifed that this is working properly, comment out all # the lines that start with "log" # logfile "/var/log/maildrop.log" log "ext.=$EXTENSION, 2=$2, 3=$3, HOME=$HOME"

if ( $EXTENSION eq 'spam' ) { `$PATH_BIN/maildirmake++ -p -f SPAM $HOME` log "MATCH" exception { to .SPAM/ } }

if ( $EXTENSION eq 'virus' ) { `$PATH_BIN/maildirmake++ -p -f VIRY $HOME` log "MATCH" exception { to .VIRY/ } }

to $HOME

------------------------

Please, ignore the maildirmake++ line, it works fine, my maildirmake++ is patched. My question about that file:

1) How can I bounce the messages with "user unknown" when the EXTENSION is not 'spam' nor 'virus'. I'd like to support only these 2 extensions, rest I want to bounce

if ($EXTENSION ne "spam" && $EXTENSION ne "virus")

But then, I won't be able to give you advice after you end up getting blacklisted as abusive backscatter bounce source.