I have php5 and qmail installed. In php.ini I have configured
sendmail_path = /var/lib/qmail/bin/sendmail
(the path is correct)
However when I am trying to execute the script
<?php
mail('my@email.com', 'Test sendmail', 'Body', 'From: my@email.com');
nothing happens, no emails are sent and nothing in the qmail SMTP log (I am getting the logs for any other SMTP activity). Therefore I assume that either PHP is not sending email or somehow I have misconfigured PHP mail. Please advise.