my custom "sendmail_path" is not executing.

jegan

New Member
#1
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
 

Cold-Egg

Administrator
#2
Hi,
It's OpenLiteSpeed forum, and I don't see the Sendmail has anything to do with it. You might want to post the question on CloudLinux or Sendmail google group.
 
Top