1 (edited by JeeGee 2014-12-01 17:25:15)

Topic: Re: Error messages from cron after clamav update to 0.98.5

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: CentOS 6.5
- Related log if you're reporting an issue:
====

Because the other topic is already closed, I opened a new one, sorry.

The locations mentioned, don't extist:
/usr/share/perl5/Mail/SpamAssassin/Conf/Parser.pm
/usr/share/perl5/Mail/SpamAssassin/Conf.pm

But I do see these:
# locate Parser.pm
/usr/lib/perl5/HTML/Parser.pm
/usr/share/perl5/MIME/Parser.pm
/usr/share/perl5/Pod/Parser.pm
/usr/share/perl5/TAP/Parser.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm

# locate Conf.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf.pm

Am I right that it should be:
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf/Parser.pm
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Conf.pm

Ok I gave it a try:

#patch Conf.pm < parser.pm.patch
patching file Conf.pm
Hunk #1 FAILED at 533.
1 out of 1 hunk FAILED -- saving rejects to file Conf.pm.rej

# patch Conf.pm < conf.pm.patch
patching file Conf.pm
Hunk #1 succeeded at 3207 (offset -679 lines).

So first one fails. Content of Conf.pn.rej
--- Parser.pm   2014/11/27 18:51:04     1642206
+++ Parser.pm   2014/11/27 18:54:32     1642207
@@ -533,6 +533,9 @@
     elsif ($token eq 'version') {
       $eval .= $Mail::SpamAssassin::VERSION." ";
     }
+    elsif ($token eq 'perl_version') {
+      $eval .= $]." ";
+    }
     elsif ($token =~ /^\w[\w\:]+$/) { # class name
       my $u = untaint_var($token);
       $eval .= '"' . $u . '" ';


Anyone?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Re: Error messages from cron after clamav update to 0.98.5

Same topic title, yesterday:
http://www.iredmail.org/forum/topic8337 … -0985.html