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?
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
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).