I wonder if somebody could shed some light on whether it is possible to rewrite the From field of an outbound message to the BCC field on certain domains.
firstname.lastname@example.org sends a message to email@example.com, for the BCC field he uses firstname.lastname@example.org
Exim then rewrites the the From field of the message from email@example.com to the value of the BCC (firstname.lastname@example.org) before the message is processed through /etc/valiases
I came across Exim Specification - 33 Address rewriting, but I don't see how I would fetch the value of the BCC field in the rewrite.
Any pointers are appreciated. Ideally, if you could show an example, you'd make my day!