Nigel Kukard wrote: > 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.
OK, first I've defined the quota for the default policy. Now I've created my own policy matching the sender's IP address, and moved the quota rule to this 'Newsletter' policy. | [2008/07/15-20:47:19 - 12009] [POLICIES] DEBUG: Found policy member | with ID '1' in policy 'Default' | [2008/07/15-20:47:19 - 12009] [POLICIES] DEBUG: Found policy member | with ID '2' in policy 'Default Outbound' | [2008/07/15-20:47:19 - 12009] [POLICIES] DEBUG: Found policy member | with ID '3' in policy 'Default Inbound' | [2008/07/15-20:47:19 - 12009] [POLICIES] DEBUG: Found policy member | with ID '4' in policy 'Default Internal' | [2008/07/15-20:47:19 - 12009] [POLICIES] DEBUG: Found policy member | with ID '5' in policy 'Test' | [2008/07/15-20:47:19 - 12009] [POLICIES] DEBUG: Found policy member | with ID '6' in policy 'Newsletter' ... | [2008/07/15-20:47:19 - 12009] [POLICIES] DEBUG: Resolved policy | 'Newsletter' source '192.168.98.0/24' is an IP/CIDR specification, | match = 1 As far as I understand this, the 'Newsletter' policy matches. And the next log output reads as follows (to me this reads like the mail should be accepted): | [2008/07/15-20:47:19 - 12009] [CORE] INFO: module=Quotas, mode=update, | host=192.168.98.31, helo=automatix.seier.at, | [EMAIL PROTECTED], [EMAIL PROTECTED], | reason=quota_update, policy=6, quota=3, limit=4, | track=Recipient:@tvs.at, counter=MessageCount, quota=1/25 (4.0%) | [2008/07/15-20:47:19 - 12009] [CORE] INFO: module=Quotas, action=none, | host=192.168.98.31, helo=automatix.seier.at, | [EMAIL PROTECTED], [EMAIL PROTECTED], | reason=no_quota but postfix rejects the mail: | Jul 15 20:47:20 automatix postfix/smtp[13868]: 5D16F12E9DA: | to=<[EMAIL PROTECTED]>, relay=192.168.98.31[192.168.98.31]:2025, | conn_use=7, delay=35003, delays=34264/735/1/3.1, 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'd like to know why the mail is not accepted although the quota is not reached.... > Are you using any other modules? All modules are enabled as in the default config file, but I'm not using them. > Where did you define the string "No more transactions for this domain > allowed" ? This is defined in the data field of the quota entry. Verdict is set to DEFER and Data is set to '452 4.5.3 No more transactions for this domain allowed' regards, quam -- Markus Quaritsch E: [EMAIL PROTECTED] W: www.qwws.net P: +43 650 7997638
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- 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