At 11:19 +0200 30/8/11, Roland Vogt wrote:
>Thank you for answer !
>
>Effectivly, I change my :
>smtpd_sender_restrictions = check_policy_service inet:127.0.0.1:10031 defer
>to
>smtpd_sender_restrictions = check_policy_service inet:127.0.0.1:10031, permit
>
>And when I try to send mail it works!
>
>But when I try to send more than 10 mail I still can. There is what I
>can see in my cbpolicyd.log :
<snip>

Hmm, nothing there at all about what it's actually doing.

You should be seeing some log messages like these :

cbpolicyd[26946]: module=Quotas, mode=update, host=<IP>, helo=<name>, 
from=<sender>, to=<recipient>, reason=quota_update, policy=7, 
quota=5, limit=7, track=SASLUsername: <name>, counter=MessageCount, 
quota=1/36000 (0.0%)

cbpolicyd[26946]: module=Quotas, mode=update, host=<IP>, helo=<name>, 
from=<sender>, to=<recipient>, reason=quota_update, policy=7, 
quota=5, limit=10, track=SASLUsername: <name>, 
counter=MessageCumulativeSize, quota=0/10000000 (0.0%)

cbpolicyd[26947]: module=Quotas, mode=update, host=<IP>, helo=<name>, 
from=<sender>, to=<recipient>, reason=quota_update, policy=7, 
quota=5, limit=10, track=SASLUsername: <name>, 
counter=MessageCumulativeSize, quota=313/10000000 (0.0%)

The first two are done at the "rcpt to:" stage, the last is done at 
the end of message stage (when the size is known).


-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to