I am using CentOS,Apache and Cpanel/WHM

Currently to access emails with an email client(like thunderbird), all the accounts have to use the outgoing address: hostname.serverdomain.com

How can i change this so that my clients can send mail via : mail.clientsdomain.com

link|improve this question
feedback

closed as off topic by Chris S Feb 3 at 19:26

Questions on Server Fault are expected to generally relate to servers, networking, or desktop infrastructure, within the scope defined in the faq.

1 Answer

Configure a CNAME in your DNS panel (should be in CPanel, if not contact support for your hose). Configure the CNAME to be mail.clientsdomain.com and point to hostname.serverdomain.com. If clientsdomain.com isn't hosted on the server, you'll have to figure out where it's DNS is hosted and make the entry there.

link|improve this answer
And what about new accounts.... i dont want to manually add cnames for every domain – Arshdeep Singh Feb 4 at 5:03
You'll have to address this with your hosting company. They may be able to provide some sort of automation, but we really can't help you. – Chris S Feb 4 at 5:35
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.