Koozali.org: home of the SME Server

fetchmail DNS failure

Brian Read

fetchmail DNS failure
« 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

Brian Read

Re: fetchmail DNS failure
« Reply #1 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

jeroen

Re: fetchmail DNS failure
« Reply #2 on: December 31, 2002, 07:42:33 PM »
maybe they changed the dns entry for that server???

Charlie Brady

Re: fetchmail DNS failure
« Reply #3 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

Brian Read

Re: fetchmail DNS failure
« Reply #4 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.

Dean Mumby

Re: fetchmail DNS failure
« Reply #5 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.

Brian Read

Re: fetchmail DNS failure
« Reply #6 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