Re: smtpd: no logging on "message to big"

2015-07-09 Thread A. Schulze
Rosenbaum, Larry M.: If the client looks at the SIZE line of the EHLO response, it may determine at that point that the message is too big and abort the attempt. In that case the server doesn't have any envelope data to log, and might not even know why the client gave up. yes, that's the

Re: smtpd: no logging on "message to big"

2015-07-08 Thread Viktor Dukhovni
On Wed, Jul 08, 2015 at 08:58:38PM +, Rosenbaum, Larry M. wrote: > > Jul 8 17:46:08 mail postfix/smtp[14519]: 3mRP4H3mJMz373gD: reject: > > END_OF_DATA from mail.external.org[192.0.2.25]: queue file size limit > > exceeded; from=, to=, proto=ESMTP, > > helo= > > If the client looks at the SI

RE: smtpd: no logging on "message to big"

2015-07-08 Thread Rosenbaum, Larry M.
> > wietse: > > > Sorry, it is unwise to log the details of every SMTP error, let > > alone log it with the full envelope information. That would make > > Postfix unnecessarily vulnerable to logfile flooding. > > maybe I expressed myself wrong. > I simply would like to see such a hypotetic log:

Re: smtpd: no logging on "message to big"

2015-07-08 Thread Wietse Venema
A. Schulze: > > wietse: > > > Sorry, it is unwise to log the details of every SMTP error, let > > alone log it with the full envelope information. That would make > > Postfix unnecessarily vulnerable to logfile flooding. > > maybe I expressed myself wrong. > I simply would like to see such a hy

Re: smtpd: no logging on "message to big"

2015-07-08 Thread A. Schulze
wietse: Sorry, it is unwise to log the details of every SMTP error, let alone log it with the full envelope information. That would make Postfix unnecessarily vulnerable to logfile flooding. maybe I expressed myself wrong. I simply would like to see such a hypotetic log: Jul 8 17:46:08 mai

Re: smtpd: no logging on "message to big"

2015-07-08 Thread Wietse Venema
A. Schulze: > > wietse: > > > It is theoretically possible to update lots of Postfix messages > > with SMTP envelope information, but the price is that it instantly > > obsoletes logfile analyzers. Does the price exceed the benefit? > > (at least for me) it's more valuable to get as many as poss

Re: smtpd: no logging on "message to big"

2015-07-08 Thread A. Schulze
wietse: It is theoretically possible to update lots of Postfix messages with SMTP envelope information, but the price is that it instantly obsoletes logfile analyzers. Does the price exceed the benefit? (at least for me) it's more valuable to get as many as possible details logged. So my a

Re: smtpd: no logging on "message to big"

2015-07-08 Thread Wietse Venema
Wietse Venema: > A. Schulze: > > > > Hello, > > > > usually I expect any smtp connection to be logged. That way I may find > > any sender or recipient addresses > > a user may know if complaining about missing messages. This is not > > true if a message is rejected because it's to big. > > >

Re: smtpd: no logging on "message to big"

2015-07-08 Thread Wietse Venema
A. Schulze: > > Hello, > > usually I expect any smtp connection to be logged. That way I may find > any sender or recipient addresses > a user may know if complaining about missing messages. This is not > true if a message is rejected because it's to big. > > SMTP-Reply is "552 5.3.4 Error: