English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

What does this error mean?
Aug 11 11:58:40 sp5044 spamd[25323]: dns: sendto() failed: Connection refused at /usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 339, line 42.

I found some help here, but it's in German:
http://www.linuxforen.de/forums/showthread.php?t=199701

Thanks!

2007-08-11 04:57:12 · 1 answers · asked by alex 2 in Computers & Internet Computer Networking

1 answers

This generally is a DNS failure. You need to verify that DNS is running properly on the machine you are using.

Here is an english thread that may help
http://www.gossamer-threads.com/lists/spamassassin/users/81965

You can also search for just
spamassassin dns:sendto() failed
for even more disscussions.

2007-08-15 03:55:30 · answer #1 · answered by Tracy L 7 · 0 0

ok, first of all. search for babelfish - it translates webpages.

The webpage you saw in german translates tooo:

13.11.05, 12:00 #1
Zalon
Debianuser

Registered since: May 2003
Contributions: 176

Spamassassin: connect tons spamd failed
Hello together,

hope you can me times again help. After a beautiful update of the packages by means of aptitude Spamassassin refuses the service. Everything ran before problem-free, Procmail passed on Mails without any errors at Spamc and these was also good examined. Now I have that here:

Code:

local host spamc[4740 ]: connect(AF_INET) tons spamd
RK 127.0.0.1 failed, retrying (# 1 OF 3): Connection refused

After something gegoogle has I mean Firewall examined, but since I do not have an incorrect access to haven 783 from local host on local host of everything certified and me also in the Logs am announced, it actually cannot be because of it.
Code:

iptables A INPUT i lo s 127.0.0.1 D 127.0.0.1 j ACCEPT of
iptables A OUTPUT o lo s 127.0.0.1 D 127.0.0.1 j ACCEPT

Now I hope for your assistance. Thanks already now.
With quotation answer Old
Zalon
Public profile regard
More contributions of Zalon find
User picture of derRichard 13.11.05, 12:20 #2
derRichard
[ mod ] the qmail guy

derRichard is off-line

Registered since: November 2001
Place: Tirol
Contributions: 2.951

hello!

runs spamd at all?

//richard
__________________
everything is A file and if emergency, it should!
--
if which to swear gives: hexed.nod.at
With quotation answer Old
derRichard
Public profile regard
Visit the homepage of derRichard!
More contributions of derRichard find
Zalon is off-line 13.11.05, 12:54 #3
Zalon
Debianuser

Registered since: May 2003
Contributions: 176

No does not start although in the run levels (like before) is registered. Actually it thought, the error would get off that the thing does not start, but that is probably not like that. The error message comes, if a Mail is passed on, or?

Property in the Logs checked however when starting appears now again only
Code:

local host spamd[2652 ]: logger: removing
stderr method spamd[2654 ]: Error creating A DNS resolver
socket: Network is unreachable RK
/usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm LINE 202.

As far as I see, he can reach also nothing in the InterNet, the ppp connection is only later manufactured. Can this be responsible for the non--starting?

Since I am not been versed with Spamassassin particularly, can I let produce either more Logs, or this error repair?
With quotation answer Old
Zalon
Public profile regard
More contributions of Zalon find
User picture of derRichard 13.11.05, 12:56 #4
derRichard
[ mod ] the qmail guy

derRichard is off-line

Registered since: November 2001
Place: Tirol
Contributions: 2.951

hello!

start spamd simply times by hand and schau, which it makes then.

//richard
__________________
everything is A file and if emergency, it should!
--
if which to swear gives: hexed.nod.at
With quotation answer Old
derRichard
Public profile regard
Visit the homepage of derRichard!
More contributions of derRichard find
Zalon is off-line 13.11.05, 13:09 #5
Zalon
Debianuser

Registered since: May 2003
Contributions: 176

Thanks for the fast answer. It made times in such a way and a Testmail through-hunted.

Result, the Mail is checked throughly, even if there is so an error message here:

Code:

Can't LOCATE Mail/SPF/Query.pm in @INC (@INC contains:
../lib /usr/share/perl5 /etc/perl /usr/local/lib/perl/5.8.7
/usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/lib/perl/5.8
/usr/share/perl//5.8 /usr/local/lib/site_perl) RK
/usr/share/perl5/Mail/SpamAssassin/Plugin/SPF.pm LINE 272, < GEN5 >
LINE 97.

What can I now make to always start except the stuff by hand?
Changed of Zalon (13.11.05 at 13:11 o'clock).
With quotation answer Old
Zalon
Public profile regard
More contributions of Zalon find
Zalon is off-line 19.11.05, 00:17 #6
Zalon
Debianuser

Registered since: May 2003
Contributions: 176

Property now some further-tinkered, Spamassassin is called in the meantime over amavis, and/or better: It should become.

Because after a restart of the crate this "error comes again and again creating A DNS resolver socket" error from above. Amavis rejects then the Mails and Exim4 collects undeliverable Mails.

Does someone have an idea, from where this amusing error comes? Spamassassin is started over the IP-UP.D-Skripte, has thus InterNet connection. Which then with the DNS is, that is me a mystery.

Many, thank you
With quotation answer Old
Zalon
Public profile regard
More contributions of Zalon find
Fly is off-line 19.11.05, 07:47 #7
Fly
Registered user

Registered since: June 2004
Contributions: 788

Quotation:
Quotation of Zalon
Property now some further-tinkered, Spamassassin is called in the meantime over amavis, and/or better: It should become.

Because after a restart of the crate this "error comes again and again creating A DNS resolver socket" error from above. Amavis rejects then the Mails and Exim4 collects undeliverable Mails.

Does someone have an idea, from where this amusing error comes? Spamassassin is started over the IP-UP.D-Skripte, has thus InterNet connection. Which then with the DNS is, that is me a mystery.

Many, thank you
If one calls the Spams over Amavis new, one needs to configure with SA nix. Amavis calls SA on... What did you register in /etc/hosts and/or /etc/resolv.conf?
With quotation answer Old
Fly
Public profile regard
More contributions of Fly find
Zalon is off-line 20.11.05, 11:17 #8
Zalon
Debianuser

Registered since: May 2003
Contributions: 176

Hello,

thus in /etc/resolv.conf my DNS server and afterwards the two DNS IPs of my Internetproviders stand. The DNS runs also, the IPs is correct, the computer can addresses correctly dissolve.

However do I have an assumption, can it be that the Amavis after the Spamassassin be started must, and/or Amavis does not receive a Reload of the Spamassassin?

Alternatively, I can also switch this DN S inquiry off of the Spamassassin, for what is those actually good?

Thank you

Supplement:

Spamassassin does not need to be started over an init script? Did I understand that correctly?
With quotation answer Old
Zalon
Public profile regard
More contributions of Zalon find
Fly is off-line 20.11.05, 16:35 #9
Fly
Registered user

Registered since: June 2004
Contributions: 788

Quotation:
Quotation of Zalon
Hello,

thus in /etc/resolv.conf my DNS server and afterwards the two DNS IPs of my Internetproviders stand. The DNS runs also, the IPs is correct, the computer can addresses correctly dissolve.

However do I have an assumption, can it be that the Amavis after the Spamassassin be started must, and/or Amavis does not receive a Reload of the Spamassassin?

Alternatively, I can also switch this DN S inquiry off of the Spamassassin, for what is those actually good?

Thank you

Supplement:

Spamassassin does not need to be started over an init script? Did I understand that correctly?
No, which must run spamd process, so that amavisd SA can respond. Start times amavisd in debug mode, then you see whether amavisd SA find and/or responded...
With quotation answer Old
Fly
Public profile regard
More contributions of Fly find
Zalon is off-line 24.11.05, 19:30 #10
Zalon
Debianuser

Registered since: May 2003
Contributions: 176

Ok one, thing clarified. After I now amavis likewise in IP-UP-SKRIPTE set and these to the Spamassassin is loaded, everything folds.

Amavis does not recognize a started again Spamassassin thus.

Thanks for the assistance!

2007-08-12 04:47:01 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers