Log in

View Full Version : SMTP? Apache permissions? mail? help.. please!



grats
01-08-2012, 10:27 AM
http://wiki.apache.org/httpd/13PermissionDenied

I found this.. I've been trying to figure out this error for 3 days now

my mail server doesn't work anymore for my site =[

anyway, the old way I used to do mail was a simple

"ssl://smtp.googlemail.com"
and port 465

and of course my account and pass etc

now I got new forum software (IPB now) and I can't figure out why I get this error
Could not open a socket to the SMTP server (13:Permission denied)

I've googled all around, so far no one has even tried to help me, I have no idea why I didn't come here first



anyway is it because my apache doesn't have the right permissions to do whatever it has to do with some mail script? I just discovered the link at the top of my post.. I am reading that now.. I have absolutely no idea where I would go or what I would give permission to if apache needed the rights to talk to the mail file or whatever

Justin
01-08-2012, 11:01 AM
Is it a shared host or did you buy a VPS to host your site on?

grats
01-08-2012, 12:12 PM
it's my server in my other room

it's ran on CentOS 6.1 I think.. it's 6. something the newest one

if you want you can connect to me and do whatever to see the errors, I'm going to bed but tomorrow I'll be around

I am really stumped on this error, I've always gotten the mail to work fine in like 30 seconds for the past few years.. but now it's just broke

grats
01-08-2012, 09:52 PM
hopefully someone on during the day is able to help

grats
01-14-2012, 01:50 AM
Can anyone help? I think it has to do with what I said here:

http://www.linuxquestions.org/questions/showthread.php?p=4570633#post4570633

I'm not sure how to get the php updated on centOS if it says it's already updated on yum.. but my fedora server has a more recent version of curl

Wizzup?
01-15-2012, 11:47 AM
I think your initial answer may be right - you need curl with smtp support if you want to use curl for smtp. Typically those forums just use mail() don't they? Anyway, I'm not at all familiar with CentOS, so you might be better off switching to debian/ubuntu or fedora? Unless you have a lot of stuff running already on that CentOS machine...

Also, perhaps the port is wrong?


$ telnet smtp.googlemail.com 465
Trying 173.194.65.16...


(It just hangs, no connection)