[Dovecot] PATCH Deliver forgets sendmail_path if DEBUG is set

Timo Sirainen tss at iki.fi
Sun May 13 17:10:38 EEST 2007

On Thu, 2007-05-10 at 12:50 +0200, Steffen Kaiser wrote:
> Dovecot v1.0.0 deliver erases the environment if DEBUG is set, hence, also 
> (probably) erases SENDMAIL_PATH if it has been read from configuration 
> file. This happens with: Debian Etch, libc-2.3.6.so, gcc (GCC) 4.1.2 
> 20061115 (prerelease) (Debian 4.1.1-21).

> +		putenv("DEBUG");	/* BTW this is a short living fork
> +			of deliver */

putenv() without '=' in the string isn't a standard, so I didn't want to
use that when I wrote the code.

But actually it's MAIL_DEBUG environment that's supposed to be removed,
not DEBUG. That makes it easier to fix, since Dovecot uses only the
DEBUG environment:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070513/7f716e30/attachment.pgp 

More information about the dovecot mailing list