This is a problem with 5.2.1 (Stable)
I have seen some exitcode changes in Changelog in some devel versions, but I
am not sure how they behave quite yet.
Quoting Mailing Lists <[EMAIL PROTECTED]>:
> Hy guys, I filter my messages through maildrop.
> The problem is that I want to bounce "no_such_user" messages back to
> sender using vdelivermal.
> So I put a line
> to "|/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
> in my maildrop filter script, but no message is bounced!
> VPOP="|/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"
> `test -d $VHOME/Maildir`
> if ( $RETURNCODE = 1 )
> to $VPOP
Try this "if block" instead:
`test -d $VHOME/Maildir`
if ( $RETURNCODE == 1 )
echo "Sorry, no mailbox here by that name. (#5.1.1)"
Hope this helps..