summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2005-05-28 18:40:40 +0000
committerStef Walter <stef@memberwebs.com>2005-05-28 18:40:40 +0000
commit74f4997fe58ea48bf3d70061a45d56a3a9864d2b (patch)
tree95f63e0060a89445570baf8181d581ed233ab299 /common
parentd815a312840010dd87579a9a9f0a1a06be201264 (diff)
Handle condition of server refusing data transfers more gracefully.
Diffstat (limited to 'common')
-rw-r--r--common/smtppass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/smtppass.c b/common/smtppass.c
index ccfdcf2..0008a8f 100644
--- a/common/smtppass.c
+++ b/common/smtppass.c
@@ -273,7 +273,7 @@ int sp_run(const char* configfile, const char* pidfile, int dbg_level)
else if(g_state.outname != NULL && g_state.transparent)
warnx("the " CFG_OUTADDR " option will be ignored when " CFG_TRANSPARENT " is enabled");
- sp_messagex(NULL, LOG_DEBUG, "starting up...");
+ sp_messagex(NULL, LOG_DEBUG, "starting up (%s)...", VERSION);
/* Drop privileges before daemonizing */
drop_privileges();
@@ -1485,7 +1485,7 @@ int sp_done_data(spctx_t* ctx)
sp_messagex(ctx, LOG_DEBUG, "server refused data transfer");
- RETURN(-1);
+ RETURN(0);
}
sp_messagex(ctx, LOG_DEBUG, "sending from cache file: %s", ctx->cachename);