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 my@mail.com