Hi,
The qmail-ldap patch contains support for a control/custombouncetext.
$ cat custombouncetext
This is a test, your message bounced.
SSH Communications Security
This will produce bounces like so:
---------
Hi. This is the qmail-send program at ssh.com.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
This is a test, your message bounced.
SSH Communications Security
<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)
-----------
The patched file is qmail-send.c. I suppose you could pull the code from
there, even if you don't use the rest of the ldap stuff.
Regards,
Mike