Email Issues

Discussion in 'Installation/Configuration' started by neilsaab, Apr 7, 2009.

  1. neilsaab

    neilsaab New Member

    Hi guys,

    I am having some email issues with my installation of ispconfig 2.2.25. If I send an email to any of my users on any of my domains, the email obviously reaches the server but I then get an error message returned from my server.
    I know this has to be a simple config error, almost certainly on my part, but I really want to get this sorted out please.

    This is what I get from the server.

    HTML:
    This is the mail system at host cpc2-norw3-0-0-cust15.
    
    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.
    
    For further assistance, please send mail to postmaster.
    
    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.
    
                       The mail system
    
    <[email protected]> (expanded from
        <[email protected]>): Host or domain name not found. Name
        service error for name=cpc2-norw3-0-0-cust15.localdomain type=A: Host not
        found
    HTML:
    Reporting-MTA: dns; cpc2-norw3-0-0-cust15
    X-Postfix-Queue-ID: 7FE8EF504DC
    X-Postfix-Sender: rfc822; [email protected]
    Arrival-Date: Tue,  7 Apr 2009 11:02:58 퍝㐅Ⓟ詶ꕅ꘧Ꞷ럜끹뺭蚊垠誉?춧ꊼ㟓䜮닝禖蜚闚♪⧎긨⊝ꥑ秈ꦉ: rfc822;[email protected]
    Action: failed
    Status: 5.4.4
    Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
        for name=cpc2-norw3-0-0-cust15.localdomain type=A: Host not found
    Any help or pointers in the right direction would be greatly appreciated.

    Neil
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Do you use cpc2-norw3-0-0-cust15.localdomain in /etc/postfix/main.cf? What are the outputs of
    Code:
    hostname
    and
    Code:
    hostname -f
    ? What's in /etc/hosts?
     
  3. neilsaab

    neilsaab New Member

    Thanks for the response.

    The strange hostname is due to Virgin. In order to use a static IP they insist on setting the hostname via dhcp.

    Both hostname and hostname -f give
    HTML:
    cpc2-norw3-0-0-cust15.pete.cable.ntl.com
    /etc/postfix/main.cf has
    HTML:
    myhostname = cpc2-norw3-0-0-cust15
    This is /etc/hosts
    HTML:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    82.22.68.16             cpc2-norw3-0-0-cust15.pete.cable.ntl.com cpc2-norw3-0-0-cust15
    ::1             localhost6.localdomain6 localhost6
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Please run
    Code:
    postconf -e 'myhostname = cpc2-norw3-0-0-cust15.pete.cable.ntl.com'
    /etc/init.d/postfix restart
     
  5. neilsaab

    neilsaab New Member

    Thanks Falko, worked a treat. I knew it would be something silly I'd missed.
     

Share This Page