Amavis service Stopped [SOLVED]

Hello,
I have a problem with fetchmail, I can not get mail from my provider, I find in the log:

[err] connection to 127.0.0.1:10024 [127.0.0.1/10024] failed: Connection refused.
[err] SMTP connect to 127.0.0.1/10024 failed
[err] SMTP transaction error while fetching from xxxx@yyyyy.it@pops.yyyyy.it and delivering to SMTP host 127.0.0.1/10024
[info] Query status=10 (SMTP)
[info] terminated with signal 15

I did some checks and I have noticed that Amavisd service is stopped.
Trying to start manually the service it stops immediately.
Any hints?

Ciao
Enzo

P.S. NethServer 6.8

Sometimes the amavisd init script looses control over the amavisd instance. You could try to fix it by either reboot the whole server, or by giving the following commands:

killall amavisd
service amavisd stop
service amavisd start

Ciao Davide,
I have already tried to restart the server and to follow your instructions, but the service is always stopped.
:confused:

Send us some excerpt from log files:

  • /var/log/messages
  • /var/log/maillog

Thanks Davide,
you pointed me in the right direction.
In Maillog I found this lines:
Nov 20 10:23:29 xxxxxxx amavis[5274]: (!!)TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run ‘sa-update’?
Nov 20 10:23:29 xxxxxxx amavis[5274]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run ‘sa-update’?
So,I ran ‘sa-update’ et voilà Amavis service start correctly (and consequently Fetcmail).
:smile:

Grazie e buona domenica.

P.S.
What exactly does ‘sa-update’

2 Likes

IIRC, it updates the SpamAssassin DB of spam checking rules.

1 Like