Ah damn of course I'm not thinking am I, the client gets the size from the HELO/EHLO info - thanks for that, obvious when you have your memory jogged!
-----Original Message----- From: Wietse Venema [mailto:[EMAIL PROTECTED] Sent: 15 November 2008 16:16 To: Paul Hutchings Cc: postfix users list Subject: Re: Customize NDR for large messages? Paul Hutchings: > Is it possible (for a novice who knows nothing about source code mods) > to customize the bounce generated by a message that is larger than the > size accepted under message_size_limit please? No. In fact, if the message is rejected during the inbound SMTP session, the NDR is sent by the client not Postfix. > Instead of simply saying "too large" we would like to add a sentence > saying "please visit http://xyx" which would detail how they could send > us the data. If you are running a recent version of Postfix the reply will not simply be "too large" but it should also include the enhanced status code of 5.3.4, which some mail clients translate into human language. Wietse -- MIRA Ltd Watling Street, Nuneaton, Warwickshire, CV10 0TU, England. Registered in England and Wales No. 402570 VAT Registration GB 114 5409 96 The contents of this e-mail are confidential and are solely for the use of the intended recipient. If you receive this e-mail in error, please delete it and notify us either by e-mail, telephone or fax. You should not copy, forward or otherwise disclose the content of the e-mail as this is prohibited.