LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-09-2012, 08:17 PM   #1
GreggT
Member
 
Registered: Jan 2012
Distribution: Debian, CentOS, Fedora, TinyCore
Posts: 45

Rep: Reputation: Disabled
mail error in centOS, SMTP possibly php-curl error


So I recently started to run new forum software, of course, it broke something.. maybe I broke something

I run the latest version of all the php repo's
I run the latest version of CentOS
I'm using IPB forum software (no one on that site has any slightest idea how to fix this)

Could not open a socket to the SMTP server (13:Permission denied)

that's the error I get, now I believe the first half is the php error and the second half: (13:Permission denied) is an apache error, but IPB combines them

so I have an apache permission error, possibly.. also I noticed a fedora server I run for other stuff has:

Quote:
Protocols dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, scp, sftp, smtp, smtps, telnet, tftp
In Curl for phpinfo.. but my CentOS server looks like this:

Quote:
Protocols tftp, ftp, telnet, dict, ldap, ldaps, http, file, https, ftps, scp, sftp
so I am thinking if I get curl to have the smtp support it might work? I have no idea.. I'm in between noob linux user and pro.. some things I know how to do extremely well and others I have no idea about, this is one of them.

I have been searching for about 3 days, in those 3 days I have acquired all the information above, I am unable to find how to install php-curl with smtp support, I haven't been able to find it anywhere on google nor yum search

thank you for any help..
 
Old 01-18-2012, 01:35 PM   #2
dkm999
Member
 
Registered: Nov 2006
Location: Seattle, WA
Distribution: Fedora
Posts: 407

Rep: Reputation: 35
I have foutht with error 13 quite a bit. Does your CentOS server run with SELinux enabled? If so, you may need to set the security context of the folder that should contain the SMTP socket so that Apache can complete its mail transfer.

HTH
 
Old 01-18-2012, 04:26 PM   #3
GreggT
Member
 
Registered: Jan 2012
Distribution: Debian, CentOS, Fedora, TinyCore
Posts: 45

Original Poster
Rep: Reputation: Disabled
Cool

Quote:
Originally Posted by dkm999 View Post
I have foutht with error 13 quite a bit. Does your CentOS server run with SELinux enabled? If so, you may need to set the security context of the folder that should contain the SMTP socket so that Apache can complete its mail transfer.

HTH
Yes I had a guy help me with it 2 days ago finally fixed it... it was a combination of SELinux and a little apache permission (mostly SELinux) the error was obvious after SELinux was disabled it told me exactly what file to give permission to (within my forums directory, so it was forum specific not linux)

looks like you were headed in the exact way he headed too so probably would have fixed it, thanks a bunch I'm good now
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unexpected "Unsupported protocol: HTTPS" error in Apache/PHP/curl bions Linux - Server 6 11-29-2010 10:51 AM
Smtp authentication Error in virtual mail server turiyain Linux - Server 1 11-30-2009 11:32 AM
smtp 0x800ccc0f error sending mail to postfix Corsari Linux - Networking 4 09-22-2008 10:51 AM
Mail::ClamAV error on install on CentOS 4.4 waelaltaqi Linux - Server 0 02-19-2007 10:58 AM
Error with SMTP sending mail on Evolution 2.4.0 on Suse 10.0 The Jedi Linux - Newbie 2 07-22-2006 11:45 AM


All times are GMT -5. The time now is 07:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration