On Wed, Jul 14, 1999 at 10:10:08AM -0400, John R. Levine wrote:
> The answer's lurking in qmail-command.  An exit code of 0 means go on
> to the next line in .qmail.  An exit code of 100 means send a bounce
> message.  An exit code of 111 means stop and retry this later.  But an
> exit code of 99 means to stop processing the .qmail file.  
Thanks for pointing me the right man page! The problem
is that there are too many of them, and with too few "real life"
examples. The ones on the www.qmail.org page are ok, but some
more would be nice.

> >| if /usr/local/bin/vdeliver; then exit 99; else exit 0; fi
> >|if T="`./.findmail.pl`"; then forward "$T"; else bouncesaying "Sorry, no mailbox 
>here by that name (#5.1.1)."; fi
> The except program doesn't do what you want, since it won't exit 99.  But
> bouncesaying works for the final bounce.  I'd also put in a few more " "
> to make your script more spoof-resistant against hostile addresses.
Err, where should the " " be added ? Didn't saw anything about that in man 
bouncesaying.

Thanks a lot for your great support!
Olivier

Reply via email to