The man page for bouncesaying is rather misleading.
bouncesaying feeds each new mail message to program with
the given arguments. If program exits 0, bouncesaying
prints error and bounces the message.
This isn't true so far as I can tell. bouncesaying does not, ever,
actually bounce a message. All it does is exit with status 100 after
printing the error. This then causes qmail-local to bounce the
message. And halts further deliveries.
This is a very significant distinction, because it means that the
following .qmail file doesn't do what the man page says it does:
| bouncesaying "This address no longer accepts mail"
&[EMAIL PROTECTED]
As described by the man page, this should send a bounce message, and
then deliver a copy via the logem alias. But it doesn't; it bounces
it and stops delivering, so nothing is ever delivered via the logem
alias.
Obvsiouly the workaround is to forward to another alias that does the
bounce; multiple forwards will duplicate the message. And that works
fine.
But this cost me a couple of hours hacking last night and today until
I finally figured out what was going on.
Dan, please update the bouncesaying manpage somehow so it correctly
describes the use of the program!
--
Photos: http://dd-b.lighthunters.net/ Minicon: http://www.mnstf.org/minicon
Bookworms: http://ouroboros.demesne.com/ SF: http://www.dd-b.net/dd-b
David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]