- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail and the Genericstable
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
Discussions
Forums
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
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
тАО02-01-2001 09:35 AM
тАО02-01-2001 09:35 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2001 07:29 AM
тАО02-05-2001 07:29 AM
SolutionI would backup up sendmail.cf first. You can get a clean copy from /usr/newconfig/etc/mail/.
I am assuming that you are using sendmail on HPUX.
1. You will need patch PHNE_17135.
2. Modify the /etc/mail/sendmail.cf to uncomment this line:
Kgenerics dbm -o /etc/mail/genericstable
3. Uncomment the lines after S93 in sendmail.cf, following #handle generics database.
4. vi /etc/mail/genericstable
Add entries in this format:
user firstname_lastname@hp.com
5. Then do this:
makemap hash genericstable.db
6. Stop and stop sendmail:
killsm
/sbin/init.d/sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2001 07:33 AM
тАО02-05-2001 07:33 AM
Re: Sendmail and the Genericstable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2001 09:31 AM
тАО02-05-2001 09:31 AM
Re: Sendmail and the Genericstable
Yes we are running sendmail on a HPUX server. What we are trying to do is change the actual TO field to change where the mail is being delivered. I'm not sure whether the genericstable allows us to change the TO field or just the FROM field.
Any idea where I might be able to get the patch PHNE_17135? It doesn't seem to be part of the install. There are a number of PHNE patches but none with that particular number. Also how do you apply this patch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2001 02:25 AM
тАО02-06-2001 02:25 AM
Re: Sendmail and the Genericstable
[There is a very good book on sendmail with all this in it. See Sendmail by O'Reilly, ISBN 1-56592-222-0. It should be noted that different sendmail flavours are all slightly different].
A more common way of achieving this translation is to use a User Database. I will get the details together and post them here.
The patch I mentioned PHNE_17135 is a sendmail patch. You will need some sort of HP support contract to obtain it. It can be obtained from the web site www.itrc.hp.com. It will ask for a password. It really means that you need to be on sendmail version 8.8.6 or above. To see the version, telnet to host 25 of the server:
telnet hostname 25
You will see something like:
220 hp01.hp.com ESMTP Sendmail 8.9.3 (PHNE_18979)/8.9.3; Tue, 6 Feb 2001 10:24:59 GMT
where the version in this case is 8.9.3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2001 08:55 AM
тАО02-06-2001 08:55 AM
Re: Sendmail and the Genericstable
1. Modify /etc/mail/sendmail.cf to uncomment this line:
O UserDatabaseSpec=/etc/mail/userdb
2. Create the user database.
%makemap btree /etc/userdb.db < /etc/userdb
here the /etc/userdb is a text file:
format
key value
The general format of the file is:
bob:mailname Bob.Roberts@here.us.edu
Bob.Roberts:maildrop bop
Here, outgoing mail from the user named bob will be addressed as though it is from
Bob.Roberts@here.us.edu.
Note that there are pairs of mailname and maildrop.
maildrop:
The value is the official delivery address for this user.
mailname:
The mailname keyword causes a reverse alias transformation, wherein the login name in the key is changed into the address in the value for outgoing mail.
3. Stop and restart sendmail.