quota-status fails when size=0 from Postfix

Benny Pedersen me at junc.eu
Thu Jul 29 17:23:26 EEST 2021


On 2021-07-29 02:44, dovecot at ptld.com wrote:

> Like you said when sending a real email it gets rejected right?

postfix can only check results from dovecot, not dictate that new mails 
size is a real iso or other content, mta stage cant be made to hand over 
size in policy server since email then must send whole email first, and 
that require more bandwidth for all parties to do this, so it just 
checking dovecot quotas to find if there is room for one more email in a 
giving quotas, if its still room for more mails i send msg to postfix 
accept it, but when its not more quotas in dovecot result is changed to 
reject, postfix does not still know how much quotas is in dovecot

hopefully the above make sense then

quotas should imho just be disabled for sasl users, that is missing as 
an option on dovecot quota services

and since dovecot does not know postfix virtual aliases is would make 
sense dovecot also support postfix virtual aliases in dovecot quota 
service, or postfix have to map alias before sending to lmtp server on 
dovecot


More information about the dovecot mailing list