Re: TxRep $msgscore warning

2015-05-05 Thread Kevin A. McGrail
On 5/5/2015 10:12 AM, J.J. Day wrote: It seemed simpler so I selected Choice A. This is the diff of Diff looks good. and restarted mimedefang. But the logs still look the same. Wherever you normally get the unintialized errors prior... This and the patch to TxRep are currently the only code

Re: TxRep $msgscore warning

2015-05-05 Thread Kevin A. McGrail
On 5/5/2015 1:54 PM, Carlos Velasco wrote: Yes, spamc/spamd. Ahh. What MTA are you using? And if you are getting the uninitialized warnings, can you send me an example email off list? regards, KAM

Re: TxRep $msgscore warning

2015-05-05 Thread Carlos Velasco
Yes, spamc/spamd. Regards Original Message Subject: Re: TxRep $msgscore warning From: Kevin A. McGrail To: Carlos Velasco , users@spamassassin.apache.org Date: 5/5/2015 19:53:00 > On 5/5/2015 7:59 AM, Carlos Velasco wrote: >> Hi, >> >> After activating T

Re: TxRep $msgscore warning

2015-05-05 Thread Kevin A. McGrail
On 5/5/2015 7:59 AM, Carlos Velasco wrote: Hi, After activating TxRep I always receive these warnings. I use mysql for TxRep and I see a lot of "@sa_generated" entries in the database, don't know if they are right. I have activated all spamd debugs and included your block in TxRep. T

Re: TxRep $msgscore warning

2015-05-05 Thread J.J. Day
Hi KAM, It seemed simpler so I selected Choice A. This is the diff of mimeassassin.pl: 6839a6840,6856 #*** > # %spam_assassin_init debug channel mod > # From: "Kevin A. McGrail" > # Subject: Re: TxRe

Re: Re: TxRep $msgscore warning

2015-05-05 Thread Carlos Velasco
tion(undef,@_); } } return $delta; } === Regards, Carlos Velasco Original Message Subject: Re: TxRep $msgscore warning From: Kevin A. McGrail To: J.J. Day , Joe Quinn Cc: "users@spamassassin.apache.org" , Date: Thu, 30 Apr 2015 13:15:07 -0400 > On 4/30/2015 11:44

Re: TxRep $msgscore warning

2015-05-04 Thread Mark Martinec
my $sa_args = { local_tests_only => $SALocalTestsOnly, dont_copy_prefs=> 1, userprefs_filename => $config, user_dir => $Features{'Path:QUARANTINEDIR'}, debug => 'TxRep' };

Re: TxRep $msgscore warning

