- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Rewriting the From Line on Outgoing Mail is not wo...
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
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
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
10-13-2012 06:38 AM
10-13-2012 06:38 AM
Rewriting the From Line on Outgoing Mail is not working
Hi,
Rewriting the From Line on Outgoing Mail is not working. Could you please provide us the step by step method for configuring from line on outgoing mail. i followed the below procedure but no luck any idea where i stuck?
To rewrite From lines on an outgoing mail message, do the following:
1. Create the file /etc/mail/userdb, which contains two entries for
each mail user. The entries must be in the following format:
bkelley:mailname Bob_Kelley
Bob_Kelley:maildrop bkelley
2. Build the /etc/mail/userdb.db file with the makemap routine:
makemap btree /etc/mail/userdb.db < /etc/mail/userdb
3. Uncomment the following line in the /etc/mail/sendmail.cf file:
UserDatabaseSpec=/etc/mail/userdb.db
4. Add the i flag to all the mailer definitions, to enable UDB sender
rewriting. For example, change the mailer definition from
Mlocal, P=/usr/bin/rmail, F=lsDFMAw5:/|@m,
S=10/30, R=20/40, T=DNS/RFC822/X-Unix,
A=rmail -d $u
to
Mlocal, P=/usr/bin/rmail, F=lsDFMAw5:/|@mi,
S=10/30, R=20/40, T=DNS/RFC822/X-Unix,
A=rmail -d $u