Logging IP address in error logs

Dusan Obradovic dusan at euracks.net
Wed Jan 18 17:06:06 CET 2017

> On Jan 18, 2017, at 15:56, Martin Schmid <scm at aps-systems.ch> wrote:
> Hello everybody
> I'm seeing many connections that try a few commands an then leave an open connection until it times out.
> I suspect most of them to try to block connections hich they do with a certain success.
> I couldn't figure out how to add the remote ip to all SMTP loggings. Has someone of you ever tried this?
> Regards

I've seen what you described and this is likely a problem with amavis configured as before-queue content filter. Amavis would log client ip during the smtp at the higher $log_level. However, you should probably handle this using the postfix log information only.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20170118/0ad43cff/attachment.html>

More information about the amavis-users mailing list