How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask chrisaw Your Own Question

chrisaw
chrisaw, DevOps Manager
Category: Software
Satisfied Customers: 13
Experience:  DevOps Manager with over 10 years experience in the DevOps and IT field.
58355812
Type Your Software Question Here...
chrisaw is online now

WHM cPanel EximI have a customer who has moved from a

Customer Question

WHM cPanel EximI have a customer who has moved from a managed dedicated hosted server to an unmanaged hosted server. they have an application that sends emails as part of its functions but emails going to the same email domain as the user are failing. I think its because there is a UTM device blocking the emails as they do not come form a valid email domain. I am looking for a way to change the default email domain WHM uses. I am completely new to WHM and cPanel, but I have been taking a look and feel it may be something to do with the Exim configuration? Baby steps required on this one although I wil lbe able to give you accurate information.
Submitted: 7 months ago.
Category: Software
Expert:  Quiksilver07070 replied 7 months ago.
Hello and thank you for choosing JUSTANSWER.com.Sorry for the long wait time..I have a question about "but emails going to the same email domain as the user are failing" and if you can give me an example. SO i can understand the logic you are expressing..I understand there is an APPLICATION running on a UNMANAGED server, and it is configured to send emails based on a set of user specific rules.But, let me have your example to make sure i am FULLY vetting this issue.
Customer: replied 7 months ago.
Basically, there is a PHP site that within its functions has the ability to email pdf's to a typed email address. Let's call the organisation 'contoso' at this stage. If a staff member of contoso logs into the PHP application (called PA FINDER), and selects to email a pdf, if they send that email to***@******.***, the UTM device rejects it with an error. (A similar error to the one I attached).
Now, I think this in coincidence and all the UTM is actually dong is highlighting the fact that the email is not coming from an authorised email domain. This PA FINDER worked on the old host, a full cpanel migration was performed to the new host but there have been one or two teething issues. This being one. The domain sending the email and therefore being rejected, is contoso.live-servers.net. I don't know if this should be referencing an MX/Dns record or the IP address of the exchange server as I am at a loss as to how cpanel/whm handles these requests.
Once I am satisfied that I am dealing with an expert who is familiar with whm and cpanel, I'd be happy to show a remote session explaining my findings and giving examples.
Expert:  Quiksilver07070 replied 7 months ago.
Whitelist the domain in the UTM..The server migration.....im assuming changed its physical location, and therefore its public IP. Domain names dont change.....however the MX records on the DNS WOULD change, as the DNS must be updated with the NEW public IP address.
Customer: replied 7 months ago.
Relist: Inaccurate answer.
This really does require knowledge of cpanel and whm.
Expert:  chrisaw replied 7 months ago.
Hi Paul, It sounds like there may be two things at play here: - The domain is likely setup as a local domain instead of a remote domain for mail delivery. The way cPanel/WHM handles this is simply by having two files /etc/localdomains and /etc/remotedomains. In order to correct this issue you would simply move the domain from /etc/localdomains to /etc/remotedomains - that should take care of that problem. - If there are still delivery issues you should be able to correct those by fixing the SPF record of the email to include the FQDN of the new server. Hopefully I haven't misunderstood your question there and this resolves your problem. If you are still having problems please do follow-up and I'll see what we can do to get to the bottom of it. I did work in a cPanel/WHM hosting environment for a few years so am confident in diagnosing and correcting these types of problems. :) Thanks! Christopher
Customer: replied 7 months ago.

HI Christopher,

Thanks for this... in my rapid and steep learning curve, I did end up thinking this is one of the places that I may need to make the change, although I had no idea where to create the files and what they should look like.

It appears that the problem was that the WHM environment was configured with a temporary setup, ready to take the migration from another cPanel configuration. The Hostname needed to be changed AFTER the migration had taken place. So there was some tweaking with modules and we also set the domain as a Remote Mail Exchanger, but this made no difference until we changed the Hostname.

Thanks for your reply, and at least you started on the right lines so I'm confident we would have got there should I not have found the culprit already!

What Customers are Saying:

 
 
 
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer
< Previous | Next >
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C.
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C.
 
 
 

Meet The Experts:

 
 
 
  • Steve Herrod

    Steve Herrod

    Computer Support Specialist

    Satisfied Customers:

    160
    Familiar with a wide variety of software and experienced in user training/support
< Last | Next >
  • http://ww2.justanswer.com/uploads/SP/spherrod/2012-6-6_174244_1000852.64x64.JPG Steve Herrod's Avatar

    Steve Herrod

    Computer Support Specialist

    Satisfied Customers:

    160
    Familiar with a wide variety of software and experienced in user training/support
  • http://ww2.justanswer.com/uploads/SE/Seashore2011/2011-12-6_33418_111205223015.64x64.jpg Chris L.'s Avatar

    Chris L.

    Support Specialist

    Satisfied Customers:

    114
    Certified Software expert with over 10 years experience.
  • http://ww2.justanswer.com/uploads/JE/jessmagz/2012-6-6_18129_jm.64x64.jpg Jess M.'s Avatar

    Jess M.

    Computer Support Specialist

    Satisfied Customers:

    112
    Computer Software Support specialist for more that 10 years
  • http://ww2.justanswer.com/uploads/FS/fszcze/2012-6-18_181848_500test.64x64.jpg Frederick S's Avatar

    Frederick S

    Computer Specialist

    Satisfied Customers:

    91
    Computer technician; founder of a home PC repair company.
  • http://ww2.justanswer.com/uploads/WA/wa94sound/2012-6-6_202633_iStock000007010121Small.64x64.jpg Bernie's Avatar

    Bernie

    Software Support

    Satisfied Customers:

    52
    6+ years experience, Microsoft MCDST/CompTia A+ Certified
  • http://ww2.justanswer.com/uploads/CH/chutz747/2011-11-6_14231_me.64x64.jpg The-PC-Guy's Avatar

    The-PC-Guy

    Software Engineer

    Satisfied Customers:

    38
    20 years experience providing remote computer support
  • http://ww2.justanswer.com/uploads/jnayes/2010-12-23_132454_japicbetter.jpg jnayes's Avatar

    jnayes

    Computer Support

    Satisfied Customers:

    37
    Network Administrator
 
 
 

Related Software Questions