Re: Seeing "razor2 had unknown error during get_server_info"

2021-08-14 Thread Philip Prindeville
Asked and answered:

http://forum.centos-webpanel.com/index.php?topic=5505.0

Need to open outgoing port 2703 (TCP) for the mail server.


> On Aug 14, 2021, at 12:37 PM, Philip Prindeville 
>  wrote:
> 
> Hi all,
> 
> A few days ago, I started seeing this in my /var/log/maillog:
> 
> Aug 14 12:15:07 mail mimedefang-multiplexor[141367]: 17EIF11E226383: Worker 4 
> stderr: razor2: razor2 check failed: Connection refused razor2: razor2 had 
> unknown error during get_server_info at 
> /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Razor2.pm line 188. at 
> /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Razor2.pm line 331.
> 
> Around 2021-08-08.  Not sure what changed at that time.  I googled a bit and 
> found this from 2 years ago:
> 
> https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/1819977
> 
> But I'm running Fedora 33 (updated).  Note Fedora still ships with 2.85 even 
> though 2.86 has been out more than 2 years and there's a request to update it:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1584474
> 
> I added to the end of my /etc/mail/spamassassin/local.cf
> 
> razor_config /etc/razor/razor-agent.conf
> 
> Which contains one line:
> 
> logfile none
> 
> Anyone else seeing a similar issue or know a fix?
> 
> Thanks,
> 
> -Philip
> 



Seeing "razor2 had unknown error during get_server_info"

2021-08-14 Thread Philip Prindeville
Hi all,

A few days ago, I started seeing this in my /var/log/maillog:

Aug 14 12:15:07 mail mimedefang-multiplexor[141367]: 17EIF11E226383: Worker 4 
stderr: razor2: razor2 check failed: Connection refused razor2: razor2 had 
unknown error during get_server_info at 
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Razor2.pm line 188. at 
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Razor2.pm line 331.

Around 2021-08-08.  Not sure what changed at that time.  I googled a bit and 
found this from 2 years ago:

https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/1819977

But I'm running Fedora 33 (updated).  Note Fedora still ships with 2.85 even 
though 2.86 has been out more than 2 years and there's a request to update it:

https://bugzilla.redhat.com/show_bug.cgi?id=1584474

I added to the end of my /etc/mail/spamassassin/local.cf

razor_config /etc/razor/razor-agent.conf

Which contains one line:

logfile none

Anyone else seeing a similar issue or know a fix?

Thanks,

-Philip