Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Exim forward to another host when user is not in current host

Discussion in 'General Discussion' started by mediawrap, Feb 11, 2009.

  1. mediawrap

    mediawrap Registered

    Jul 9, 2007
    Likes Received:
    Trophy Points:
    Sydney, Australia
    Hi there

    i have a unique situation where I have an exim mailserver running in cPanel. we run the the mail server in a separate server and use cpanel for web hosting only. The same domain is used in cpanel (Web) as well as our mail server (Email). Hence when someone submits a email form (contact us), it tries to send the mail to a local host because it thinks the domain is local. We need to it send it to a separate host. Does anyone have any idea on how we can make this work?

    I have seen mail servers where it provides an option to forward to a separate host if user was not found in local server. Does exim has such option?

    Many thanks in advance.
  2. elkram

    elkram Active Member

    Nov 21, 2004
    Likes Received:
    Trophy Points:
    I believe you can ensure that the domain is in the appropriate file : either localdomains or remotedomains. Can't recall the directory/location of those files.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice