diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-11-08 18:20:30 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-11-08 18:20:30 +0000 |
commit | 4c2382b8cbb728122fe144afefd28b8cd2f7eef6 (patch) | |
tree | ab335c2a777b682e8903007751c9b20788d5477b | |
parent | 5fcde4d7ffe7da17abe313156e6ba2b1da154f28 (diff) | |
download | mailfromd-4c2382b8cbb728122fe144afefd28b8cd2f7eef6.tar.gz mailfromd-4c2382b8cbb728122fe144afefd28b8cd2f7eef6.tar.bz2 |
(check_on_host): Fix multiple mail from address handling.
git-svn-id: file:///svnroot/mailfromd/branches/release_3_0_patches@821 7a8a7f39-df28-0410-adc6-e0d955640f24
-rw-r--r-- | src/engine.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine.c b/src/engine.c index 86dd5d1c..751b914e 100644 --- a/src/engine.c +++ b/src/engine.c @@ -627,8 +627,10 @@ check_on_host(eval_environ_t env, char *email, char *client_addr, } else if (SMTP_MAJOR(io.code) != 2) { status = SMTP_MAJOR(io.code) == 4 ? mf_temp_failure : mf_not_found; - } else + } else { status = mf_success; + break; + } } if (status != mf_success) break; |