Diagnostic-Code: X-Postfix; mail for sd-xxxx.dedibox.fr loops back to myself

Discussion in 'Installation/Configuration' started by Steen, Sep 22, 2006.

  1. Steen

    Steen New Member

    Diagnostic-Code: X-Postfix; mail for ... loops back to myself

    Hi,
    I have a server with dedibox.fr and have installed the ispconfig 2.2.3_sarge package.

    I have set up a site: algarvegolfer.com

    I have used the "Gestion intégrale DNS" DNS servers offered by Dedibox and entered;
    A records
    algarvegolfer.com. IN A 88.191.28.168
    www.algarvegolfer.com. IN A 88.191.28.168
    MX records
    algarvegolfer.com. sd-XXXX.dedibox.fr. 10 (xxxx being the number of the dedibox)

    which all get acceptance from www.dnsreport.com

    I have changed the main.cf file from
    myhostname = localhost.localdomain
    to
    myhostname = sd-xxxx.dedibox.fr (xxxx being the number of the dedibox)

    I have tried ticking/un-ticking use maildir in ispconfig

    ...but can't send mails to the email address in use, they keep getting returned;
    Diagnostic-Code: X-Postfix; mail for sd-xxxx.dedibox.fr loops back to myself (xxxx being the number of the dedibox)

    I am slowly going nuts...

    Please save my weekend?
     
    Last edited: Sep 22, 2006
  2. Steen

    Steen New Member

    My local-host-names Configuration File

    SPConfig local-host-names Configuration File
    # Version 1.0
    #
    ###################################
    localhost
    dedibox.localdomain
    localhost.dedibox.localdomain
    localhost.localdomain
    www.algarvegolfer.com
    algarvegolfer.com
    #### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
    local-host-names: unmodified, readonly: line 1
    ###################################
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Please add sd-xxxx.dedibox.fr to the end of the local-host-names file and restart postfix.
     
  4. Steen

    Steen New Member

    Thanks Till,
    That worked and saved the weekend, I hope you'll enjoy yours as well!
     
  5. chris71p

    chris71p New Member

    mail for xxxx loops back to myself

    Hi
    I have same problem and spend 4 days to read all posts on the internet.
    I try follow this forum but I can`t find local-host-names file /ect/postfix/ ?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    And you are using ISPConfig 2?
     
  7. chris71p

    chris71p New Member

    mail for xxxx loops back to myself

    I am very new to all of this
    likely I set up one server on dynamic IP with only one domain and mails are working OK
    now I try to set up second on static IP and using Virtualmin to add new virtual host and mails but no luck I try all I think.
     
  8. falko

    falko Super Moderator ISPConfig Developer

    If there's no /etc/postfix/local-host-names file, you can add the hostname to the mydestination line in /etc/postfix/main.cf.
     

Share This Page