External Mailserver

Discussion in 'Installation/Configuration' started by smartcall, Jan 25, 2007.

  1. smartcall

    smartcall ISPConfig Developer ISPConfig Developer

    Hello again,

    I have the following scenario for my ISPConfig server:

    I have a domain - domain.com. The dns servers for this domain are not related to my ISPConfig.
    The ISPConfig host name is ns1.domain.com. All domains that are in its DNS work fine and mail too.

    Now the issue I have is:
    I set up in the external dns www.domain.com for my domain to be pointed to my ISPConfig machine. The website is working fine.
    I also have an EXTERNAL MAILSERVER for this domain and it is working fine, except when I try to send email using ISPConfig machine as relay.

    I set the www.domain.com to use EXTERNAL MAILSERVER as well as the co-domain domain.com.

    But I still get 'loops back to myself' error. This is what I have in /etc/postfix/local-host-names for my domain

    localhost.smartcall.bg - this, I believe shouldn't be here

    A long story. Hope somebody will read.

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    What is the output of the 2 commands:

    hostname -f
  3. smartcall

    smartcall ISPConfig Developer ISPConfig Developer

  4. falko

    falko Super Moderator ISPConfig Developer

    What's the exact error message?

    Did you check with dig that the MX record for the domain is correct?
  5. smartcall

    smartcall ISPConfig Developer ISPConfig Developer

    The domain and everything related to it works for 3 years now.
    All I did is to move the website to ISPConfig server.

    Everything else - DNS, MX all is in other servers ever since the domain is registered.

    Only ISPConfig server can't send mails to this domain. The server itself is on a subdomain of this domain.

    The error is Loops back to myself. And everywhere I set External Mailserver.

  6. smartcall

    smartcall ISPConfig Developer ISPConfig Developer

    All was my mistake. I set up the MX fot the domain.com and I shoul have left the domain part empty.

    My appologies for the inconvenience and thanks for your time.

Share This Page