Sometimes is very hard to debug from which virtual host spam is This can be check very easy with this trick create a new file vim /usr/local/bin/phpsendmail place inside it #!/usr/bin/php <?php $sendmail = ‘/usr/sbin/sendmail’; $logfile = ‘/var/log/mail.form’; /* Get…