Results 1 to 8 of 8

Thread: problem sending email to customer with inhouse email server

  1. #1
    Member
    Join Date
    Jan 2005
    Posts
    7

    Default problem sending email to customer with inhouse email server

    Let's see if I can explain the situation clearly.

    I have a WHM/Reseller account.

    Under that Reseller Account I have two domains. One is my main business website (say, mywebsite.com) and I have a customer website (say, customer.com).

    The customer has an inhouse MS Exchange server with its own dedicated IP address. So, in WHM, I create MX records to point at:

    smtp.customer.com
    mail2.customer.com

    and I create A records for smtp.customer.com and mail2.customer.com which both point at the same dedicated IP address.

    This works fine for the customer's inhouse users and just about anyone else on the planet sending email to the customer.

    But I have problems, presumably because my mail domain is on the same server as the customers' website. If I use my mywebsite.com smtp server to send an email to, say, support@customer.com it does not get delivered to their inhouse MS Exchange server, instead it is treated as unrouted mail on our common web server and ends up in the customer.com catchall account (or :blackhole: ) depending on how I set up the defaul email.

    If anyone has a suggestion as to how I can get my outgoing email to get out of our webserver and delivered to the customers' inhouse mail server, it would be greatly appreciated.

    [One idea, of course, is to use a smtp server other than the one on our common webserver... Unfortunately, my ISP's smtp server won't allow outgoing emails with a return address other than my ISP mail account.]

    TIA,

    --Doug Denholm

  2. #2
    Member
    Join Date
    Feb 2005
    Location
    East Vancouver, BC, Canada
    Posts
    29

    Default

    Try disabling all mail features for the hosting account for customer.com

  3. #3
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    you need to remove them from /etc/localdomains and add them to /etc/secondarymx and make sure you have correct dns records for their mail server addresses

  4. #4
    Member verdon's Avatar
    Join Date
    Nov 2003
    Location
    Northern Ontario, Canada
    Posts
    792

    Default

    There's a couple good threads on the subject here and here

  5. #5
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    Yup. But as a reseller, you are going to have to ask your hosting provider to do this for you.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  6. #6
    Member
    Join Date
    Oct 2005
    Posts
    6

    Default Put domain on sepearate IP, this should help!

    Put domain on sepearate IP, this should help!

  7. #7
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    No, it won't.

    You have to have the domain removed from /etc/localdomains and added to /etc/remotedomains (which may need creating) for this to work.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  8. #8
    Member
    Join Date
    Jan 2005
    Posts
    7

    Default Yeah, I had the hosting service change the files in /etc

    I did get this resolved. And, as others have suggested, I had to have changes made in the /etc directory by the hosting service support folks (since, as a reseller, I do not have priviledges on that directory).

    This is a minor deficiency in cPanel... It is relatively rare to have the mail servers on a different server and IP address from the website.

    Would WHM have the necessary priviledges to make changes in the /etc directory? If so, then cPanel may want to have the Zone Records interface make those changes when appropriate.

    [My customer site did have a separate, dedicated IP address from my site and I still had the problem with the mis-directed emails since they shared the same shared-hosting server.]


    --Doug
    Salem Design

Similar Threads

  1. sending email problem
    By crazyaboutlinux in forum E-mail Discussions
    Replies: 8
    Last Post: 05-12-2009, 07:46 PM
  2. Email Sending Problem
    By alanpollenz in forum E-mail Discussions
    Replies: 3
    Last Post: 10-17-2007, 08:31 AM
  3. Problem with Sending Email !
    By kamraonline in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 12-16-2006, 03:56 AM
  4. problem sending email
    By lfung in forum cPanel & WHM Discussions
    Replies: 8
    Last Post: 11-19-2004, 03:56 AM
  5. Sending Email Problem ?
    By sanam in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 06-06-2002, 11:29 PM