HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Postfix Email bounce - Connection error: 'Cannot resolve address.' (http://www.howtoforge.com/forums/showthread.php?t=27183)

SamStorer 27th September 2008 00:34

Postfix Email bounce - Connection error: 'Cannot resolve address.'
 
I have recently completed an install of the Community edition of Zarafa 6.20 on Ubuntu 8.04.

z-push works fine, so does SMTP inbound and WebAccess. But I am having an issue with outgoing mail -- i get a bounce message saying "Connection error: 'Cannot resolve address.'"

Here are the entries from spooler.log:
Fri Sep 26 10:53:30 2008: 0xb750cb90: Sending e-mail for user sam, subject: '<subject>', size: 8570
Fri Sep 26 10:53:30 2008: Connection error: 'Cannot resolve address.'.
Fri Sep 26 10:53:30 2008: 0xb750cb90: E-mail for user sam could not be sent, notifying user
Fri Sep 26 10:53:30 2008: 0xb750cb90: Removing failed message from queue

I used wireshark to sniff the traffic from the server -- it does not catch any attempt to connect out on port 25 but it does catch an attempt to resolve DNS for yes.samantix.com, a server I have never heard of or configured -- where is this server name coming from? I do not see it in any of the postfix or zarafa configuration files...

SamStorer
Junior Member

Posts: 3
Joined: 2008-09-26, 07:55

* E-mail

falko 27th September 2008 13:52

Do you have valid name servers in /etc/resolv.conf?

SamStorer 27th September 2008 18:07

/etc/resolv.conf is fine - all DNS is working. I am puzzled where it gets 'yes.samantix.com' in the first place -- it is a non-existent server name in my domain, and the test email is being sent to a gmail.com address.

/var/log/zarafa/spooler.log, where the Connection Error is reported, is a Zarafa log -- maybe Zarafa is looking for yes.samantix.com as it's SMTP server/ postfix destination, but I don't know how or why.

/etc/zarafa/spooler.cfg includes the lines:
Code:

# Outgoing mailserver name or IP address
smtp_server        =        localhost


falko 28th September 2008 13:44

What's the output of
Code:

hostname -f
? What's in /etc/hosts?

SamStorer 28th September 2008 18:31

Code:

hostname -f
UBU-2225

/etc/hosts
Code:

127.0.0.1        localhost
127.0.1.1        UBU-2225

# The following lines are desirable for IPv6 capable hosts
::1    ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


falko 29th September 2008 17:46

Does your server have a public IP address? If so, what does
Code:

dig -x 1.2.3.4
show (replace 1.2.3.4 with your IP)?


All times are GMT +2. The time now is 11:40.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.