mainframe
08-29-2008, 03:24 PM
Often client php unsecure web scripts get abused by spammers and tracking which vhost is responsible for spam from maillog is simply impossible if there is no identificator for each vhost php mail() function. Here is how to add it to iworx vhost skeleton (or to vhost conf file).
nano -w /chroot/home/interworx/etc/vhost-base.conf
--- ADD ---
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f<<DOMAIN>>"
--- ADD ---
nano -w /chroot/home/interworx/etc/vhost-base.conf
--- ADD ---
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f<<DOMAIN>>"
--- ADD ---