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 behaviour. I'm running Debianized Postfix 3.1.0.
Log excerpt;
Jun 20 03:53:34 skin P25/smtpd[13887]: connect from
mail-it0-x22b.google.com[2607:f8b0:4001:c0b::22b]
Jun 20 03:53:35 skin P25/smtpd[13887]: NOQUEUE: reject: MAIL from
mail-it0-x22b.google.com[2607:f8b0:4001:c0b::22b]: 452 4.3.4 Message
size exceeds fixed limit; proto=ESMTP helo=<mail-it0-x22b.google.com>
Jun 20 03:53:40 skin P25/smtpd[13887]: disconnect from
mail-it0-x22b.google.com[2607:f8b0:4001:c0b::22b] ehlo=1 mail=0/1
rcpt=0/1 data=0/1 quit=1 commands=2/5
How would one log a recipient when the MAIL FROM command is rejected?
have you discovered some way to send RCPT TO without MAIL FROM?
No, but I obviously can't read log files!
Apologies. I was under the (wrong) impression that for the message to
be rejected due to exceeding the message size limit, it would have had
to have got to the data stage. 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. That never even occurred to me though it
should have been obvious.
Thanks for your help,
Mick.
Wietse