Jump to content

Recommended Posts

Posted

Я в удивлении. Уважаемые специалисты, йа нид хэлп! :'(

Проблема в следующем.. Не могу заставить APACHE(php) отправить почту через mail. В самом начале думал проблема в sendmail(у меня в планах была его переустановка), установил и настроил exim.

Всё работает, НО сама функция mail() пишет ошибку, т.к. возвращает отрицательный результат.

Сначала я выстраивал policy для Selinux_а и юзая audit2allow добился того, что selinux уже ничего не пишет в /var/log/message. КАЗАЛОСЬ БЫ УРА! Но mail("tome@mail.com","testsubj","testmsg") всё равно не возвращает положительного ответа.

Теперь в логах апаче просто пишется "3 args: /usr/sbin/sendmail -t -i" (/usr/sbin/sendmail -t тоже не работает).

Я уже отключил полностью SeLinux -- БОЛТ. Всё равно в /var/log/httpd/error_log пишет "3 args: /usr/sbin/sendmail -t -i" и всё.

НЕ ПОЙМУ в чём дело и как это исправить. Может кто подскажет в чём дело?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...