Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th September 2008, 00:34
SamStorer SamStorer is offline
Junior Member
 
Join Date: Sep 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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

Last edited by SamStorer; 27th September 2008 at 01:21.
Reply With Quote
Sponsored Links
  #2  
Old 27th September 2008, 13:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Do you have valid name servers in /etc/resolv.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 27th September 2008, 18:07
SamStorer SamStorer is offline
Junior Member
 
Join Date: Sep 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

/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
Reply With Quote
  #4  
Old 28th September 2008, 13:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

What's the output of
Code:
hostname -f
? What's in /etc/hosts?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 28th September 2008, 18:31
SamStorer SamStorer is offline
Junior Member
 
Join Date: Sep 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #6  
Old 29th September 2008, 17:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
 
Default

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)?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
postfix, zarafa

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
please help to configure postfix to download mail from a catch all email account mmi1982 Server Operation 2 28th July 2008 05:02
Virtual Users With Postfix, PostfixAdmin, Courier, Mailscanner,Mailwatch CentOS 5.2 tecstream HOWTO-Related Questions 3 16th July 2008 22:10
debian etch courier pop3 issue docean Installation/Configuration 6 20th March 2008 15:38
postfix starts and stops why lhatle Installation/Configuration 2 21st December 2005 15:20


All times are GMT +2. The time now is 22:42.


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