You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by ph...@infolearn.com.au on 2004/05/05 07:49:13 UTC

spamd running, connect(AF_INET) to spamd at 127.0.0.1 failed

Hi to the group,

Spamassassin is not checking my emails yet. One of the tests that is
failing is the following.

cd /usr/local/src/Mail-SpamAssassin-2.63

make test

Which results in the following log file messages.

tail /var/log/mail.err

May  5 23:04:20 emu spamc[24520]: connect(AF_INET) to spamd at 127.0.0.1
failed, retrying (#1 of
3): Connection refused
May  5 23:04:21 emu spamc[24520]: connect(AF_INET) to spamd at 127.0.0.1
failed, retrying (#2 of
3): Connection refused
May  5 23:04:22 emu spamc[24520]: connect(AF_INET) to spamd at 127.0.0.1
failed, retrying (#3 of
3): Connection refused
May  5 23:04:23 emu spamc[24520]: connection attempt to spamd aborted
after 3 retries

I have googled and found that this refers to a case when spamd is not
running, however spamd is running.

ps afx

24813 ? S 0:00 /usr/bin/perl -T -w /usr/bin/spamd -x -u spamd -H
/home/spamd -d -D

More googling of the error revealed that reinstalling spamassassin from
CPAN may be required.

perl -MCPAN -e 'install Mail::SpamAssassin'

This revealed that my build was up to date. When I restarted spamassassin
I still had the same problem.

I am really stuck and need help.

My only though at this stage is that spamassassin is not working since I
have not connected the spamassassin box to the internet.

Regards,
Phillip Lucs

Re: spamd running, connect(AF_INET) to spamd at 127.0.0.1 failed

Posted by George Chelidze <wr...@geo.net.ge>.
Hello,

philliplucs@infolearn.com.au wrote:
> Hi to the group,
> 
> Spamassassin is not checking my emails yet. One of the tests that is
> failing is the following.
> 
> cd /usr/local/src/Mail-SpamAssassin-2.63
> 
> make test
> 
> Which results in the following log file messages.
> 
> tail /var/log/mail.err
> 
> May  5 23:04:20 emu spamc[24520]: connect(AF_INET) to spamd at 127.0.0.1
> failed, retrying (#1 of
> 3): Connection refused
> May  5 23:04:21 emu spamc[24520]: connect(AF_INET) to spamd at 127.0.0.1
> failed, retrying (#2 of
> 3): Connection refused
> May  5 23:04:22 emu spamc[24520]: connect(AF_INET) to spamd at 127.0.0.1
> failed, retrying (#3 of
> 3): Connection refused
> May  5 23:04:23 emu spamc[24520]: connection attempt to spamd aborted
> after 3 retries

What about checking:

netstat -lnp | grep spamd

it should listen on tcp/783

if it's there then spamd is listening for connections and spamc is 
unable to connect. Check you firewall rules. Maybe you are blocking the 
connections?

> I have googled and found that this refers to a case when spamd is not
> running, however spamd is running.
> 
> ps afx
> 
> 24813 ? S 0:00 /usr/bin/perl -T -w /usr/bin/spamd -x -u spamd -H
> /home/spamd -d -D
> 
> More googling of the error revealed that reinstalling spamassassin from
> CPAN may be required.
> 
> perl -MCPAN -e 'install Mail::SpamAssassin'
> 
> This revealed that my build was up to date. When I restarted spamassassin
> I still had the same problem.
> 
> I am really stuck and need help.
> 
> My only though at this stage is that spamassassin is not working since I
> have not connected the spamassassin box to the internet.
> 
> Regards,
> Phillip Lucs
> 
> 


Best Regards,

-- 
George Chelidze