UPDATE: Figured out the problem. I've got entries in
smtpd_recipient_restrictions which could allow a connection to
completely bypass cluebringer.

This may be a stupid question, but is Cluebringer ever likely to be
able to compensate for this? If it is possible, I would have thought
that it would make sense to have cluebringer after checks like
check_recipient_access etc? I'm no Postfix guru so I'm just guessing
there.

2009/5/6 Guy <[email protected]>:
> Thanks.
>
> I've tried that, but the quotas don't appear to be being applied at all.
> Should there be a line with something like "cbpolicyd[processid]:
> module=Quotas"?
>
> I've got a policy with source as a group with only one address in the
> list and destination as any. I've set a quota on that policy with a
> messagecount of 1, a period of 900 and tracking on sen...@domain. I'm
> still able to send more than one email from that address.
>
> I've checked that quotas are enabled and I've enabled detailed
> logging. I've noticed that I'm getting tracking errors for outbound
> messages.
> May  6 14:10:57 server amavis[8754]: (08754-08) [TRACKING] DEBUG:
> Retreiving session data for triplet:
> 09C2233012B/x.x.x.x/[email protected]
> May  6 14:10:57 server amavis[8754]: (08754-08) (!!)[TRACKING] ERROR:
> No session data
> May  6 14:10:57 server amavis[8754]: (08754-08)
> (!)policyd/process_policy: No session data found
>
> I'm running 2.0.6 stable with a couple of patches for tracking.
> Have there been any recent patches that might be applicable to this?
> Or have I possibly done a dumb somewhere? If there's anything I can do
> to help narrow down what might be causing the problem just let me
> know.
>
> Thanks
> Guy
>
> 2009/5/3 Nigel Kukard <[email protected]>:
>>
>>> I want to be able to apply a permissive quota on some of our users and
>>> a more restrictive quota on the rest. Quotas don't allow inheritance
>>> like greylisting does so I'm wondering if there's a way to do this.
>>>
>>> At the moment I have a list of users in a group on a policy and a
>>> permissive quota associated with them. I also have a quota setup on
>>> the default outbound policy. If I put the permissive quota policy
>>> before the default, the default will just be applied afterwards anyway
>>> correct? And if I place the permissive quota policy after the default
>>> the default quota will be applied first anyway? Does policyd apply the
>>> quota after checking all matches or as it finds each one?
>>>
>> -It resolves the polices, then loops with them in order. If mail is
>> blocked by quota 1 before it gets to quota 2, quota  2 will not be updated.
>>
>> Having said that  I think you want to put your permissive quota first.
>>
>> Regards
>> Nigel
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://lists.policyd.org/mailman/listinfo/users
>>
>
>
>
> --
> Don't just do something...sit there!
>



-- 
Don't just do something...sit there!
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to