Postfix Email bounce - Connection error: 'Cannot resolve address.'

Discussion in 'Server Operation' started by SamStorer, Sep 27, 2008.

  1. SamStorer

    SamStorer New Member

    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, 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...

    Junior Member

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

    * E-mail
    Last edited: Sep 27, 2008
  2. falko

    falko Super Moderator ISPConfig Developer

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

    SamStorer New Member

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

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

    /etc/zarafa/spooler.cfg includes the lines:
    # Outgoing mailserver name or IP address
    smtp_server	=	localhost
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    hostname -f
    ? What's in /etc/hosts?
  5. SamStorer

    SamStorer New Member

    hostname -f

    Code:	localhost	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
  6. falko

    falko Super Moderator ISPConfig Developer

    Does your server have a public IP address? If so, what does
    dig -x
    show (replace with your IP)?

Share This Page