Changing mail server name

Discussion in 'Installation/Configuration' started by tristanlee85, Apr 3, 2008.

  1. tristanlee85

    tristanlee85 New Member

    I recently changed my nameservers, but when I run a diagnostic tool on my mail server, it still shows my old hostname and no mail is being delivered.

    I am running FC7 and Postfix. I've look in the file and I don't see anything and I believe I have change my hostname elsewhere that I could find so I'm not sure what else needs changed.
  2. topdog

    topdog Active Member

    Are your name servers returning the correct MX record ?
  3. tristanlee85

    tristanlee85 New Member

    When I do a MX lookup, it's returning the correct hostname, but when I run a test on the server to check for open relays and such, it's returning my old hostname.

    Because of this, I believe it's why I am not receiving any e-mail.
  4. falko

    falko Super Moderator ISPConfig Developer

    Any errors in your mail log? What's in /etc/postfix/ What are the outputs of
    hostname -f
  5. tristanlee85

    tristanlee85 New Member

    Well actually I found a line I had skipped over before it /etc/postfix/ that had my old hostname. I changed it and that worked.

    Now, I seem to be getting these messages now:

    Return-Path: <>
     X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on
     X-Spam-Status: No, score=-0.0 required=5.0 tests=NO_RELAYS autolearn=ham
     X-Original-To: [email protected]
     Delivered-To: [email protected]
     Received: by (Postfix)
            id 923CC10FA04; Fri,  4 Apr 2008 16:33:35 -0400 (EDT)
     Date: Fri,  4 Apr 2008 16:33:35 -0400 (EDT)
     From: [email protected] (Mail Delivery System)
     Subject: Undelivered Mail Returned to Sender
     To: [email protected]
     Auto-Submitted: auto-replied
     MIME-Version: 1.0
     Content-Type: multipart/report;
     Content-Transfer-Encoding: 8bit
     Message-Id: <[email protected]>
     Status: R
     X-Status: NC
    This is the mail system at host
    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]>: host[] said:
        553 does not exist (in reply to MAIL FROM
    Is this happening because of reverse DNS issues?
  6. topdog

    topdog Active Member

    I think its the actually hostname is it dnsed and does it resolve ?

Share This Page