added remote smtp host to piler-smtp received: log message

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2018-01-02 09:16:19 +01:00
parent c1c5c30423
commit 6eb6d5aebc

View File

@ -311,7 +311,7 @@ void process_command_period(struct smtp_session *session){
session->fd = -1; 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); move_email(session);