Postfix problem with hostname

Discussion in 'Server Operation' started by Jürgen, Feb 18, 2009.

  1. Jürgen

    Jürgen New Member

    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=<[email protected]>, 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: Feb 18, 2009
  2. Jürgen

    Jürgen New Member

    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 !
     
  3. falko

    falko Super Moderator ISPConfig Developer

    I guess in /etc/mailname.

    No (unless they send them again).
     

Share This Page