summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-10-30 15:31:19 +0000
committerStef Walter <stef@memberwebs.com>2004-10-30 15:31:19 +0000
commitad408f3c5264ade2c9fad5d795dd8fb3f802f798 (patch)
tree0bc06fedcfb9658d13e8e30a7ae95cd4174494c7
parent3a883d5a2d7afe095b30b5875cd5ffb12882dbd8 (diff)
Print out version in debug logs
-rw-r--r--ChangeLog1
-rw-r--r--common/smtppass.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 98130e7..e9c29c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
1.1
- Added CLIENT and SERVER variables to VirusAction script environment.
- Even better logging for network errors.
+ - Print out clamsmtp version in debug logs
1.0
- Removed user option from startup script (use User config option)
diff --git a/common/smtppass.c b/common/smtppass.c
index 88cfafd..93bc9cb 100644
--- a/common/smtppass.c
+++ b/common/smtppass.c
@@ -200,6 +200,8 @@ void sp_init(const char* name)
memset(&g_state, 0, sizeof(g_state));
+ sp_message(NULL, LOG_DEBUG, "%s (%s)", name, VERSION);
+
/* Setup the defaults */
g_state.debug_level = -1;
g_state.max_threads = DEFAULT_MAXTHREADS;