From 6eb6d5aebc069cabbeae0a2a881ec4fc79f74507 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Tue, 2 Jan 2018 09:16:19 +0100 Subject: [PATCH] added remote smtp host to piler-smtp received: log message Signed-off-by: Janos SUTO --- src/smtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smtp.c b/src/smtp.c index 5512ed73..41ec0478 100644 --- a/src/smtp.c +++ b/src/smtp.c @@ -311,7 +311,7 @@ void process_command_period(struct smtp_session *session){ session->fd = -1; - syslog(LOG_PRIORITY, "received: %s, from=%s, size=%d", session->ttmpfile, session->mailfrom, session->tot_len); + syslog(LOG_PRIORITY, "received: %s, from=%s, size=%d, client=%s", session->ttmpfile, session->mailfrom, session->tot_len, session->remote_host); move_email(session);