<div dir="ltr"><div class="gmail_default" style="font-size:small">Thanks Michael,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The symbolic link was required but the opposite way around that you advised (is there something else going on?).</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Unfortunately, SpamAssassin is being stubborn (showing errors in the log) and GeoIP claims not to be available but appears to be running:<br><br><font face="monospace">Dec  2 14:20:48 bugblatter dovecot: master: Dovecot v2.2.36.4 (baf9232c1) starting up for imap, pop3 (core dumps disabled)<br>Dec  2 14:20:48 bugblatter sendmail[18183]: starting daemon (8.14.7): SMTP+queueing@01:00:00<br>Dec  2 14:20:48 bugblatter sm-msp-queue[18233]: starting daemon (8.14.7): queueing@01:00:00<br>Dec  2 14:20:48 bugblatter sendmail[18391]: starting daemon (8.14.7): SMTP+queueing@01:00:00<br>Dec  2 14:20:48 bugblatter sm-msp-queue[18408]: starting daemon (8.14.7): queueing@01:00:00<br>Dec  2 14:21:11 bugblatter sendmail[18435]: xB2ELBeY018435: Milter (spamassassin): local socket name /var/run/spamass.sock unsafe<br>Dec  2 14:21:11 bugblatter sendmail[18435]: xB2ELBeY018435: Milter (spamassassin): to error state<br>Dec  2 14:21:11 bugblatter milter-greylist: GeoIP is not available<br>Dec  2 14:21:11 bugblatter milter-greylist: smfi_getsymval failed for {daemon_port}, using default smtp port<br></font></div><div class="gmail_default" style="font-size:small"><font face="monospace"><br></font></div><div class="gmail_default" style="font-size:small"><font face="monospace"># /usr/sausalito/sbin/<a href="http://avspam_init.pl">avspam_init.pl</a> -status<br>==================================================<br>| Service:       | GUI:  | AutoStart: | Running: |<br>==================================================<br>| Sendmail       |   1   |      1     |     1    |<br>| Greylist       |   1   |      1     |     0    |<br>| GeoIP          |   1   |      1     |     1    |<br>| Spamassassin   |   1   |      1     |     1    |<br>| Spamass-Milter |   1   |      1     |     0    |<br>| ClamAV         |   1   |      1     |     1    |<br>| ClamAV-Milter  |   1   |      1     |     1    |<br>==================================================<br>AV-SPAM Email service are in failed state.</font><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">MfG</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Darren</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 2 Dec 2019 at 13:37, Michael Stauber <<a href="mailto:mstauber@blueonyx.it">mstauber@blueonyx.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Darren,<br>
<br>
> Recently I installed the AV-SPAM package on 5209R for the GeoIP features<br>
> but when I start the e-mail server I see the GeoIP errors below (not<br>
> available) - does anyone know how to go about debugging this?<br>
<br>
I just checked. There was a GeoIP update from CentOS, which replaced the<br>
GeoIP that we have in the BlueOnyx YUM repos.<br>
<br>
That messed with which database our GeoIP uses. We're using the legacy<br>
"GeoLite2 Country", which is available without subscription. It is less<br>
accurate and no longer being maintained, though.<br>
<br>
Check if you have a /usr/share/GeoIP/GeoLiteCountry.dat and that it is<br>
larger than 0 bytes. It should be around 1.2 MB:<br>
<br>
]# ls -hals /usr/share/GeoIP/GeoLiteCountry.dat<br>
1,2M -rw-r--r-- 1 root root 1,2M  1. Apr 2018<br>
/usr/share/GeoIP/GeoLiteCountry.dat<br>
<br>
Your /usr/share/GeoIP/GeoIP.dat *should* be a symbolic link to<br>
/usr/share/GeoIP/GeoLiteCountry.dat, but the recent update might have<br>
pointed it to GeoIP-initial.dat instead.<br>
<br>
Fix:<br>
<br>
rm /usr/share/GeoIP/GeoIP.dat<br>
ln -s /usr/share/GeoIP/GeoLiteCountry.dat /usr/share/GeoIP/GeoIP.dat<br>
<br>
That should fix it.<br>
<br>
I will publish a YUM update that will correctly point GeoIP to the right<br>
database again.<br>
<br>
> Dec  2 11:52:43 bugblatter sendmail[14038]: xB2BqhtX014038: Milter<br>
> (spamassassin): local socket name /var/run/spamass.sock unsafe<br>
> Dec  2 11:52:43 bugblatter sendmail[14038]: xB2BqhtX014038: Milter<br>
> (spamassassin): to error state<br>
Please run this to restart all services in the correct sequence:<br>
<br>
/usr/sausalito/sbin/<a href="http://avspam_init.pl" rel="noreferrer" target="_blank">avspam_init.pl</a> -restart<br>
<br>
Then check the status with this command and it should be fine:<br>
<br>
/usr/sausalito/sbin/<a href="http://avspam_init.pl" rel="noreferrer" target="_blank">avspam_init.pl</a> -status<br>
<br>
-- <br>
With best regards<br>
<br>
Michael Stauber<br>
_______________________________________________<br>
Blueonyx mailing list<br>
<a href="mailto:Blueonyx@mail.blueonyx.it" target="_blank">Blueonyx@mail.blueonyx.it</a><br>
<a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx" rel="noreferrer" target="_blank">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><br>
</blockquote></div>