On Thu, Apr 23, 2009 at 09:23:54AM -0400, Victor Duchovni wrote:
> On Thu, Apr 23, 2009 at 06:47:53PM +1000, Steve Head wrote:
> 
> > It appears to happen when an address included from a file is an alias to
> > a mailbox which is over quota.  When it is not an alias, delivery
> > continues as I would have expected.

I've worked around my immediate problem by having cyrus/lmtp report a
permanent delivery failure for over quota users.
  (imapd.conf:  lmtp_over_quota_perm_failure: 1)

Because we're using unverified_recipient_reject_code = 450 only mail
already in the queue (or locally generated) will send a permanent
failure for over quota users, external mail will still get a
unverified_recipient 450 - I can live with that :-)

> I avoid the problem by making all domains (including $myorigin) non-local,
> local(8) delivery happens only after virtual(5) alias expansion results
> in a name listed in $mydestination, addresses used and seen by users are
> never local (have domains in $mydestination). With this, delivery to user
> addresses is always "indirect".

I'm curious as to how you make all domains non-local?  Would you not
then have to list every local mailbox/alias as u...@real.domain as a
virtual entry?

Steve.
-- 
Place bare 12 gauge wire between Terminal A and Terminal B - see diagram.
> Disconnect mains power.
> > Top-posting HOW-TO.

Reply via email to