On Fri, May 03, 2002 at 03:00:00PM +0300, Mike Jackson wrote:
> I have mentioned three times about qmail-ldap not being in
> compliance with the qmail bounce message specification:
>
> http://cr.yp.to/proto/qsbmf.txt
>
> and it still has not been fixed. Sigh. I would really love to start
> using ~control/custombouncetext but it is broken.
someone might want to test this. I haven't yet.
--- qmail-send.c.orig2 Fri May 3 14:23:35 2002
+++ qmail-send.c Fri May 3 14:26:09 2002
@@ -715,17 +715,18 @@
qmail_puts(&qqt,*sender.s ? ".\n\
I'm afraid I wasn't able to deliver your message to the following addresses.\n\
This is a permanent error; I've given up. Sorry it didn't work out.\n\
-\n\
" : ".\n\
I tried to deliver a bounce message to this address, but the bounce bounced!\n\
-\n\
");
if (custombouncetext.len)
{
+ qmail_puts(&qqt,"-\n";
qmail_put(&qqt,custombouncetext.s,custombouncetext.len-1);
- qmail_puts(&qqt,"\n\n");
+ qmail_puts(&qqt,"-\n");
}
+
+ qmail_puts(&qqt, "\n");
fd = open_read(fn2.s);
if (fd == -1)
--
| Henning Brauer | PGP-Key: http://misc.bsws.de/hb/pubkey.asc
| BS Web Services | Roedingsmarkt 14, 20459 Hamburg, DE | http://bsws.de
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)