When setting up CPANEL customers, even if the initial test message works. As soon as you change the MX record you may see the following bounce message when sending to the destination server like the following:


SMTP Response:host 1.2.3.4[1.2.3.4] said: 550-Please turn on SMTP Authentication in your mail client. 550-cloudd.spamtitan.com [96.127.141.203]:51608 is not permitted to relay 550 through this server without authentication. (in reply to RCPT TO command)



We have found this article which has shown a solution for a similar issue with CPanel and Spamtitan.


http://forums.cpanel.net/f43/cpanel-exim-set-up-mail-relay-spam-filtering-294532.html



From this article check the following details:


If you want only to scan *incoming* emails on SPAM/Junk then all you need it to point DNS MX records for your domains to spamtitan appliance. Just make sure you select "Local Mail Exchanger" in "Email Routing" section during DNS zone modification. It will put domains to /etc/localdomains, thus Exim will still consider domains as local and allow your scripts to send emails without sender verification failed error.