> On Jan 18, 2017, at 15:56, Martin Schmid <s...@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.