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: http://dovecot.org/list/dovecot-cvs/2007-May/008758.html http://dovecot.org/list/dovecot-cvs/2007-May/008760.html
signature.asc
Description: This is a digitally signed message part