[BlueOnyx:23514] Re: E-Mail and GeoIP

Storer, Darren darren.storer at gmail.com
Mon Dec 2 09:29:33 -05 2019


Thanks Michael,

The symbolic link was required but the opposite way around that you advised
(is there something else going on?).

Unfortunately, SpamAssassin is being stubborn (showing errors in the log)
and GeoIP claims not to be available but appears to be running:

Dec  2 14:20:48 bugblatter dovecot: master: Dovecot v2.2.36.4 (baf9232c1)
starting up for imap, pop3 (core dumps disabled)
Dec  2 14:20:48 bugblatter sendmail[18183]: starting daemon (8.14.7):
SMTP+queueing at 01:00:00
Dec  2 14:20:48 bugblatter sm-msp-queue[18233]: starting daemon (8.14.7):
queueing at 01:00:00
Dec  2 14:20:48 bugblatter sendmail[18391]: starting daemon (8.14.7):
SMTP+queueing at 01:00:00
Dec  2 14:20:48 bugblatter sm-msp-queue[18408]: starting daemon (8.14.7):
queueing at 01:00:00
Dec  2 14:21:11 bugblatter sendmail[18435]: xB2ELBeY018435: Milter
(spamassassin): local socket name /var/run/spamass.sock unsafe
Dec  2 14:21:11 bugblatter sendmail[18435]: xB2ELBeY018435: Milter
(spamassassin): to error state
Dec  2 14:21:11 bugblatter milter-greylist: GeoIP is not available
Dec  2 14:21:11 bugblatter milter-greylist: smfi_getsymval failed for
{daemon_port}, using default smtp port

# /usr/sausalito/sbin/avspam_init.pl -status
==================================================
| Service:       | GUI:  | AutoStart: | Running: |
==================================================
| Sendmail       |   1   |      1     |     1    |
| Greylist       |   1   |      1     |     0    |
| GeoIP          |   1   |      1     |     1    |
| Spamassassin   |   1   |      1     |     1    |
| Spamass-Milter |   1   |      1     |     0    |
| ClamAV         |   1   |      1     |     1    |
| ClamAV-Milter  |   1   |      1     |     1    |
==================================================
AV-SPAM Email service are in failed state.

MfG

Darren

On Mon, 2 Dec 2019 at 13:37, Michael Stauber <mstauber at blueonyx.it> wrote:

> Hi Darren,
>
> > Recently I installed the AV-SPAM package on 5209R for the GeoIP features
> > but when I start the e-mail server I see the GeoIP errors below (not
> > available) - does anyone know how to go about debugging this?
>
> I just checked. There was a GeoIP update from CentOS, which replaced the
> GeoIP that we have in the BlueOnyx YUM repos.
>
> That messed with which database our GeoIP uses. We're using the legacy
> "GeoLite2 Country", which is available without subscription. It is less
> accurate and no longer being maintained, though.
>
> Check if you have a /usr/share/GeoIP/GeoLiteCountry.dat and that it is
> larger than 0 bytes. It should be around 1.2 MB:
>
> ]# ls -hals /usr/share/GeoIP/GeoLiteCountry.dat
> 1,2M -rw-r--r-- 1 root root 1,2M  1. Apr 2018
> /usr/share/GeoIP/GeoLiteCountry.dat
>
> Your /usr/share/GeoIP/GeoIP.dat *should* be a symbolic link to
> /usr/share/GeoIP/GeoLiteCountry.dat, but the recent update might have
> pointed it to GeoIP-initial.dat instead.
>
> Fix:
>
> rm /usr/share/GeoIP/GeoIP.dat
> ln -s /usr/share/GeoIP/GeoLiteCountry.dat /usr/share/GeoIP/GeoIP.dat
>
> That should fix it.
>
> I will publish a YUM update that will correctly point GeoIP to the right
> database again.
>
> > Dec  2 11:52:43 bugblatter sendmail[14038]: xB2BqhtX014038: Milter
> > (spamassassin): local socket name /var/run/spamass.sock unsafe
> > Dec  2 11:52:43 bugblatter sendmail[14038]: xB2BqhtX014038: Milter
> > (spamassassin): to error state
> Please run this to restart all services in the correct sequence:
>
> /usr/sausalito/sbin/avspam_init.pl -restart
>
> Then check the status with this command and it should be fine:
>
> /usr/sausalito/sbin/avspam_init.pl -status
>
> --
> With best regards
>
> Michael Stauber
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20191202/d27fbbee/attachment.html>


More information about the Blueonyx mailing list