martijn.list: [ Charset windows-1252 converted... ] > On 10/30/2015 12:56 PM, Jeroen Scheerder wrote: > > Quoth Jeroen Scheerder (30 Oct 2015, 12:46): > > > >> That would result in a > >> > >> 250-SIZE 10240000 > >> > >> helo message, *and* a true size limit of 10239918. > > > > I obviously omitted the evident edit. I had meant to write: > > > > "That would result in a > > > > 250-SIZE 10239918 > > > > helo message, *and* a true size limit of 10239918." > > I probably misunderstand your requirements but is this not what you > want? You want to accept the message and make sure the message is not > refused later on because Postfix added some extra information (headers > etc.). Then the true message size limit for submission should be less > then the global message size limit. You need to make sure that the > message size limit reported by the submission port is small enough to > allow any overhead added by postfix (like the added headers).
To be safe, have the (submission) smtpd process announce a size limit that is a few kbytes under the Postfix global size limit. Wietse