On Thursday 20 October 2011 14:48:30 Quanah Gibson-Mount wrote: > --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 to see: > >> Sep 19 14:15:43 zcs7-ga postfix/smtpd[23718]: connect from > >> unknown[xx.xx.xx.xxx] > >> Sep 19 14:15:43 zcs7-ga postfix/smtpd[23718]: lost connection > >> after EHLO from unknown[xx.xx.xx.xxx] > >> Sep 19 14:15:43 zcs7-ga postfix/smtpd[23718]: disconnect from > >> unknown[xx.xx.xx.xxx] > >> > >> Is there any way to customize the error message logged by > >> postfix so admins viewing the postfix log can see the reasons > >> the connection was lost? > > > > 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 limit > set in postfix.
And there is nothing in the [E]SMTP protocol by which a client can tell a server why it will be unable to deliver that message. -- Offlist mail to this address is discarded unless "/dev/rob0" or "not-spam" is in Subject: header