[pfx] Re: Getting Recipient when Message size limit is exceeded

2023-07-08 Thread Matus UHLAR - fantomas via Postfix-users
On Fri, Jul 07, 2023 at 11:54:44AM -0400, Viktor Dukhovni via Postfix-users wrote: If the client uses PIPELINING, the pipelined "RCPT TO" after the rejected "MAIL FROM" will presumably be logged. On 7/7/2023 11:07 AM, Viktor Dukhovni via Postfix-users wrote: Turns out that's not the case.

[pfx] Re: Getting Recipient when Message size limit is exceeded

2023-07-08 Thread Pedro David Marco via Postfix-users
Thanks all!!! digging it Pete. On Friday, July 7, 2023 at 09:45:03 PM GMT+2, Wietse Venema via Postfix-users wrote: If no-one else posts one, I can post a solution that: - relies on smtpd_delay_reject=yes to postpone check_policy lookup until RCPT TO. - disables the SIZE

[pfx] Re: Getting Recipient when Message size limit is exceeded

2023-07-07 Thread Wietse Venema via Postfix-users
If no-one else posts one, I can post a solution that: - relies on smtpd_delay_reject=yes to postpone check_policy lookup until RCPT TO. - disables the SIZE announcement in EHLO - diusables the SIZE check in MAIL FROM - calls check_policy to let postfwd (etc.) reject mail, but that only works

[pfx] Re: Getting Recipient when Message size limit is exceeded

2023-07-07 Thread Noel Jones via Postfix-users
On 7/7/2023 11:07 AM, Viktor Dukhovni via Postfix-users wrote: On Fri, Jul 07, 2023 at 11:54:44AM -0400, Viktor Dukhovni via Postfix-users wrote: If the client uses PIPELINING, the pipelined "RCPT TO" after the rejected "MAIL FROM" will presumably be logged. Turns out that's not the case.

[pfx] Re: Getting Recipient when Message size limit is exceeded

2023-07-07 Thread Viktor Dukhovni via Postfix-users
On Fri, Jul 07, 2023 at 11:54:44AM -0400, Viktor Dukhovni via Postfix-users wrote: > If the client uses PIPELINING, the pipelined "RCPT TO" after the rejected > "MAIL FROM" will presumably be logged. Turns out that's not the case. Postfix does not log client "syntax" errors and sending "RCPT

[pfx] Re: Getting Recipient when Message size limit is exceeded

2023-07-07 Thread Viktor Dukhovni via Postfix-users
On Fri, Jul 07, 2023 at 11:47:35AM -0400, postfix--- via Postfix-users wrote: > > Currently Postfix do not show in log the Recipient of emails that > > exceed Meesage_size_limit becasue MAIL FROM comes before RCPTO TO... > > but is there any nice way of forcing Postfix to reject that email > >

[pfx] Re: Getting Recipient when Message size limit is exceeded

2023-07-07 Thread postfix--- via Postfix-users
Currently Postfix do not show in log the Recipient of emails that exceed Meesage_size_limit becasue MAIL FROM comes before RCPTO TO... but is there any nice way of forcing Postfix to reject that email after the RCPTO TO? http://www.postfix.org/postconf.5.html#smtpd_delay_reject