Le 20/09/2012 05:05, Brock Henry a écrit :
> I still can't quite get my head around it. I am fairly new to Postfix.
>
> If a user connects via SASL, they get permitted too early, and miss out on
> the check_policy_service.
>
> smtpd_recipient_restrictions =
> ...
> permit_sasl_authenticat
On 9/19/2012 10:05 PM, Brock Henry wrote:
> I can't work out the combination of rules that will give me what I want.
>
> What I want.
> 1) non sasl, incoming mail permitted, and seen by checkfull.
> 2) non sasl, outgoing mail (from inside) permitted, not seen by
> checkfull.
> 3) non sasl, outgoin
I still can't quite get my head around it. I am fairly new to Postfix.
If a user connects via SASL, they get permitted too early, and miss out on
the check_policy_service.
smtpd_recipient_restrictions =
...
permit_sasl_authenticated,
reject_unauth_destination,
check_policy
Wietse Venema:
> 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/check
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
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 work
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 work