Hello,

i want to do a exact calculating quota with postfix<->mysql to reject incoming 
mails if user is over quota.
Complete storage-statistics+quota is done by dovecot in background.
Currently i use check_recipient_access mysql:/path/mysql.conf to get return 
value.
But for an exact calculation i misses value of current mailsize to calculate 
expected storageconsumption.
Is there a way to get size of mail into my sql-query?
My 2nd option would be a policy-service which gets mailsize delivered as 
attribut by postfixserver.
Whats the better way?

Thanks,
Andre

Reply via email to