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!

Send emails on behalf of a domain name and forward all notifications to ema

Discussion in 'E-mail Discussion' started by evilopinions, Aug 6, 2012.

  1. evilopinions

    evilopinions Member

    Jan 31, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    We host our domain name through server A using an A record pointing to the IP adress.
    We use an email adress to send out notifications for all people filling out a form and same notice goes to the admin -

    Our emails are hosted by another server and if I send a notification using a PHP script from CPANEL it just returns my email back to cpanel in the catch-all email adress.

    How do I force the system to read the correct MX record and send out all notiifcations to the correct email address hosted on the different server ? I want to achieve this in simple temrs without using complex relays and stuff.
  2. Eric

    Eric Administrator
    Staff Member

    Nov 25, 2007
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Re: Send emails on behalf of a domain name and forward all notifications to


    There are a few ways to make this work. You can configure your mail program to send the mail to the MX not to the local mail queue. Or you could configure exim that this domain is an accepted domain but has a smart host upstream.

    It would be really easy to change the host for the program to point at the MX record of the domain.

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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