SMTP -> ERROR: Failed to connect to server: Permission denied (13)

SMTP -> ERROR: Failed to connect to server: Permission denied (13)

од Сергей Николайчук -
Број на одговори: 6

Hi All!

Please, somebody help me!

Version Moodle 1.9.11+ (Build: 20110413)

SMTP working, ports not blocking

When I try to send a letter,get error:

SMTP -> ERROR: Failed to connect to server: Permission denied (13)
ERROR: SMTP Error: Could not connect to SMTP host.
SMTP -> ERROR: Failed to connect to server: Permission denied (13)
ERROR: SMTP Error: Could not connect to SMTP host.
Where to look for an error. In the Apache logs there is nothing in the logs of postfix too.
Просек на рејтинзи: -
Во одговорот до Сергей Николайчук

Re: SMTP -> ERROR: Failed to connect to server: Permission denied (13)

од Luis de Vasconcelos -
Слика од Particularly helpful Moodlers

What have you specified as the SMTP host in Moodle under Site administration/Server/Email?

Во одговорот до Luis de Vasconcelos

Re: SMTP -> ERROR: Failed to connect to server: Permission denied (13)

од Сергей Николайчук -

I specified "news.mydomain.com". SMTP login, SMTP password no need.

I have no problem with sending messages from the server.

Thanks for your help!

Во одговорот до Сергей Николайчук

Re: SMTP -> ERROR: Failed to connect to server: Permission denied (13)

од Luis de Vasconcelos -
Слика од Particularly helpful Moodlers

Are you using a valid e-mail server name. The "news" part of "news.mydomain.com" implies that you're using a usenet server, not an e-mail server. If so, does that usenet server allow e-mail relaying?

I'd be very weary of setting up an e-mail server that isn't password protected! That's a spammers paradise... Are you sure that a password isn't required?

Во одговорот до Luis de Vasconcelos

Re: SMTP -> ERROR: Failed to connect to server: Permission denied (13)

од Сергей Николайчук -

Problem solved!!!

The problem was in selinux : "httpd_can_sendmail --> on".

Thanks for your help.