I think my mail doesn’t come I resent it as below;
Ok, for cluebringer is already debug mode ( 4 ) İ sent mails for 5 outbound recipients concurrently and i managed it. My cbpolicyd.log in attached called cglog.txt My mail.log is in attached called mail.log I set values cluebringer. It seems to works. But i can’t limit outgoing mails/time from [email protected] What can be the problem ? Mail.cf ; smtpd_recipient_restrictions = ..., check_policy_service inet:127.0.0.1:10031, permit_mynetworks, ... 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 | 0 | | 3 | 2 | deneme | Sender:user@domain | 3600 | REJECT | | test.com | 0 | +----+----------+-------------------+-----------------------+--------+---------+------+----------+----------+ 3 rows in set (0.00 sec) I use id3 above. mysql> SELECT * FROM quotas_limits; +----+----------+-----------------------+--------------+---------+----------+ | ID | QuotasID | Type | CounterLimit | Comment | Disabled | +----+----------+-----------------------+--------------+---------+----------+ | 1 | 1 | MessageCount | 1 | NULL | 1 | | 2 | 1 | MessageCumulativeSize | 8000 | NULL | 0 | | 3 | 2 | MessageCount | 12 | NULL | 0 | | 4 | 3 | MessageCount | 1 | | 0 | +----+----------+-----------------------+--------------+---------+----------+ 4 rows in set (0.00 sec) Please enable full debugging in policyd and post both the policyd log and the logs policyd sends to mail log. -N
cblog.rar
Description: Binary data
Apr 10 18:07:10 postfix1 postfix/smtpd[1952]: warning: 192.168.150.220: hostname netnetym verification failed: Name or service not known Apr 10 18:07:10 postfix1 postfix/smtpd[1952]: connect from unknown[192.168.150.220] Apr 10 18:07:11 postfix1 postfix/smtpd[1952]: 563DD10203BC: client=unknown[192.168.150.220], sasl_method=LOGIN, [email protected] Apr 10 18:07:20 postfix1 postfix/cleanup[1961]: 563DD10203BC: message-id=<[email protected]> Apr 10 18:07:20 postfix1 postfix/qmgr[1580]: 563DD10203BC: from=<[email protected]>, size=2720, nrcpt=5 (queue active) Apr 10 18:07:21 postfix1 postfix/smtpd[1971]: connect from localhost[127.0.0.1] Apr 10 18:07:21 postfix1 postfix/smtpd[1971]: 8768010203BE: client=localhost[127.0.0.1] Apr 10 18:07:21 postfix1 postfix/smtpd[1972]: connect from localhost[127.0.0.1] Apr 10 18:07:21 postfix1 postfix/cleanup[1961]: 8768010203BE: message-id=<[email protected]> Apr 10 18:07:21 postfix1 postfix/smtpd[1972]: 8A87610203EF: client=localhost[127.0.0.1] Apr 10 18:07:21 postfix1 postfix/cleanup[1974]: 8A87610203EF: message-id=<[email protected]> Apr 10 18:07:21 postfix1 postfix/smtpd[1971]: disconnect from localhost[127.0.0.1] Apr 10 18:07:21 postfix1 amavis[1202]: (01202-01) Passed CLEAN, MYUSERS LOCAL [192.168.150.220] [192.168.150.220] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: nwlzqNLrLzGD, Hits: -9.997, size: 2720, queued_as: 8768010203BE, 876 ms Apr 10 18:07:21 postfix1 postfix/qmgr[1580]: 8A87610203EF: from=<[email protected]>, size=3674, nrcpt=1 (queue active) Apr 10 18:07:21 postfix1 postfix/smtpd[1972]: disconnect from localhost[127.0.0.1] Apr 10 18:07:21 postfix1 postfix/qmgr[1580]: 8768010203BE: from=<[email protected]>, size=3656, nrcpt=1 (queue active) Apr 10 18:07:21 postfix1 amavis[1201]: (01201-01) Passed CLEAN, MYUSERS LOCAL [192.168.150.220] [192.168.150.220] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: lzqmUxpy006i, Hits: -9.997, size: 2720, queued_as: 8A87610203EF, 928 ms Apr 10 18:07:21 postfix1 postfix/smtp[1975]: 8A87610203EF: lost connection with mailhub.net.net.tr[192.168.128.250] while receiving the initial server greeting Apr 10 18:07:21 postfix1 postfix/smtp[1962]: 563DD10203BC: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=11, delays=9.6/0.01/0.01/0.97, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 8768010203BE) Apr 10 18:07:21 postfix1 postfix/smtp[1963]: 563DD10203BC: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=11, delays=9.6/0.01/0.01/1, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 8A87610203EF) Apr 10 18:07:21 postfix1 postfix/smtpd[1971]: connect from localhost[127.0.0.1] Apr 10 18:07:21 postfix1 postfix/smtpd[1971]: D68171020402: client=localhost[127.0.0.1] Apr 10 18:07:21 postfix1 postfix/cleanup[1961]: D68171020402: message-id=<[email protected]> Apr 10 18:07:21 postfix1 postfix/smtpd[1972]: connect from localhost[127.0.0.1] Apr 10 18:07:21 postfix1 postfix/qmgr[1580]: D68171020402: from=<[email protected]>, size=3650, nrcpt=1 (queue active) Apr 10 18:07:21 postfix1 postfix/smtpd[1972]: E348E1020421: client=localhost[127.0.0.1] Apr 10 18:07:21 postfix1 postfix/cleanup[1974]: E348E1020421: message-id=<[email protected]> Apr 10 18:07:21 postfix1 amavis[1202]: (01202-02) Passed CLEAN, MYUSERS LOCAL [192.168.150.220] [192.168.150.220] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: 2ZNo20Z9+oy7, Hits: -9.997, size: 2720, queued_as: D68171020402, 229 ms Apr 10 18:07:22 postfix1 postfix/qmgr[1580]: E348E1020421: from=<[email protected]>, size=3656, nrcpt=1 (queue active) Apr 10 18:07:22 postfix1 amavis[1201]: (01201-02) Passed CLEAN, MYUSERS LOCAL [192.168.150.220] [192.168.150.220] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: y7fOGH3VOkRZ, Hits: -9.997, size: 2720, queued_as: E348E1020421, 239 ms Apr 10 18:07:22 postfix1 postfix/smtp[1962]: 563DD10203BC: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=11, delays=9.6/0.98/0/0.32, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as D68171020402) Apr 10 18:07:22 postfix1 postfix/smtp[1963]: 563DD10203BC: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=11, delays=9.6/1/0/0.3, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as E348E1020421) Apr 10 18:07:22 postfix1 postfix/smtpd[1971]: 2C0BB1020441: client=localhost[127.0.0.1] Apr 10 18:07:22 postfix1 postfix/smtp[1975]: 8A87610203EF: to=<[email protected]>, relay=mailhub2.net.net.tr[192.168.128.252]:25, delay=1.2, delays=0.06/0.07/1.1/0.02, dsn=2.0.0, status=sent (250 ok 1334070442 qp 12430) Apr 10 18:07:22 postfix1 postfix/qmgr[1580]: 8A87610203EF: removed Apr 10 18:07:23 postfix1 postfix/cleanup[1961]: 2C0BB1020441: message-id=<[email protected]> Apr 10 18:07:23 postfix1 postfix/qmgr[1580]: 2C0BB1020441: from=<[email protected]>, size=3654, nrcpt=1 (queue active) Apr 10 18:07:23 postfix1 postfix/smtpd[1952]: disconnect from unknown[192.168.150.220] Apr 10 18:07:23 postfix1 amavis[1202]: (01202-03) Passed CLEAN, MYUSERS LOCAL [192.168.150.220] [192.168.150.220] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: pLnlX7e67wrl, Hits: -9.997, size: 2720, queued_as: 2C0BB1020441, 1193 ms Apr 10 18:07:23 postfix1 postfix/smtp[1962]: 563DD10203BC: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=12, delays=9.6/1.3/0/1.2, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 2C0BB1020441) Apr 10 18:07:23 postfix1 postfix/qmgr[1580]: 563DD10203BC: removed Apr 10 18:07:23 postfix1 postfix/smtp[1979]: D68171020402: to=<[email protected]>, relay=mailhub2.net.net.tr[192.168.128.252]:25, delay=1.6, delays=0.07/0.01/1.5/0.02, dsn=2.0.0, status=sent (250 ok 1334070443 qp 12438) Apr 10 18:07:23 postfix1 postfix/qmgr[1580]: D68171020402: removed
_______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
