Hello,
The custom sendmail_path is not working properly.
; sendmail_path = /usr/sbin/sendmail -t -i
sendmail_path = /var/log/spamavoid/logging_sendmail
I tried to avoid the spam mail sending from the php mail function,
cat /var/log/spamavoid/logging_sendmail
#!/usr/bin/php
<?php
echo "hello";
file_put_contents("/var/log/spamavoid/logging_sendmail.log", "hello");
?>
SERVER DETAILS:
[root@wp2 ~]# cat /etc/os-release
NAME="CloudLinux"
VERSION="7.7 (Valery Bykovsky)"
ID="cloudlinux"
ID_LIKE="rhel fedora centos"
VERSION_ID="7.7"
PRETTY_NAME="CloudLinux 7.7 (Valery Bykovsky)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:cloudlinux:cloudlinux:7.7:GA:server"
HOME_URL="https://www.cloudlinux.com/"
BUG_REPORT_URL="https://www.cloudlinux.com/support"
[root@wp2 ~]# grep "sendmail_path" /opt/alt/php73/etc/php.ini
; sendmail_path = /usr/sbin/sendmail -t -i
sendmail_path = /var/log/spamavoid/logging_sendmail
The custom sendmail_path is not working properly.
; sendmail_path = /usr/sbin/sendmail -t -i
sendmail_path = /var/log/spamavoid/logging_sendmail
I tried to avoid the spam mail sending from the php mail function,
cat /var/log/spamavoid/logging_sendmail
#!/usr/bin/php
<?php
echo "hello";
file_put_contents("/var/log/spamavoid/logging_sendmail.log", "hello");
?>
SERVER DETAILS:
[root@wp2 ~]# cat /etc/os-release
NAME="CloudLinux"
VERSION="7.7 (Valery Bykovsky)"
ID="cloudlinux"
ID_LIKE="rhel fedora centos"
VERSION_ID="7.7"
PRETTY_NAME="CloudLinux 7.7 (Valery Bykovsky)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:cloudlinux:cloudlinux:7.7:GA:server"
HOME_URL="https://www.cloudlinux.com/"
BUG_REPORT_URL="https://www.cloudlinux.com/support"
[root@wp2 ~]# grep "sendmail_path" /opt/alt/php73/etc/php.ini
; sendmail_path = /usr/sbin/sendmail -t -i
sendmail_path = /var/log/spamavoid/logging_sendmail