Re: check_policy_service sends size=0

2021-07-29 Thread Christoph Haas
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

check_policy_service sends size=0

2021-07-29 Thread Christoph Haas
Dear list, I'm chasing a strange phenomenon with Postfix 3.5.6. I deliver virtual emails through LMTP to Dovecot. That works well. Now I'd also like to check the user's quota using Dovecot's quota service as described at https://doc.dovecot.org/configuration_manual/quota_plugin/#quota-service