>On 21/05/2012 17:44, Bulent Malik wrote: >> Hello >> I can manage to run throttling . >> But I can't do "defer operation" >> I use http://serverip/cluebringer and quotas tab if I select DEFER to >> delay for mails exceeded the limit at the verdict. >> postfix rejects mails exceeded my limit Namely cluebringer behaves as >> reject about that. >> How can I fix the issue ? >> to test I sent an email towards 4 mail addresses as concurrently and I >> limit >> 2 concurrent as outbound mail. >> I selected DEFER for limit exceeed at the cluebringer. >> But the mail server REJECTED a mail due to exceeding limit >> Postfixlog; >> May 21 16:59:45 postfix1 postfix/smtpd[5635]: connect from >> unknown[192.168.1.247] May 21 16:59:46 postfix1 cbpolicyd[4530]: >> module=Quotas, mode=update, host=192.168.1.247, helo=com2007, >> [email protected], [email protected], reason=quota_update, >> policy=2, quota=3, limit=4, track=Sender:[email protected], >> counter=MessageCount, quota=1/2 (50.0%) May 21 16:59:46 postfix1 >> postfix/smtpd[5635]: 322061620E6C: >> client=unknown[192.168.1.247], sasl_method=LOGIN, >> [email protected] May 21 16:59:48 postfix1 >> cbpolicyd[4576]: module=Quotas, mode=update, host=192.168.1.247, >> helo=com2007, [email protected], [email protected], >> reason=quota_update, policy=2, quota=3, limit=4, >> track=Sender:[email protected], counter=MessageCount, quota=2/2 >> (99.8%) >> May 21 16:59:50 postfix1 cbpolicyd[30809]: module=Quotas, mode=update, >> host=192.168.1.247, helo=com2007, [email protected], >> [email protected], reason=quota_update, policy=2, quota=3, >> limit=4, track=Sender:[email protected], counter=MessageCount, quota=3/2 >> (149.4%) May 21 16:59:52 postfix1 cbpolicyd[30194]: module=Quotas, >> action=defer, host=192.168.1.247, helo=com2007, [email protected], >> [email protected], reason=quota_match, policy=2, quota=3, >> limit=4, track=Sender:[email protected], counter=MessageCount, quota=4/2 >> (198.8%) May 21 16:59:52 postfix1 postfix/smtpd[5635]: 322061620E6C: >> reject: RCPT from unknown[192.168.1.247]: 450 >> 4.7.1<[email protected]>: Recipient address rejected: limitexceed; >> from=<[email protected]>
>Could you paste the quotas and policies enabled as they are in the database? mysql> select * from quotas; +----+----------+-------------------+-----------------------+--------+------ ---+-------------+---------+----------+ | ID | PolicyID | Name | Track | Period | Verdict | Data | Comment | Disabled | +----+----------+-------------------+-----------------------+--------+------ ---+-------------+---------+----------+ | 1 | 5 | Recipient quotas | Recipient:user@domain | 3600 | REJECT | NULL | NULL | 1 | | 2 | 5 | Quota on all /24s | SenderIP:/24 | 3600 | REJECT | NULL | NULL | 1 | | 3 | 2 | outgoing | Sender:user@domain | 500 | DEFER | limitigecti | | 0 | +----+----------+-------------------+-----------------------+--------+------ ---+-------------+---------+----------+ 3 rows in set (0.00 sec) mysql> select * from policies; +----+------------------+----------+--------------------------------+------- ---+ | ID | Name | Priority | Description | Disabled | +----+------------------+----------+--------------------------------+------- ---+ | 1 | Default | 5 | Default System Policy | 0 | | 2 | Default Outbound | 1 | Default Outbound System Policy | 0 | | 3 | Default Inbound | 10 | Default Inbound System Policy | 0 | | 4 | Default Internal | 20 | Default Internal System Policy | 0 | | 5 | Test | 50 | Test policy | 0 | +----+------------------+----------+--------------------------------+------- ---+ 5 rows in set (0.00 sec) As what i said , i tested for outbound mails. If i set hold as verdict for exceeds limit it Works. But if I select defer to delay exceed limit mails , my postfix logs verdict defer after that it rejects so mails. I use ubuntu12.04lts _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
