aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2006-11-08 18:20:30 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2006-11-08 18:20:30 +0000
commit4c2382b8cbb728122fe144afefd28b8cd2f7eef6 (patch)
treeab335c2a777b682e8903007751c9b20788d5477b
parent5fcde4d7ffe7da17abe313156e6ba2b1da154f28 (diff)
downloadmailfromd-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.c4
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;

Return to:

Send suggestions and report system problems to the System administrator.