2015-05-04 Thread Kevin A. McGrail
From more discussins, there are two ways with MD to activate the TxRep debug channel if you using spam_assassin_init in your filter. Choice A) modify mimedefang.pl directly, i.e. spam_assassin_init to add the debug channel: my $sa_args = { local_tests_only => $SALocalTestsO

Re: TxRep $msgscore warning

2015-05-04 Thread Kevin A. McGrail
On 5/4/2015 10:12 AM, Birta Levente wrote: I see messages in the log by the added code in TxRep.pm with: amavisd.conf: $sa_debug = 1; Is there a way to tighten that to just show TxRep debug messages? Regards, KAM

Re: TxRep $msgscore warning

2015-05-04 Thread Birta Levente
On 04/05/2015 16:51, Kevin A. McGrail wrote: On 5/4/2015 9:03 AM, Birta Levente wrote: On 30/04/2015 18:08, Kevin A. McGrail wrote: On 4/30/2015 9:56 AM, Birta Levente wrote: Spamassassin called through amavisd as a content filter in postfix. I just see, if I send an emtpy mail (just the subj

Re: TxRep $msgscore warning

2015-05-04 Thread Kevin A. McGrail
On 5/4/2015 9:03 AM, Birta Levente wrote: On 30/04/2015 18:08, Kevin A. McGrail wrote: On 4/30/2015 9:56 AM, Birta Levente wrote: Spamassassin called through amavisd as a content filter in postfix. I just see, if I send an emtpy mail (just the subject is "test") through my server, fire the wa

Re: TxRep $msgscore warning

2015-05-04 Thread Birta Levente
On 30/04/2015 18:08, Kevin A. McGrail wrote: On 4/30/2015 9:56 AM, Birta Levente wrote: Spamassassin called through amavisd as a content filter in postfix. I just see, if I send an emtpy mail (just the subject is "test") through my server, fire the warning. The mail is sent as an authenticated

Re: TxRep $msgscore warning

2015-05-01 Thread Kevin A. McGrail
On 4/30/2015 4:51 PM, J.J. Day wrote: I may have done something wrong. Mimedefang is dying with an error. I attached the defang log portion and the diffs for TxRep and mimedefang. Sorry JJ, My lack of clarity. For MD, I didn't want you to add an entire line, just the parameter to your SpamAss

Re: TxRep $msgscore warning

2015-04-30 Thread J.J. Day
>> On Apr 30, 2015, at 1:29 PM, Kevin A. McGrail wrote: >> >> On 4/30/2015 1:15 PM, Kevin A. McGrail wrote: >> Can you add this block of code above line 1386 in the current TxRep.pm? >> Then we'll try and figure out how to enable the TxRep debug channel from MD >> so you can log the info and

Re: TxRep $msgscore warning

2015-04-30 Thread Kevin A. McGrail
On 4/30/2015 1:15 PM, Kevin A. McGrail wrote: Can you add this block of code above line 1386 in the current TxRep.pm? Then we'll try and figure out how to enable the TxRep debug channel from MD so you can log the info and relay it. It also should hide the informat Can you try this in your mil

Re: TxRep $msgscore warning

2015-04-30 Thread Kevin A. McGrail
On 4/30/2015 11:44 AM, J.J. Day wrote: FWIW, I switched to TxRep several months ago. Every message generates both error lines. I have added a test to initialize $msgscore to avoid filling my log files. Spam messages seem to all generate a negative offset of ~1/3 the total. I copied a sample to

Re: TxRep $msgscore warning

2015-04-30 Thread J.J. Day
FWIW, I switched to TxRep several months ago. Every message generates both error lines. I have added a test to initialize $msgscore to avoid filling my log files. Spam messages seem to all generate a negative offset of ~1/3 the total. I copied a sample to the end. My setup is: FreeBSD 10.0 Send

Re: TxRep $msgscore warning

2015-04-30 Thread Kevin A. McGrail
On 4/30/2015 9:56 AM, Birta Levente wrote: Spamassassin called through amavisd as a content filter in postfix. I just see, if I send an emtpy mail (just the subject is "test") through my server, fire the warning. The mail is sent as an authenticated user, in amavis I have special policy bank f

Re: TxRep $msgscore warning

2015-04-30 Thread Birta Levente
On 30/04/2015 16:35, Joe Quinn wrote: On 4/30/2015 9:22 AM, Joe Quinn wrote: On 4/30/2015 9:10 AM, Birta Levente wrote: On 30/04/2015 15:55, Joe Quinn wrote: On 4/30/2015 7:09 AM, Birta Levente wrote: Hi I saw the bug report about TxRep warning: _WARN: Use of uninitialized value $msgscore in

Re: TxRep $msgscore warning

2015-04-30 Thread Joe Quinn
On 4/30/2015 9:22 AM, Joe Quinn wrote: On 4/30/2015 9:10 AM, Birta Levente wrote: On 30/04/2015 15:55, Joe Quinn wrote: On 4/30/2015 7:09 AM, Birta Levente wrote: Hi I saw the bug report about TxRep warning: _WARN: Use of uninitialized value $msgscore in addition (+) at /usr/share/perl5/vend

Re: TxRep $msgscore warning

2015-04-30 Thread Joe Quinn
On 4/30/2015 9:10 AM, Birta Levente wrote: On 30/04/2015 15:55, Joe Quinn wrote: On 4/30/2015 7:09 AM, Birta Levente wrote: Hi I saw the bug report about TxRep warning: _WARN: Use of uninitialized value $msgscore in addition (+) at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/TxRep.p

Re: TxRep $msgscore warning

2015-04-30 Thread Birta Levente
On 30/04/2015 15:55, Joe Quinn wrote: On 4/30/2015 7:09 AM, Birta Levente wrote: Hi I saw the bug report about TxRep warning: _WARN: Use of uninitialized value $msgscore in addition (+) at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/TxRep.pm line 1415. _WARN: Use of uninitialized v

Re: TxRep $msgscore warning

2015-04-30 Thread Joe Quinn
On 4/30/2015 7:09 AM, Birta Levente wrote: Hi I saw the bug report about TxRep warning: _WARN: Use of uninitialized value $msgscore in addition (+) at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/TxRep.pm line 1415. _WARN: Use of uninitialized value $msgscore in subtraction (-) I ju

TxRep $msgscore warning

2015-04-30 Thread Birta Levente
Hi I saw the bug report about TxRep warning: _WARN: Use of uninitialized value $msgscore in addition (+) at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/TxRep.pm line 1415. _WARN: Use of uninitialized value $msgscore in subtraction (-) I just wonder if there is any workaroung for tha