Viktor Dukhovni:
> On Fri, Feb 05, 2021 at 04:45:10PM -0500, Wietse Venema wrote:
>
> > > If recipient address rewriting is on input (virtual alias maps rather
> > > than on output (as with local(8) .forward, or local aliases(5)), then
> > > one way is perhaps with recipient_address_verification probes and a
> > > transport table that routes over-quota recipients to a an "error"
> > > transport.
> >
> > reject_unverified_recipient is an interesting idea. It provides the
> > routing and caching, and is designed to be exact.
>
> For the record, this is not a new idea, I don't recall who suggested
> it first, but it has been around for a while:
>
>
> http://postfix.1071664.n5.nabble.com/Technical-question-to-Postfix-td52133.html#a52188
>
> Dovecot has some sort of "quota-status" service that could perhaps
> also be used in some fashion.
I think the problem was that the RCPT TO address differs from the mailbox name.
Rahul, can you see if reject_unverified_recipient detects the over-quota
condition in Dovecot?
Wietse