Hello everyone, I'm trying to configure policyd with postfix under Plesk environment. I read the install procedure and i have running policyd without problems
# ps xau | grep policy root 18652 0.0 0.0 58944 536 pts/3 S+ 11:59 0:00 tail -f /var/log/cbpolicyd.log root 20590 0.0 0.2 123408 16352 ? Ss 12:06 0:00 /usr/bin/perl /usr/local/sbin/cbpolicyd --config /etc/cluebringer.conf root 20592 0.1 0.2 155352 18064 ? S 12:06 0:01 /usr/bin/perl /usr/local/sbin/cbpolicyd --config /etc/cluebringer.conf root 20593 0.1 0.2 155368 18080 ? S 12:06 0:01 /usr/bin/perl /usr/local/sbin/cbpolicyd --config /etc/cluebringer.conf root 20595 0.0 0.2 155352 18040 ? S 12:06 0:00 /usr/bin/perl /usr/local/sbin/cbpolicyd --config /etc/cluebringer.conf root 20602 0.0 0.2 155364 18064 ? S 12:06 0:00 /usr/bin/perl /usr/local/sbin/cbpolicyd --config /etc/cluebringer.conf root 20727 0.0 0.2 155364 18044 ? S 12:07 0:00 /usr/bin/perl /usr/local/sbin/cbpolicyd --config /etc/cluebringer.conf root 23332 0.0 0.2 155248 17612 ? S 12:24 0:00 /usr/bin/perl /usr/local/sbin/cbpolicyd --config /etc/cluebringer.conf root 23444 0.0 0.2 155248 17664 ? S 12:25 0:00 /usr/bin/perl /usr/local/sbin/cbpolicyd --config /etc/cluebringer.conf root 23979 0.0 0.2 155248 17612 ? S 12:29 0:00 /usr/bin/perl /usr/local/sbin/cbpolicyd --config /etc/cluebringer.conf this is my cluebringer.conf configuration protocols=<<EOT Postfix EOT modules=<<EOT Core Accounting EOT pid_file=/var/run/cbpolicyd/cbpolicyd.pid cache_file=/var/run/cbpolicyd/cache log_level=2 log_file=/var/log/cbpolicyd.log log_mail=mail@syslog:unix log_detail=modules,tracking,policies,protocols,cache port=10031 timeout_idle=1015 timeout_busy=115 [database] DSN=DBI:mysql:database=policyd;host=localhost Username=policyd Password=newpass bypass_mode=tempfail bypass_timeout=30 [AccessControl] enable=0 [Accounting] enable=1 [Amavis] [CheckHelo] enable=0 [CheckSPF] enable=0 [Greylisting] enable=0 [Quotas] enable=0 I have the following two lines on main.cf smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031, permit_mynetworks, check_client_access pcre:/var/spool/postfix/plesk/ no_relay.re, permit_sasl_authentitn smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031 On accounting table on mysql i have this register Name gmail.com Link to policy Default Outbound Track Sender:user@domain Period Daily Message Count Limit 3 Message Cumulative Size Limit -none- Kbyte Verdict REJECT Data Account limit exceeded Stop processing here yes Comment A lot of message for gmail Disabled no But when I send email it just leaving without any control. I dunno what I'm doing wrong or what I am not doing. If anyone could help me on this will appreciate thank you -- Gustavo Etchudez mailto:[email protected]
_______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org
