summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--common/smtppass.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7eb04c7..f7573c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
0.6
- Added CLIENT and SERVER variables to VirusAction script environment.
- Even better logging for network errors.
+ - Print out proxsmtp version in debug logs
0.5
- Added sample scripts.
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;