Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postfix: How to fudge the "From:" header for root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rastan
n00b
n00b


Joined: 19 Mar 2005
Posts: 1

PostPosted: Sat Apr 30, 2005 11:46 pm    Post subject: Postfix: How to fudge the "From:" header for root Reply with quote

Greetings,

I run postfix on several of my gentoo boxes. The problem I have is that some automated scripts (from cron, etc.) don't put the server name in the FROM: header of emails, making it confusing which server the email actually came from

Is there some setting or alias mapping in postfix where all email sent from root has the "From:" header changed from root@servername to "ServerName" <root@servername>? Basically I want my inbox to stop looking like this:

Subject From:
message1 root
message2 root
message3 root

to looking like this:

Subject From:
message1 Server1
message2 Server2
message3 Server3

I know about sendmail -F, but some scripts use their own SMTP engine, and I don't want to have to alter every possible script that might send from root to fix this.

I also know about client-side email filters, but the best this can do is drop emails from different servers into different folders, and I dont get a high enough volume of mail from a large group of servers to justify the effort.


Thanks for any help,

-Justin Grote
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum