Hi, what is the Type of your Counter column in mysql table "quotas_tracking"? I had to set it to "decimal(10,4) with default entry "0.0000". After that the error massages like
> Use of uninitialized value in multiplication (*) at > /usr/local/lib/cbpolicyd-2.1/cbp/modules/Quotas.pm line 181, <$read> line 4. > Use of uninitialized value in subtraction (-) at > /usr/local/lib/cbpolicyd-2.1/cbp/modules/Quotas.pm line 186, <$read> line 4. > Use of uninitialized value in multiplication (*) at > /usr/local/lib/cbpolicyd-2.1/cbp/modules/Quotas.pm line 181, <$read> line 4. disapeard and it worked for me. > @Urban: > I tried your suggestion to change "smtpd_client_restrictions=" in my > "master.cf" from: > > ____________master.cf____________________________ > -o > smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination,reject > to > -o smtpd_client_restrictions=check_policy_service inet:127.0.0.1:10031, > permit_sasl_authenticated,reject_unauth_destination,reject > ________________________________________________ > > without much luck. I got the following error message in /var/log/mail.log: > > > ____________/var/log/mail.log______________________ > Nov 3 21:47:05 server1 postfix/smtps/smtpd[9055]: fatal: unexpected > command-line argument: inet:127.0.0.1:10031, Yes, as expected. You MUST set the parameter exactly as listed below: check_policy_service,inet:127.0.0.1:10031, Look a the semicolon between "...service and inet:...". No whitespaces after "100031," too. Regards Urban _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org
