Logging a more meaningful admin message on message_size_limit bounce

2011-10-20 Thread Quanah Gibson-Mount
While a user gets a fairly meaningful message when something is bounced because they hit message_size_limit, admins running the server don't seem to: A user gets: u...@zcs7.qa.qalab.com: message size 18302670 exceeds size limit 5024000 of server zcs7-ga.qa.qalab.com[xx.xx.xx.xxx] The admin

Re: Logging a more meaningful admin message on message_size_limit bounce

2011-10-20 Thread Reindl Harald
Am 20.10.2011 21:33, schrieb Quanah Gibson-Mount: A user gets: u...@zcs7.qa.qalab.com: message size 18302670 exceeds size limit 5024000 of server zcs7-ga.qa.qalab.com[xx.xx.xx.xxx] The admin only gets to see: Sep 19 14:15:43 zcs7-ga postfix/smtpd[23718]: connect from

Re: Logging a more meaningful admin message on message_size_limit bounce

2011-10-20 Thread Quanah Gibson-Mount
--On Thursday, October 20, 2011 9:42 PM +0200 Reindl Harald h.rei...@thelounge.net wrote: Am 20.10.2011 21:33, schrieb Quanah Gibson-Mount: A user gets: u...@zcs7.qa.qalab.com: message size 18302670 exceeds size limit 5024000 of server zcs7-ga.qa.qalab.com[xx.xx.xx.xxx] The admin only gets

Re: Logging a more meaningful admin message on message_size_limit bounce

2011-10-20 Thread Wietse Venema
Quanah Gibson-Mount: While a user gets a fairly meaningful message when something is bounced because they hit message_size_limit, admins running the server don't seem to: A user gets: u...@zcs7.qa.qalab.com: message size 18302670 exceeds size limit 5024000 of server

Re: Logging a more meaningful admin message on message_size_limit bounce

2011-10-20 Thread Reindl Harald
Am 20.10.2011 21:48, schrieb Quanah Gibson-Mount: --On Thursday, October 20, 2011 9:42 PM +0200 Reindl Harald h.rei...@thelounge.net wrote: how should this work? the server does NOT know why the CLIENT is closing the connection The server is the one rejecting the mail because it passed a

RE: Logging a more meaningful admin message on message_size_limit bounce

2011-10-20 Thread Grobe, Tony
-Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix- us...@postfix.org] On Behalf Of Quanah Gibson-Mount Sent: Thursday, October 20, 2011 3:49 PM Is there any way to customize the error message logged by postfix so admins viewing the postfix log can see

Re: Logging a more meaningful admin message on message_size_limit bounce

2011-10-20 Thread Wietse Venema
Quanah Gibson-Mount: unknown[xx.xx.xx.xxx] Sep 19 14:15:43 zcs7-ga postfix/smtpd[23718]: lost connection after EHLO .,. The server is the one rejecting the mail because it passed a limit set in postfix. No, the CLIENT hangs up after sending EHLO. The server rejects nothing. Wietse

RE: Logging a more meaningful admin message on message_size_limit bounce

2011-10-20 Thread Quanah Gibson-Mount
--On Thursday, October 20, 2011 4:11 PM -0400 Grobe, Tony tony.gr...@gsprecision.com wrote: -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix- us...@postfix.org] On Behalf Of Quanah Gibson-Mount Sent: Thursday, October 20, 2011 3:49 PM Is there any way to

Re: Logging a more meaningful admin message on message_size_limit bounce

2011-10-20 Thread Ralf Hildebrandt
* Grobe, Tony tony.gr...@gsprecision.com: If the client uses EHLO and the server response includes a SIZE statement, the client will often disconnect without issuing a command because it knows the message is undeliverable. In this case, the server has no information to log about why this