SEND MAIL FROM SERVER CENTOS5, CPANEL/WHM?
We have a brand new dedicated server with CentOS5 & cPanel/WHM. Unfortunately you can’t get it to send any email. Our domain’s MX annals indicate elsewhere since you have a third-party email provider. How do you get it to only SEND mail from a server directly? Experience with cPanel as well as Linux indispensable … interjection in advance
Popularity: unranked []

Your real problem is that most POP / IMAP servers will not accept or route e-mail from SMTP servers that are not tied to a domain name.
You could set up your local machine to relay requests to your usual e-mail server.
However, it makes far more sense and is far easier to simply set up a dummy e-mail account on your regular e-mail server that has SMTP permissions, then use a mail library to connect to and authenticate against your remote SMTP server.