Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Brian Read on December 31, 2002, 03:45:14 PM

Title: fetchmail DNS failure
Post by: Brian Read on December 31, 2002, 03:45:14 PM
I'm getting this:

fetchmail: couldn't find canonical DNS name of mail.cix.co.uk
all mailserver name lookups failed, exiting

Despite the /etc/fetchmail has no mention of the "mail.cix.co.uk" as I have replaced it with the IP address.

any ideas?

cheers

Brian
Title: Re: fetchmail DNS failure
Post by: Brian Read on December 31, 2002, 07:28:08 PM
Sorry, ignore this, the error was from the "other" server which had not been editted. All the same I can't see why the lookup is now failing when it has worked for almost a year!!

cheers

Brian
Title: Re: fetchmail DNS failure
Post by: jeroen on December 31, 2002, 07:42:33 PM
maybe they changed the dns entry for that server???
Title: Re: fetchmail DNS failure
Post by: Charlie Brady on December 31, 2002, 08:22:06 PM
Brian  Read wrote:

> All the same I can't see why the
> lookup is now failing when it has worked for almost a year!!

You've never known anyone to break their DNS configuration?

Charlie
Title: Re: fetchmail DNS failure
Post by: Brian Read on January 01, 2003, 01:54:13 PM
I can 'ping' the name fine, so I guess that means that the DNS entry is ok.  It just fails (now) in fetchmail (on both servers), when it worked up to about a 2 days ago.
I did switch one server from Server to Server+Gateway, which means i am now using the SMEserver internal DNS, rather than the one on the Ipcop firewall.

B.
Title: Re: fetchmail DNS failure
Post by: Dean Mumby on January 03, 2003, 01:13:05 PM
check your templates - are you using multipop ?

make sure there is a line
$OUT .= " no dns \n";

right after the protocol line.

Fetchmail is performing dns queries on all addresses in the email headers and barfs if it cant resolve them all.
Title: Re: fetchmail DNS failure
Post by: Brian Read on January 03, 2003, 06:59:58 PM
I am and have added the 'no dns' to the template and that seems to have worked.  The templates I am using are generated by Stephen Noble's multiple mailbox contribution, so he needs to add that to his distributed code - are you there stephen?

cheers

Brian