- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail and the Virtusertable feature
Operating System - HP-UX
1752590
Members
3115
Online
108788
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО01-25-2001 06:37 AM
тАО01-25-2001 06:37 AM
Sendmail and the Virtusertable feature
Does anyone know how to activate this feature in Sendmail? I uncommented the line "Kvirtuser dbm -o /etc/mail/virtusertable" in the sendmail.cf file along with the only other section that I could find "# handle virtual users". I created the virtusertable using vi and then ran "makemap dbm virtusertable < virtusertable" to complete the process. I can find no documentation on this proceedure so I am basically guessing that this is how it is done. Can anybody help??
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2001 06:43 AM
тАО01-25-2001 06:43 AM
Re: Sendmail and the Virtusertable feature
1. Edit the sendmail.cf and uncomment out the following lines
Kvirtuser dbm /etc/mail/virtusertable
All the rules in ruleset SParse1 after comment "# handle virtual users" and before comment "# short Circuit local ..."
2. Create/vi the /etc/mail/virtusertable file and add an address for mapping.
user@hp.com user@atl.hp.com
@fictional.com %1@xyz.com
3. Make the map files.
makemap -v dbm virtusertable < virtusertable
This will create the map files for virtusertable.
virtusertable.dir
virtusertable.pag
Create a script to help automate this procedure.
create "makevt" insert the following line in makevt
makemap -v dbm virtusertable < virtusertable
chmod 700 makevt
4. Add the domain "fictional.com" to the sendmail.cw file.
5. Cycle sendmail to make your changes in the sendmail.cf file active
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Berlene
Kvirtuser dbm /etc/mail/virtusertable
All the rules in ruleset SParse1 after comment "# handle virtual users" and before comment "# short Circuit local ..."
2. Create/vi the /etc/mail/virtusertable file and add an address for mapping.
user@hp.com user@atl.hp.com
@fictional.com %1@xyz.com
3. Make the map files.
makemap -v dbm virtusertable < virtusertable
This will create the map files for virtusertable.
virtusertable.dir
virtusertable.pag
Create a script to help automate this procedure.
create "makevt" insert the following line in makevt
makemap -v dbm virtusertable < virtusertable
chmod 700 makevt
4. Add the domain "fictional.com" to the sendmail.cw file.
5. Cycle sendmail to make your changes in the sendmail.cf file active
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2001 07:31 AM
тАО01-25-2001 07:31 AM
Re: Sendmail and the Virtusertable feature
Thanks for the speedy reply.
I have done everything that you mentioned other than put the entry into the .cw file.
Maybe I should give you an idea of what I am trying to do. We handle about 30 different domains coming into our gateway. Some of the domains are handle by different out-sourcing centers and need to be sent to different gateways depending on the user id and domain name. Messy I know but this is how it needs to be done. I need to be able to change the user id and/or domain name and then route them to different gateways.
For example user1@domain.com is changed to user100@other.com.
I have set up a mailertable to route mail going to other.com to go to 192.168.0.50 and domain.com goes to 192.168.100.20. The mailertable works but I can't get user1@domain.com to convert to user100@other.com.
Any ideas if this would work or do I need to setup something different?
I have done everything that you mentioned other than put the entry into the .cw file.
Maybe I should give you an idea of what I am trying to do. We handle about 30 different domains coming into our gateway. Some of the domains are handle by different out-sourcing centers and need to be sent to different gateways depending on the user id and domain name. Messy I know but this is how it needs to be done. I need to be able to change the user id and/or domain name and then route them to different gateways.
For example user1@domain.com is changed to user100@other.com.
I have set up a mailertable to route mail going to other.com to go to 192.168.0.50 and domain.com goes to 192.168.100.20. The mailertable works but I can't get user1@domain.com to convert to user100@other.com.
Any ideas if this would work or do I need to setup something different?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP