Wietse Venema:
> AFTER the message is received, the message size is known.
Thanks, Wietse. Makes sense now. Like this it works:
smtpd_recipient_restrictions = reject_unauth_destination
smtpd_end_of_data_restrictions = \
check_policy_service inet:localhost:12340
It's just a bit wasteful
Wietse Venema:
> Christoph Haas:
> > request=smtpd_access_policy
> > protocol_state=RCPT
> ...
> > size=0
>
> The RCPT TO command is received before the message is
> received, therefore the message size is not known.
Also, the client did not specify a message size when it sent the
MAIL FROM
Christoph Haas:
> request=smtpd_access_policy
> protocol_state=RCPT
...
> size=0
The RCPT TO command is received before the message is
received, therefore the message size is not known.
> My Postfix log shows though:
>
> postfix/qmgr[43700]: A031B9D69C: from=, size=501,
> nrcpt=1 (queue