Score:0

Mail is not sent via php mail() on CentOS7 DirecAdmin Exim php fcgi

cl flag

I spent the whole day trying to fix this problem, so I decided to share. Maybe it will save someone time)

Problem: Mail is not sent via php mail(); The Exim log shows nothing.

System:

  • CentOS7
  • DirecAdmin with CustomBuild 2.0.0
  • Exim 4
  • php fcgi (5.6 ... 7.4)

It is noteworthy that through the console mail is sent normaly, like:

echo "Subject: test" | / usr / sbin / sendmail -v [email protected]
Score:0
cl flag

The solution was simple:

Disable jailshell

It was easy:

DirectAdmin - Account Manager - Users - Select User - Modify

and / or

Manage User Packages / Edit Package

Uncheck in user settings: Jailed

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.