On Wed, Sep 19, 2012 at 09:46:58AM -0400, Wietse Venema wrote:
> On Wed, Sep 19, 2012 at 02:24:13PM +1000, Brock Henry wrote:
> > I have created a policy service, which checks quota, returning 
> > 'reject' if the mailbox is full, and 'dunno' otherwise.
> > 
> > smtpd_(data|recipient)_restrictions =
> >    check_policy_service unix:private/checkfull
> > 
> > And it's all working fine.
> > 
> > However, I only want that policy to trigger for incoming mail - 
> > mail for which I am the final destination.
> > 
> > For outgoing mail (from my customers to elsewhere), I don't want 
> > to trigger that policy at all.
> > 
> > I can't work out how I can do that.
> 
> Short reply:
> 
> Use the check_policy_service command after 
> reject_unauth_destination.

Oh, yeah, that is a lot easier. :) Thanks.
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to