var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Script cannot connect to SMTP
Hey guys, I have just got a dedicated server, bit of a noob, but I cannot connect my script (cerberus) to smtp.
How can I look at the smtp configuration?
It does not work without authorisation. If the smtp server requires authorisation what would the user/pass be?
I tried using my account username and password. Still getting an error "cannot connect to localhost"
Are you using any specific control panel?
Well I am no CPanel guru, but I can try my best to help you out here. First it says that it can not connect to localhost, this may be a long shot but try having it connect to mail.yourhost.com instead of going through localhost.
As far as username and password for SMTP, if you are sure that they require authentication, then the username and password of an e-mail account in CPanel should work.
How do you know that you require authentication for SMTP?
thanks for your help! I tried mail.mydomain.com did not work. I looked into cpanel and found
DNS File MX Entry Maintenance under mail
so i tried mydomain.com instead of localhost. Still not working. Tried both with auth and without.
Is it still giving the same error of: "Cannot connect to localhost"?
changes to "cannot connect to mail.mydomain.com"
I should have added that in. It does not seem it is a problem with authentication at this point, it really seems like it is a problem with the smtp server itself.
Try: telnet yourdomain.com 25
and see if it will connect.
seems to be working
" ESMTP Exim 4.50 #1 Sun, 19 Jun 2005 22:31:54 +1200
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail."
Well I wish I could be of more help but in all honesty I am all out of ideas =/
thats allright. Thankyou very much for your time!