> I've one more question concerning quotas. I've defined quota on per
> domain delivery (50 mails per 900s). When sending plenty of mails to
> certain domains, throttling works well. However, mails to domains with a
> low number of domains also gets deferred.
> 
> Here are the two interesting lines from cbpolicyd.log:
> 
> | [2008/07/15-15:07:10 - 5630] [CORE] INFO: module=Quotas, mode=update,
> | host=192.168.98.31, helo=automatix.seier.at,
> | [EMAIL PROTECTED], [EMAIL PROTECTED],
> | reason=quota_update, policy=1, quota=3, limit=4,
> | track=Recipient:@qwws.net, counter=MessageCount, quota=2/50 (3.4%)
> |
> | [2008/07/15-15:07:10 - 5630] [CORE] INFO: module=Quotas, action=none,
> | host=192.168.98.31, helo=automatix.seier.at,
> | [EMAIL PROTECTED], [EMAIL PROTECTED], reason=no_quota
> 
> 
> and this is the according line from mail.log:
> 
> | Jul 15 15:07:10 automatix postfix/smtp[12017]: 03DB670040:
> | to=<[EMAIL PROTECTED]>, orig_to=<logcheck>,
> | relay=192.168.98.31[192.168.98.31]:2025, delay=299,
> | delays=299/0.01/0.01/0.06, dsn=4.5.3, status=deferred (host
> | 192.168.98.31[192.168.98.31] said: 452 4.5.3 <[EMAIL PROTECTED]>:
> | Recipient address rejected: No more transactions for this domain
> | allowed (in reply to RCPT TO command))
> 
> So I wonder why is this mail deferred although only 2 out of 50 mails
> have been sent (i.e., the limit is far from being reached).
> 
> In postfix' main.cf I've configured the policy daemon:
> 
> |smtpd_recipient_restrictions =  check_policy_service
> |inet:127.0.0.1:10031, permit_mynetworks,
> |        reject_unauth_destination
> |
> |smtpd_end_of_data_restrictions =  check_policy_service
> |inet:127.0.0.1:10031, permit_mynetworks,
> |        reject_unauth_destination
> 

Enable full debugging in the config file for policies and modules, you
will then see the policies matched which should lead you in the right
direction.  action=none means nothing is returned to postfix and
reason=no_quota means there was no quota found.

Are you using any other modules?

Where did you define the string "No more transactions for this domain
allowed" ?


-N

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to