#1  
Old 3rd April 2008, 17:05
tristanlee85 tristanlee85 is offline
Senior Member
 
Join Date: Apr 2006
Posts: 199
Thanks: 3
Thanked 2 Times in 2 Posts
Default Changing mail server name

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 main.cf 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.
Reply With Quote
Sponsored Links
  #2  
Old 3rd April 2008, 18:25
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Are your name servers returning the correct MX record ?
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 4th April 2008, 01:13
tristanlee85 tristanlee85 is offline
Senior Member
 
Join Date: Apr 2006
Posts: 199
Thanks: 3
Thanked 2 Times in 2 Posts
Default

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.
Reply With Quote
  #4  
Old 4th April 2008, 19:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Any errors in your mail log? What's in /etc/postfix/main.cf? What are the outputs of
Code:
hostname
and
Code:
hostname -f
?
__________________
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 5th April 2008, 01:06
tristanlee85 tristanlee85 is offline
Senior Member
 
Join Date: Apr 2006
Posts: 199
Thanks: 3
Thanked 2 Times in 2 Posts
Default

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

Now, I seem to be getting these messages now:

Code:
Return-Path: <>
 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on
        hostname.domain.net
 X-Spam-Level: 
 X-Spam-Status: No, score=-0.0 required=5.0 tests=NO_RELAYS autolearn=ham
        version=3.2.1
 X-Original-To: apache@hostname.domain.net
 Delivered-To: apache@hostname.domain.net
 Received: by hostname.domain.net (Postfix)
        id 923CC10FA04; Fri,  4 Apr 2008 16:33:35 -0400 (EDT)
 Date: Fri,  4 Apr 2008 16:33:35 -0400 (EDT)
 From: MAILER-DAEMON@hostname.domain.net (Mail Delivery System)
 Subject: Undelivered Mail Returned to Sender
 To: apache@hostname.domain.net
 Auto-Submitted: auto-replied
 MIME-Version: 1.0
 Content-Type: multipart/report;
  report-type=delivery-status;
  boundary="C8F5B10FA05.1207341215/hostname.domain.net"
 Content-Transfer-Encoding: 8bit
 Message-Id: <20080404203335.923CC10FA04@hostname.domain.net>
 Status: R
 X-Status: NC
 X-KMail-EncryptionState: 
 X-KMail-SignatureState: 
 X-KMail-MDN-Sent: 
 
This is the mail system at host hostname.domain.net.

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

<kowwkustoms@netzero.net>: host smtp-server.columbus.rr.com[71.74.56.22] said:
    553 hostname.domain.net does not exist (in reply to MAIL FROM
    command)
Is this happening because of reverse DNS issues?
Reply With Quote
  #6  
Old 5th April 2008, 13:18
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
 
Default

I think its the actually hostname is it dnsed and does it resolve ?
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
Reply

Bookmarks

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
The Perfect Setup - Debian Etch (Debian 4.0) some trouble daniel80 HOWTO-Related Questions 26 1st February 2008 16:30
Virtual Users and Domains with Postfix... Problems hackerkatt Server Operation 2 29th January 2008 21:27
Mail Server Setup . Please Help durjoy HOWTO-Related Questions 5 8th June 2007 19:06
External mail server with gmail MX service adrenalinic Installation/Configuration 20 24th April 2007 14:49
Webmail Relay Error palkat General 17 23rd April 2006 18:12


All times are GMT +2. The time now is 08:59.


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