Hi,
I'm not sure if this q is better asked here or in the Cpanel forum, so I'll try both.
Hi,
I've been using CPanel as a member on a shared host without the slightest problem up until about two months ago, and now I'm having major email trouble. Our server was upgraded to PHP5 right about the same time I had formatted my drive, and somewhere in that commotion I ran into problems trying to get Outlook re-installed and connect to my outbound smtp server. It failed connecting to "mail.mydomain.com", although the Auto-confgure reg keys listed it as both in and outbound smtp server. I went through several configurations trying to resolve the problem and then somewhere along the line it showed a test email's path was actually using our shared-host provider's outbound smtp server. Setting Outlook to use that server instead and then checking "requires authentication" got my email up and running again through Outlook.
However, I am still unable to send mail outside of my domain using PHP. I can send to me@mydomain.com fine, and PHP will claim messages are sent to others OK, but it never reaches me@anyotherdomain. Is there any way of getting a more "in-depth" log of what happened while sending the mail using PHP? I've read about examining exim.conf for clues but am unable to find it on my server. I know that I have an insecure PHP contact form on the site that needs dealing with, is it possible that a spammer has used it to somehow hi-jack my outbound smtp server completely?
I'm sure that this is the type of thing that I should be bothering my host with, but to make a long story short,..that's much harder than it sounds. I don't have direct access to php.ini or WHM, but am able to access my entire domain using FTP and CPanel. I'm just wondering if there are any local settings that I might have missed or toggled in Cpanel which could trigger this to happen, or if I am missing a required configuration for php5 vs php4, or if the issue could possibly be resolved by using php's ini_set to override global email settings.
If it helps,..phpinfo says:
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
SMTP localhost localhost
smtp_port 25 25
..and I now have all CPanel Spam-fighters disabled for testing.
Thanks a lot for any assistance on the matter.