As a newbie Postfix user, I've gotten so far and now I am stuck with a SMALL problem.
I would like to configure my local network servers to send alerts and like using the following:
1) From address: firstname.lastname@example.org
2) From name: Hostname
I can get #1 to work fine using smtp_generic_maps
The problem is that on my email client, the name is listed as "root" - as in the header shows the following:
Date: Sun, 29 Jul 2012 13:21:01 -0400 (EDT)
From: email@example.com (root)
I'd like to change it to "From: firstname.lastname@example.org (Zeus)"
I imagine that this can be done in the headers_check, but so far I haven't gotten anything to work and before I waste a ton of time trying to get this to work, I'd like to make sure I am on the right track.
My aliasing and genericmaps are set up correctly (As far as I can see and know - the results are correct!). I just want to change that last bit in the From field to reflect the hostname.
I would also like to add something in the subject of the outgoing messages for easy filtering - something like Subject: [Zeus.domain] - "Original Subject"
Any suggestions are much appreciated. Thanks!