External Mailserver

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

  1. smartcall

    smartcall New Member

    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

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

    A long story. Hope somebody will read.

    Thanks!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    What is the output of the 2 commands:

    hostname
    hostname -f
     
  3. smartcall

    smartcall New Member

    output

    [root@ns1 ~]# hostname
    ns1.smartcall.bg
    [root@ns1 ~]# hostname -f
    ns1.smartcall.bg
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's the exact error message?

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

    smartcall New Member

    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.

    Thanks
     
  6. smartcall

    smartcall New Member

    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