spamd takes 3 minutes to start on startup

2013-03-28 Thread psychobyte
Hi, I'm on gentoo using SA-3.3.1. on startup only, the spamd service takes over 3 minutes to startup. I was able to log the startup log which outputs this(below). It results is some errors but, don't see why it would hang for 3 minutues. Anyone have any hints as to why it would hang? Thu Mar 2

SQL error: Duplicate entry

2013-04-24 Thread psychobyte
Hi, I've noticed that SA is getting a lot of "Duplicate entry" errors for AWL and bayes plugins. I can verify that the sql schema is up to date for SA 3.3.1-r4 and I've tried retraining the bayes db. Any hints on how to troubleshoot this? AWL: Apr 24 11:31:57 mserv amavisd[24336]: (24336-05

Re: SQL error: Duplicate entry

2013-04-24 Thread psychobyte
Well, in the bayes case, the table is bayes_token and indeed Mail::SpamAssassin::BayesStore::SQL is INSERTING into the table via _put_tokens(). my $insertsql = "INSERT INTO bayes_token (id, token, spam_count, ham_count, atime) VALUES (?,?,?,?,?)"; so,

Re: SQL error: Duplicate entry

2013-04-26 Thread psychobyte
To answer Ben's question, "Out of curiosity, how did this SQL error come to your attention in the first place?" I was troubleshooting another issue and set $log_level = 5 and noticed the errors.

autolearn_discriminator callback not getting called.

2013-05-08 Thread psychobyte
Hi, My goal is to ignore several types of address from getting into the AWL database. So I'm creating a plugin that will set a lower priority for autolearn_discriminator(), run the autolearn_discriminator callback, check a list of ignored address types, then call inhibit_further_callbacks()

Re: autolearn_discriminator callback not getting called.

2013-05-10 Thread psychobyte
tf("%0.3f", $delta)); } $whitelist->finish(); 1; } or do { my $eval_stat = $@ ne '' ? $@ : "errno=$!"; chomp $eval_stat; warn("auto-whitelist-awl: open of auto-whitelist file failed: $eval_stat\n"); # try an unlock,

Can't use CONF_TYPE_IPADDRLIST in custom plugin

2014-02-19 Thread psychobyte
Hi, I'm trying to do some filtering on the originating IP address of a message using a custom plugin on SA-3.3.2-r1 I have this variable set in my .cf file(same as trusted networks var): awl_ignore_networks143.31/16 69.21/16 10.0.1/24 I've declared my awl_ignore_networks like so: sub se

Re: Can't use CONF_TYPE_IPADDRLIST in custom plugin

2014-02-20 Thread psychobyte
That was it! Thanks So Much! On 02/20/2014 12:54 AM, Mark Martinec wrote: psychobyte, I'm trying to do some filtering on the originating IP address of a message using a custom plugin on SA-3.3.2-r1 I have this variable set in my .cf file(same as trusted networks var): awl_ignore_net

Re: 20_sought_fraud.cf

2014-05-20 Thread psychobyte
Hi, Has there been any progress on this? We are looking to integrate these rules but, won't bother if the project is abandoned. Thanks, On 03/10/2014 04:42 AM, Justin Mason wrote: On Sat, Mar 8, 2014 at 9:31 PM, John Hardin > wrote: Justin, can you provide a

Re: 20_sought_fraud.cf

2014-05-22 Thread psychobyte
Great! Will do and Thx. On 05/22/2014 12:13 PM, Kevin A. McGrail wrote: On 5/20/2014 3:03 PM, psychobyte wrote: Hi, Has there been any progress on this? We are looking to integrate these rules but, won't bother if the project is abandoned. Thanks, There has been some progress, ye