Re: Logging sender and recipient when message size exceeds fixed limit

2016-06-21 Thread Mick
Hi Bill, Shameful admission : I didn't realise that a sending machine using EHLO could declare the message size in the 'Mail from:'. I have been able to replicate the log behaviour using Telnet using an example in RFC1870. After issuing a EHLO command; >> mail from: SIZE=234567895 << 452 4.

Re: Logging sender and recipient when message size exceeds fixed limit

2016-06-21 Thread Wietse Venema
[google ignoring SIZE in EHLO response] I believe that initially Postfix has done that as well, because the number as announced might not be parseable with system library routines (for example bigger than 4GB, at a time that Postfix typically ran on 32-bit systems). Later, Postfix got its own off

Re: Logging sender and recipient when message size exceeds fixed limit

2016-06-20 Thread Bill Cole
On 20 Jun 2016, at 20:54, Mick wrote: I take it from your response (and noting the log 'reject: MAIL from') that the sender just piled in over 10MB of data at the 'mail from:' stage. Unlikely, since it was a Google machine and that's not how size restriction works. In this case the session s

Re: Logging sender and recipient when message size exceeds fixed limit

2016-06-20 Thread Mick
Hi Wietse, On 21/06/2016 01:21, Wietse Venema wrote: Mick: Hi, While checking the mail log yesterday morning, I noticed that Postfix didn't log the sender or recipient when it rejected a message due to exceeding the message_size _limit. I'd be interested to know if this is the intended behav

Re: Logging sender and recipient when message size exceeds fixed limit

2016-06-20 Thread Wietse Venema
Mick: > Hi, > > While checking the mail log yesterday morning, I noticed that Postfix > didn't log the sender or recipient when it rejected a message due to > exceeding the message_size _limit. I'd be interested to know if this is > the intended behaviour. I'm running Debianized Postfix 3.1.0

Logging sender and recipient when message size exceeds fixed limit

2016-06-20 Thread Mick
Hi, While checking the mail log yesterday morning, I noticed that Postfix didn't log the sender or recipient when it rejected a message due to exceeding the message_size _limit. I'd be interested to know if this is the intended behaviour. I'm running Debianized Postfix 3.1.0. Log excerpt;