External Email Host

Discussion in 'Installation/Configuration' started by fbnewtz, Dec 20, 2007.

  1. fbnewtz

    fbnewtz New Member

    I have a client who has an Exchange server for email but I am hosting his website. I can't send emails to him from my server without the server complaining. Obviously commenting out domain name in local-host-name doesn't work either.

    I thought I had seen this before, but I can't find it on here for some reason.

    Thanks,

    Fred
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Do not edit the file manually, use the ISPConfig functions. Otherwise ISPConfig will correct you and readd the domain.

    To your original problem: Just set mailserver to external for the website AND co-domain.
     
  3. fbnewtz

    fbnewtz New Member

    Late Reply

    I know this is a late reply but I am still having problems for some reason. I set external server in both locations. I looked in my local-host-names file and the domain in question is no longer in there. However in my mail.log file I am getting the following:

    Code:
    
    Jan 28 17:20:59 sp2979a postfix/smtp[14899]: E095D7549E0: to=<[email protected]>, relay=none, delay=0.06, delays=0.04/0.02/0/0, dsn=5.4.6, status=bounced (mail for mydomain.com loops back to myself)
    
    
    I have restarted both ispconfig_server and postfix. I have stopped and restarted postfix. Is there anything else i need to do to make this work?

    Thanks,

    Fred
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess you used mydomain.com as hostname for your server or anywhere in /etc/postfix/main.cf. You will have to change mydomain.com to another domain that is still hosted on your server and then restart postfix.
     
  5. fbnewtz

    fbnewtz New Member

    Thanks for the help Till. What actually happened was that I let ISPConfig maintain my DNS records. I tried just deleting the mx record out of there, but I ended up having to delete the whole DNS entries from the DNS manager as well as remove the checks to let ISPConfig manage the DNS records for me.

    This was not a big deal, but it is something that people should be aware of atleast.


    Thanks again for such great software.
     

Share This Page