I am sending all my root email into one account. I am then setting up filters so that each servers email goes into it's own folder.
The problem is, some servers send their mail as, for example server "maple" in domain "matraex", will show as "FROM: firstname.lastname@example.org
". While others will come in as "FROM: email@example.com
." Of course I can't filter that cause 10 servers are coming in not actually showing localhost as "maple" which is the server name.
I also have logwatch emails coming in as "firstname.lastname@example.org" instead of "email@example.com."
I checked /etc/sysconfig/network & /etc/hosts/ but I'm not sure if these are places I want to be and if they are, what to add, remove, edit, etc.
So how do I change this so the actual name shows up, not "localhost"