RE: sender ip in smtp log line

2014-04-27 Thread Marius Gologan
close this gap. Thank you very much. You helped me a lot. Regards, Marius. -Original Message- From: Wietse Venema [mailto:wie...@porcupine.org] Sent: Sunday, April 27, 2014 3:16 PM To: Marius Gologan Cc: 'Postfix users' Subject: Re: sender ip in smtp log line Marius Gologan:

Re: sender ip in smtp log line

2014-04-27 Thread Wietse Venema
Marius Gologan: > I made a test (log below). The warning header appears in "cleanup" log line. > Not in the same line with the smtp client log, with Exchange rejection. > > Apr 27 03:14:03 gateway postfix/cleanup[10319]: 76D2343520: warning: header > X-SMTP-Client-Addr: ip.add.re.ss from host.s-do

RE: sender ip in smtp log line

2014-04-26 Thread Marius Gologan
no impact (at least in my dreams, now). Thank you. Marius. -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema Sent: Sunday, April 27, 2014 3:51 AM To: Postfix users Subject: Re: sender ip in smtp log line Wie

Re: sender ip in smtp log line

2014-04-26 Thread /dev/rob0
On Sat, Apr 26, 2014 at 08:50:49PM -0400, Wietse Venema wrote: > Wietse Venema: > > Marius Gologan: > > > Can I add, in any way, the sender ip on the postfix/smtp > > > log line? > > > > No. > > > > You can extract the SMTP client IP address from Postfix > > logging with the same queue ID. This

Re: sender ip in smtp log line

2014-04-26 Thread Wietse Venema
Wietse Venema: > Marius Gologan: > > Can I add, in any way, the sender ip on the postfix/smtp log line? > > No. > > You can extract the SMTP client IP address from Postfix logging > with the same queue ID. This works best when you enable long queue > IDs that never repeat. > > # postconf -e

Re: sender ip in smtp log line

2014-04-26 Thread Wietse Venema
Marius Gologan: > Can I add, in any way, the sender ip on the postfix/smtp log line? No. You can extract the SMTP client IP address from Postfix logging with the same queue ID. This works best when you enable long queue IDs that never repeat. # postconf -e "enable_long_queue_ids = yes"

sender ip in smtp log line

2014-04-26 Thread Marius Gologan
Hi, I have an email gateway that filters spam for third-parties. I usually use fail2ban to reduce cases when particular IPs are flooding the gateway and record Hits: 35-100 points, by injecting "SMTP REJECT/DEFER explicit" to reduce the queue on the sender's side, help the exploited ISP/ESP