email seem to have stop working

Discussion in 'Installation/Configuration' started by chrno, May 15, 2006.

  1. chrno

    chrno New Member

    Hi,

    For some strange reason, the email seem to have stopped working. And when I check the /var/log/mail.log file I keep seeing this :-

    Code:
    May 15 16:34:43 dc004 postfix/smtp[5848]: 1BC2A1DC0E6: to=<[email protected]>, relay=none, delay=0, status=bounced (mail for domainname.com loops back to myself)
    
    


    Any ideas?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Add domainname.com at the end of the file /etc/postfix/local-host-names and restart postfix.
     
  3. chrno

    chrno New Member

    Hi Till,

    Many thanks for your prompt reply!

    There's already an entry of the domainname on that file. Specifically
    www.domainname.com
    mail.domainname.com
    domainname.com
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you updated your postfix and the installation routine has overridden your postfiy main.cf file?

    There must be a line like:

    mydestination = /etc/postfix/local-host-names

    in /etc/postfix/main.cf
     
  5. chrno

    chrno New Member

    No I haven't updated postfix or a "apt-get dist-upgrade" for the last 2 weeks

    And yes these 2 lines are still in my main.cf

    Code:
    #mydestination = mail.domainname.com, localhost.domainname.com, localhost
    mydestination = /etc/postfix/local-host-names
    
     
    Last edited: May 17, 2006
  6. falko

    falko Super Moderator Howtoforge Staff

    Restart Postfix and try again.
     
  7. chrno

    chrno New Member

    I've just restarted it. It's still the same :-(
    I'll pm you the link to mail logs now

    Thanks
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Can you post the exact error message here (and don't replace the domain name).
     
  9. chrno

    chrno New Member

  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Please add the line:

    dc004.asuk.net

    at the end of the file /etc/postfix/local-host-names
     
  11. chrno

    chrno New Member

    All sorted now after the reinstall. Many thanks!
     

Share This Page