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 18th February 2009, 17:19
Jürgen Jürgen is offline
Junior Member
 
Join Date: Jan 2008
Posts: 19
Thanks: 4
Thanked 0 Times in 0 Posts
Send a message via ICQ to Jürgen Send a message via Skype™ to Jürgen
Default Postfix problem with hostname

Hello,

I changed the hostname of my server last week. Since I have stopped the old hostname I can't recieve any mails.

However, I changed the hostname in all configurations, e.g. /etc/postfix/main.cf and the global linux hostname.

Which config I could have forgotten? And is there any possibility the restore the refused mails?

Here is the error, /var/log/mail.log

Code:
Feb 18 17:08:12 server7 postfix/smtp[17734]: 35E6479C246: to=<web15_info@OLD-HOSTNAME>, orig_to=<MY-MAIL-ADDRESS>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=5.4.6, status=bounced (mail for OLD-HOSTNAME loops back to myself)
Feb 18 17:08:12 server7 postfix/qmgr[17588]: 35E6479C246: removed
And that's the error mail the sender gets back:
Code:
Technical details of permanent failure:
YOUR-SERVER tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 554 554 5.7.1 <MY-MAIL-ADDRESS>: Relay access denied (state 14).

Thanks for help!

Last edited by Jürgen; 18th February 2009 at 17:24.
Reply With Quote
Sponsored Links
  #2  
Old 18th February 2009, 17:31
Jürgen Jürgen is offline
Junior Member
 
Join Date: Jan 2008
Posts: 19
Thanks: 4
Thanked 0 Times in 0 Posts
Send a message via ICQ to Jürgen Send a message via Skype™ to Jürgen
Default

Okay, I reconfigured the settings by using "dpkg-reconfigure postfix". Now it works.
But I don't know where the old hostname was stored in.

And is there a possibility to restore the rejected mails?

Thanks !
Reply With Quote
  #3  
Old 19th February 2009, 20:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
 
Default

Quote:
Originally Posted by der Jörchen View Post
Okay, I reconfigured the settings by using "dpkg-reconfigure postfix". Now it works.
But I don't know where the old hostname was stored in.
I guess in /etc/mailname.

Quote:
Originally Posted by der Jörchen View Post
And is there a possibility to restore the rejected mails?
No (unless they send them again).
__________________
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

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
Weird Postfix Problem Anthony Server Operation 3 1st July 2008 23:01
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04
Postfix SMTP problem norbert_999 Server Operation 1 7th June 2008 11:48
Postfix - dnsreport greeting - hostname not matching xkworld Installation/Configuration 11 27th December 2006 11:58
Perfect Setup - Fedora Core 4 - postfix problem Median Installation/Configuration 7 2nd February 2006 12:21


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


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