The user management is done by Dovecot, so as soon as a user logs in, the
user / password query is sent to a database, which also queries the quota.

Since Postfix rewrites all alias email addresses to the local users, this
works perfectly.

Dovecot manages the local users + the quota in the database and can tell
Postfix via service check if the quota is reached or not.

Mit freundlichen Grüßen
Yours sincerely 
Pascal Rudolf



-----Ursprüngliche Nachricht-----
Von: owner-postfix-us...@postfix.org <owner-postfix-us...@postfix.org> Im
Auftrag von Wietse Venema
Gesendet: Freitag, 23. April 2021 20:09
An: Postfix users <postfix-users@postfix.org>
Betreff: Re: AW: Change default reject message

rud...@padaru.de:
> Is it possible to check the quota status from the receiver in the 
> pickup module with a sql query or something else to get the same 
> behavior as when the mail passes the smtpd module?

There currenly is no such feaure, but I think that one could be added in
Postfix 3.6.

How does Dovecot know what mailbox quota to check, when all your recipients
are aliased?

        Wietse


Reply via email to