5 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Rejecting mail
FromSent OnAttachments
David ChristianAug 8, 2002 10:51 am 
Sam VarshavchikAug 12, 2002 2:57 pm 
Tim KoenigAug 15, 2002 3:59 am 
Luc BrouardAug 15, 2002 12:37 pm 
Ben RosengartAug 15, 2002 2:20 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] Rejecting mailActions...
From:Tim Koenig (tk2@compuserve.de)
Date:Aug 15, 2002 3:59:40 am
List:net.sourceforge.lists.courier-maildrop

On Thu, Aug 08, 2002 at 01:51:11PM -0400, David Christian wrote:

I can't seem to get maildrop to reject mail, even when I exit with a exitcode. It only goes back to the deferred list. Am I doing this wrong?

I had/have the same problem. I'm using Postfix in combination with Maildrop as the local transport.

Both are using the exit-codes in <sysexits.h>. When Maildrop exits with EX_TEMPFAIL (this happens e.g. when the user given with -d is unknown), Postfix puts the offending mail into the "deferred" queue (RedHat Linux, other environments may show different behaviour).

I could not figure out how to tell Postfix to interpret Maildrop's EX_TEMPFAIL as EX_NOUSER, so, currently, I'm using an expensive (in terms of processing overhead per mail) shell-wrapper to address that, but Maildrop's advanced filtering capabilities in combination with the easy combination of virtual and system users makes up for that.

It is entirely possible that I screwed up my installation of Postfix and/or Maildrop, and that this approach is unnecessary. I didn't find a more decent solution, though.

- Tim