I have been banging my head against the wall trying to solve this problem all day. I feel like I've read every post that comes up related to rewriting or hard coding the from header.
1. I have this in /etc/exim4/conf.d/rewrite/31_exim4-config_rewriting * "User Name <sa...@example.com>" Ffrs And I know this is being used because if I change sa...@example.com to something else, the From header does have that new email in it instead, still with the www-data username. I tried setting the GCOS for the www-data user so that the full name field was "User Name". I also tried this for the Debian-exim user which the process actually runs as. I tried putting this add_header in 30_exim4-config_check_rcpt as well as changing the control variable accept hosts = : control = dkim_disable_verify/submission/sender_retain add_header = From: User Name <sa...@example.com> No matter what I do I still see this in the logs: 368 SMTP>> MAIL FROM:<sa...@example.com> SIZE=8682 and this in the raw email: From: www-data <sa...@example.com> Can someone please tell me what I'm doing wrong? I'm using this version: Exim version 4.84_2 #2 built 10-Feb-2018 14:37:59 Thanks so much in advance for any help. Chad -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/