On Thu, Aug 23, 2012 at 6:44 PM, Robert Anderson <[email protected]> wrote:
> IIRC several patches were tested on that issue. Full debug logs, .conf, > steps taken that resulted in the error and a dump of your DB will help to > try and reproduce this. > > Have attached the relevant sql dump [without session_tracking data] and log file. Note: Log file contains the error but there isnt full debug log as at the time error came log_level was set to 2. But later on I enabled debug, but didn't get any error. Now again I have disabled the debug level, as it consumes large space. Below given is the conf file: --------------- $ cat /etc/policyd/cluebringer.conf | grep -v ^# | sed '/^$/d' [server] protocols=<<EOT Postfix EOT modules=<<EOT Core Quotas EOT log_level=2 log_file=/var/log/cbpolicyd.log log_mail=maillog log_detail=policies,protocols,modules,tracking port=10032 [database] DSN=DBI:mysql:database=policyd;host=localhost Username=cluebringer Password= bypass_mode=pass bypass_timeout=30 [AccessControl] enable=0 [Greylisting] enable=0 [CheckHelo] enable=0 [CheckSPF] enable=0 [Quotas] enable=1 --------------- Infact I had created 2 quota group: 1. for Sender:user@domain [limit to 100 per hour ] 2. for Sender:@domain [limit to 300 per hour] and if now two email accounts are sending mail as per given criteria: ------------- 1. [email protected] sends 2 mail 2. [email protected] sends 3 mail ------------- So as per my view the quota_tracking db should have the following quotas used: - Sender:[email protected] - 2 - sender:[email protected] - 3 - sender: @aaa.bbb.ccc - 5 I have checked random and its working. I am not sure why is it showing error at times. Seems some issue with Quotas.pm . For your reference I have attached the Quotas.pm file in use. Should there be issues with Quotas.pm ? Thanks in advance. -- Regards, Soumya Linux Sytem Administrator DirectI <http://poornam.com> "I like the dreams of the future better than the history of the past."
files.tar.gz
Description: GNU Zip compressed data
_______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org
