Den 2012-06-04 16:05, Elaconta.com Webmaster skrev:
Okay, but how would i make such a policyd? I'd have to check the quota for all the Mailboxes in the domain of the receiving email and add them to get the total domain quota, right? Each time a email is received?
policy protocol in postfix is pr recipient user, no need to check domain, if you really need pr domain qoutas the perl code must calc it before report it to postfix in policy protocol, i wish i could make the perl since i really want it myself
make the perl code a bridge from postfix policy protocol to imap quata check, and if domain is needed check all domain users and add it together before report it to postfix with accept or tempfails