- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail : modify "From:" field
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2006 03:17 PM
12-06-2006 03:17 PM
10.1.12.1 hostA.123.com
When I use root to sendmail, "From:" filld would display "root@hostA.123.com" in the outlook express. I want ot "From:" only shows "root". Is it possible to do that in sendmail 8.9.3 ? Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 01:25 AM
12-07-2006 01:25 AM
Re: sendmail : modify "From:" field
Thanks in advanced.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 01:33 AM
12-07-2006 01:33 AM
Solution###################################################################
### Ruleset 93 -- convert header names to masqueraded form ###
###################################################################
S93
Rroot < @ $* > $* root.$w < @ $1 > $2 Special case for root
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 01:35 AM
12-07-2006 01:35 AM
Re: sendmail : modify "From:" field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 01:39 AM
12-07-2006 01:39 AM
Re: sendmail : modify "From:" field
1) The sendmail should be updated.
2) So long as the domain name desired is under 8 characters, you can change the system hostname to get the same results as the Dj directive host becomes host.your.net
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 01:42 AM
12-07-2006 01:42 AM
Re: sendmail : modify "From:" field
root.hostname@yourdomain.com
as long as the DM maacro is set...
# who I masquerade as (null for no masquerading) (see also $=M)
DMyourdomain.com
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 02:27 AM
12-07-2006 02:27 AM
Re: sendmail : modify "From:" field
I can't set above line in the sendmail.cf due to the start sendmail daemon would got error message. Can you give a sample file "sendmail.cf" including above line for me testing. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 02:40 AM
12-07-2006 02:40 AM
Re: sendmail : modify "From:" field
/# /sbin/init.d/sendmail start
/etc/mail/sendmail.cf: line 1642: invalid rewrite line "Rroot < @ * > * root.w < @ 1 > 2" (tab expected)
554 /etc/mail/sendmail.cf: line 1642: invalid rewrite line "Rroot < @ * > * root.w < @ 1 > 2" (tab expected)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 03:11 AM
12-07-2006 03:11 AM
Re: sendmail : modify "From:" field
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 03:27 AM
12-07-2006 03:27 AM
Re: sendmail : modify "From:" field
But I don't want to
"root.hostname@yourdomain.com" in the mail "From:" , I just whan "From:" shows "root" . Is it posslbe to do that ?
Thanks in advanced.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 04:48 AM
12-07-2006 04:48 AM
Re: sendmail : modify "From:" field
root < @ $1 > $2
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 03:56 PM
12-07-2006 03:56 PM
Re: sendmail : modify "From:" field
After changed to above, in the mail "FROM:" still show "root@hostanem.domain"
Could you check the format when I configure wrong ?
Is it possible only shows the username, such as "root", "user1", "user2" and so on. Thanks in advanced.