>> On Apr 30, 2015, at 1:29 PM, Kevin A. McGrail <kmcgr...@pccc.com> 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 relay it.  It also should hide the informat
> Can you try this in your milter? Untested but based on discussions with DFS 
> from MD:  $SASpamTester = Mail::SpamAssassin->new( debug=>"TxRep" )
> 
> Regards,
> KAM

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.

Regards,

Mimedefang log extract:

Apr 30 14:51:22 mailsys mimedefang-multiplexor[12711]: started;
minSlaves=2, maxSlaves=10, maxRequests=500, maxIdleTime=300, busyTim
eout=600, clientTimeout=10
Apr 30 14:51:22 mailsys mimedefang-multiplexor[12711]: Starting slave 0
(pid 12713) (1 running): Bringing slaves up to minSlaves (2)
Apr 30 14:51:22 mailsys mimedefang[12727]: IP validation header is
X-MIMEDefang-Relay-b2b825afac8a3d1ce58c1f997293ee3a75854c05
Apr 30 14:51:22 mailsys mimedefang[12727]: MIMEDefang alive.
slavesReservedForLoopback=-1 AllowNewConnectionsToQueue=0 doRelayCheck=
0 doHeloCheck=1 doSenderCheck=1 doRecipientCheck=1
Apr 30 14:51:22 mailsys mimedefang[12727]: Multiplexor alive - entering
main loop
Apr 30 14:51:22 mailsys mimedefang-multiplexor[12711]: Slave 0 stderr:
Can't locate object method "new" via package "Mail::SpamAssas
sin" at /usr/local/etc/mimedefang/mimedefang-filter line 66.
Apr 30 14:51:22 mailsys mimedefang-multiplexor[12711]: Slave 0 stderr:
Compilation failed in require at /usr/local/bin/mimedefang.pl
line 5279.
Apr 30 14:51:22 mailsys mimedefang-multiplexor[12711]: Reap: slave 0 (pid
12713) exited normally with status 255 (SLAVE DIED UNEXPEC
TEDLY)
Apr 30 14:51:22 mailsys mimedefang-multiplexor[12711]: Slave 0 resource
usage: req=0, scans=0, user=0.337, sys=0.031, nswap=0, majfl
t=0, minflt=1966, maxrss=10788, bi=0, bo=0


TxRep diff:

#diff TxRep.original
/usr/local/lib/perl5/site_perl/5.16/Mail/SpamAssassin/Plugin/TxRep.pm 

1384a1385,1406
>  {
>     #Bug 7164, trying to find out reason for these: _WARN: Use of
uninitialized value $msgscore in addition (+) at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/TxRep.pm line 1415.
>     no warnings;
> 
>     unless (defined $msgscore) {
>       #Output some params and the calling function so we can identify
more about this bug
>       dbg("TxRep: Parameters: self: $self storage: $storage pms: $pms,
key: $key, id: $id, ip: $ip, signedby: $signedby, msgscore: $msgscore");
>       dbg("TxRep: weight: $weight");
> 
>       my ($package, $filename, $line) = caller();
> 
>       chomp($package);
>       chomp($filename);
>       chomp($line);
> 
>       dbg("TxRep: $msgscore undefined - Caller Info: Package: $package
- Filename: $filename - Line: $line");
> 
>       #Define $msgscore as a triage to hide warnings while we find the
root cause
>       $msgscore = 0;
>     }
>   }
> 


Mimedefang diff:

#diff /usr/local/etc/mimedefang/mimedefang-filter
/usr/local/etc/mimedefang/mimedefang-filter.before.patch

63,68d62
< # TxRep $msgscore debug patch activation 
< # per KAM email 4/30/2015 @ 13:29
< #***********************************************************************
< $SASpamTester = Mail::SpamAssassin->new(debug=>"TxRep");
< 
< #***********************************************************************




Reply via email to