On my Redhat system, I've replaced sendmail by qmail. In the php.ini-file, I've set the sendmail path to /var/qmail/bin/sendmail .
When I try to send an email: mail("hagar@alexius.hagar", "My subject", "My body"); the mail function returns '1' but the mail isn't delivered!! (hagar@alexius.hagar is a local email address)
However, qmail works perfect on my local network (so it can't be the mailserver), and the sendmail path is the correct one too.
Is there anyone who can help me out?