Adding a From header is not sufficient to ensure that sendmail won’t
rewrite your sender
address when sending the message. In fact, you have to specify the
envelope sender of the email
using the -f extra parameter to sendmail. These two steps, on their
own, are not
necessarily sufficient, however; you also have to ensure that the user
under which Apache
runs has the privilege of changing the envelope From header.
Therefore, the correct answers
are A, B and D.