On Thu, Apr 08, 2021 at 10:13:04PM +0200, Tom Szilagyi wrote: > > I will need to look into the case of the full mailbox, so that gets > inbound mail rejected up-front as well. Ideally, this would be more > nuanced than taking the mailbox completely off the table (pun intended), > so that the rejection would mention "mailbox full", rather than "no > such user", since that might confuse senders in a way that is bad for > PR... (:
Just a quick follow-up: now that I knew the angle to approach this problem, it came to me that this is easily doable with a filter: filter quotacheck phase rcpt-to match rcpt-to <fullboxes> \ reject "552 Quota exceeded (mailbox for user is full)" I just have to maintain <fullboxes> from the dovecot quota-warning script, which is perfectly doable. Wow, this turned out to be much easier than I thought! Many thanks, Tom
