diff options
author | John Denker <jsd@av8n.com> | 2012-06-02 17:54:47 -0700 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2012-06-02 17:57:17 -0700 |
commit | 72937a56ee2beec1732797e1fc4cbe8ea057e4ca (patch) | |
tree | 0daf2fdd817b259a1d5e78880e3d96367da74aa5 /checkpasswd/pathexec_env.c | |
parent | 22d3da72492f2b0939d11f1bf0a2b23a4f69ec63 (diff) |
Minor bugfix. If you use morercpthosts, after a failed authentication
attempt, if the client attempts to send mail to a domain which is not
listed in rcpthosts, qmail-smtpd is unable to read morercpthosts.cdb.
Instead, it sends "421 unable to read controls (#4.3.0)" and drops the
connection. This patch fixes this bug by closing file descriptor 3
(only if necessary) in the authentication child process rather than
the parent process.
Credit: Tom Clegg
Diffstat (limited to 'checkpasswd/pathexec_env.c')
0 files changed, 0 insertions, 0 deletions