[Dovecot] PATCH Deliver forgets sendmail_path if DEBUG is set

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Thu May 10 13:50:11 EEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

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).

Problem in log:
May 10 12:33:07 ux-2s11-9 deliver(dvtest): execv() failed: No such file 
or directory
May 10 12:33:07 ux-2s11-9 deliver(dvtest): Sendmail process terminated 
abnormally, exit status 75

Note the empty string in the function call  execv().

Attached patch just deletes the DEBUG variable.

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRkL45y9SORjhbDpvAQKeTAgAr6i6XrICqZsTaezUFqXO69cuwOt4iL5u
K3PAF0ywAtrRkpWG+G8TUtypUkLp+CGEK3Ery1mWVp2/TeNPv6LxeUWWGxmdlSV3
XFQSV/VRuPtJ/Uc8wFWOBcpAn0H9rnLNkF5vv512t4zs99eF10++US5fZwFOXK8M
azgaCEYwOrmZ4U2sCQwVQChXcZQq6MI5IcE3ChpzlUP45bq2dVZrXqAZ/xNo1iuG
lQd/43XJu1++LxB8N1Fkbaeme+Ojt/c5fOKApjhnCJuQwi46jnSEeHbO2VUCz+ST
mU34QR3zx+h4YW91oKQhFYkbSWEYmuXk2OoZaFUd1Q+E+oXHHuDBng==
=CiqO
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deliver-sendmail-path-override.patch.gz
Type: application/octet-stream
Size: 423 bytes
Desc: 
Url : http://dovecot.org/pipermail/dovecot/attachments/20070510/1ec88b10/attachment.obj 


More information about the dovecot mailing list