Whenever I send mail via Exim, even if I set a from field, it always says the e-mail is from: firstname.lastname@example.org. Is there any way to make the from field work or at least change the default from address? Thanks.
Okay, looking at the class you've linked to - you should already be setting the
Which isn't great. It looks confusing to a lot of people and Outlook users also helpfully see such messages tagged as "Apparently From".
This is caused by Exim not permitting Apache (as a system account) from "spoofing" the From address. You can see in line 39 of that class that
This tells Exim to specify the envelope sender address which is by default restricted to UID 0. You can read the intricate details about this from the
You want to make sure that the qualify_domain option is set near the top of exim4.conf.