- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail mail relay
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
09-04-2003 06:38 PM
09-04-2003 06:38 PM
sendmail mail relay
While sendmail to out of the intranet, it is use mail relay. If sendmail to the local intranet, it it doesn't use mail relay. How to configure this? Thankx.
OS: 10.20
sendmail patch: PHNE_18979 8.9.3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2003 06:43 PM
09-04-2003 06:43 PM
Re: sendmail mail relay
change
DS
to
DShostnameofrelayserver
thats the host name of the relay server
or
DS
[ip address of relay server]
I do the latter so mail flows when the DNS server internally is down. The external relay server has access to the outside world and I'd rather have the mail queue there than on my boxes.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
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
09-04-2003 07:00 PM
09-04-2003 07:00 PM
Re: sendmail mail relay
I've configure the DS. But all the mail will via the mail relay to send out. I'd want to local domain mail don't via mail relay. How to configure it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2003 07:12 PM
09-04-2003 07:12 PM
Re: sendmail mail relay
/etc/mail/aliases
someone@localdomain: username
This will route mail from the individual accounts to local user names. That will work for a small domain.
For an entire domain:
/etc/mail/virtusertable
@localdomain username
/etc/mail/genericstable
username @localdomain
That will send a whole domain's mail to a single user.
You'll need a script to build the hash databases, attaching a template.
Please point if posts were useful or solved the problem.
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
09-04-2003 07:19 PM
09-04-2003 07:19 PM
Re: sendmail mail relay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2003 09:14 AM
09-06-2003 09:14 AM
Re: sendmail mail relay
Also, try reading about the DL macro in the comments in the sendmail.cf
Here's a link that may help as well:
http://devrsrc1.external.hp.com/STK/impacts/i653.html
Good luck!
Seth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2003 05:45 PM
09-06-2003 05:45 PM
Re: sendmail mail relay
If your mail environment is static you can just jump in and edit sendmail.cf to make it do what you want it to do.
Or, you can run the gen_cf utility which will integrate the information from my previous posts. This allows you to be a little more dynamic and change you mail behavior without editing sendmail.cf
Except for the Dj and DS directives, doing anything else to sendmail.cf gives me a headache. I find it easier to work with sendmail.mc(which I have programmed to integrate the files noted in my prior post) on Linux and the gen_cf in HP-UX(which also integrates those files).
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com