- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail: Is it possible to relay to mail to diffe...
Operating System - HP-UX
1819803
Members
3212
Online
109607
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
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
тАО12-15-2003 01:38 AM
тАО12-15-2003 01:38 AM
Sendmail: Is it possible to relay to mail to different mail serv's?
Is it possible to configure sendmail to relay emails addressed for a particular domain to their smtp server directly as well as sending all other domain emails out to our ISP for delivery. Current setup is I have one DS entry in my sendmail.cf file which defines my ISP's mail server for relaying, however, I need to configure sendmail so that if there is mail for one particular domain then this goes to their SMTP server directly & not via the relay to our ISP. I have a VPN setup between my servers and this othre domain server so idea is that mail for/from them travels via the VPN but all other mail still relays via our ISP. I think this may be possible...? Anyone any ideas..?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2003 01:52 AM
тАО12-15-2003 01:52 AM
Re: Sendmail: Is it possible to relay to mail to different mail serv's?
Don't think you can do it directly, but using the access map, you can relay for another domain and as long as DNS MX records are setup, then you will forward to them.
theirdoamin.com relay
MX records:
theirdoamin.com mail exchanger = 0 mail.theirdoamin.com.
yourdomain.com mail exchanger = 10 mail.yourdoamin.com.
Rgds...Geoff
theirdoamin.com relay
MX records:
theirdoamin.com mail exchanger = 0 mail.theirdoamin.com.
yourdomain.com mail exchanger = 10 mail.yourdoamin.com.
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2003 02:39 AM
тАО12-15-2003 02:39 AM
Re: Sendmail: Is it possible to relay to mail to different mail serv's?
The way to fully handle this situation is this:
1) Configure the doamins for incoming and outgoing mail in the following files:
/etc/mail/virtusertable
/etc/mail/genericstable
These two files are tab delimited reverers for each other. One handles getting the right domain on outbound mail, the other inbound.
the gen_cf script that ships with HP-UX handles creating the necessary hash databases to handle the domain.
If you need individual accounts for individual users in the domains, you'll need entries in /etc/mail/aliases to alias the full domain name someone@your.net: localusername
Bounce sendmail and your're done.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Examples available.
SEP
1) Configure the doamins for incoming and outgoing mail in the following files:
/etc/mail/virtusertable
/etc/mail/genericstable
These two files are tab delimited reverers for each other. One handles getting the right domain on outbound mail, the other inbound.
the gen_cf script that ships with HP-UX handles creating the necessary hash databases to handle the domain.
If you need individual accounts for individual users in the domains, you'll need entries in /etc/mail/aliases to alias the full domain name someone@your.net: localusername
Bounce sendmail and your're done.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Examples available.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP