The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

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

  1. evilopinions

    evilopinions Member

    Joined:
    Jan 31, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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 info@abc.com to send out notifications for all people filling out a form and same notice goes to the admin - admin@abc.com

    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

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

    Howdy,

    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.

    Thanks!
     
Loading...

Share This Page