1 message in net.sourceforge.lists.courier-maildrop[maildropl] Maildrop deferral problems
FromSent OnAttachments
Dallas EngelkenApr 2, 2002 11:24 am 
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:[maildropl] Maildrop deferral problemsActions...
From:Dallas Engelken (dall@peels.com)
Date:Apr 2, 2002 11:24:01 am
List:net.sourceforge.lists.courier-maildrop

Hello,

I am trying to figure out why mail that is piped through a maildrop filter is deferred when the mailbox is not present.

Here is a log of a message that is sent to an account that does not exist. .qmail-default contains | maildrop mailfilter

and the mailfilter is this..

-------------------------------- VPOP="| /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox" if (/^X-Spam-Flag: *YES/) { exception { include $VHOME/Maildir/.mailfilter } exception { to /var/vpopmail/.Spam/ } exception { to "$VPOP" } }

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

It results in defferals.... keeping the message in the queue instead of bouncing it.

@400000003ca9c6b612f439ec delivery 15635: deferral:

Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/maildrop:_error_writi ng_maildrop:_Unable_to_open_mailbox./

Now, here is a message that is sent again to a non-existent account... .qmail-default containts | /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox

@400000003ca9e4a32f4db014 delivery 235: failure: Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/

As you can see, it reports failure instead of deferral and the message is bounced accordingly.

Is there an exit code or something you have to put in your mailfilter so maildrop wont screw things up?

Thanks, Dallas