summaryrefslogtreecommitdiff
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
parentd815a312840010dd87579a9a9f0a1a06be201264 (diff)
Handle condition of server refusing data transfers more gracefully.
-rw-r--r--ChangeLog3
-rw-r--r--common/smtppass.c4
-rw-r--r--configure.in4
3 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index e5e171d..722347f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+1.5
+ - Handle condition of server refusing data transfers more gracefully.
+
1.4.1 [2005-04-15]
- Fixed bug (introduced in 1.4) when Header was not present.
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);
diff --git a/configure.in b/configure.in
index 2527c67..c589626 100644
--- a/configure.in
+++ b/configure.in
@@ -36,8 +36,8 @@ dnl Nate Nielsen <nielsen@memberwebs.com>
dnl
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(clamsmtp, 1.4.1, nielsen@memberwebs.com)
-AM_INIT_AUTOMAKE(clamsmtp, 1.4.1)
+AC_INIT(clamsmtp, 1.4.1.91, nielsen@memberwebs.com)
+AM_INIT_AUTOMAKE(clamsmtp, 1.4.1.91)
LDFLAGS="$LDFLAGS -L/usr/local/lib"
CFLAGS="$CFLAGS -I/usr/local/include"