HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- As Configuring Sendmail?
Operating System - HP-UX
1826061
Members
4086
Online
109690
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
Forums
Discussions
Discussions
Discussions
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
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
09-09-2003 12:55 PM
09-09-2003 12:55 PM
As Configuring Sendmail?
Hello,
Which are the steps to continue to configure the sendmail in my servant HPUX 10.20. The configuration is to send mail to suppliers of outside of my domain.
Thank you,
Orlando
Which are the steps to continue to configure the sendmail in my servant HPUX 10.20. The configuration is to send mail to suppliers of outside of my domain.
Thank you,
Orlando
Orlando Oliveira
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2003 06:26 PM
09-09-2003 06:26 PM
Re: As Configuring Sendmail?
This is for configuring sendmail without DNS
you need to know the SMTP server(exchage server) name and IP address that you put in DS setting.
1. Add following entries in /etc/mail/sendmail.cf file:
# to qualify local host name
Dj$w.hp.com
# smtp mail gateway ip address
DS 10.204.2.23
2. Add following to /etc/mail/sendmail.cw
hostname
hostname.com
hostname.hp.com
3. Add aliase to /etc/hosts file:
xyz.xx.xx.xx hostsname hostname.
note: the period (.) after hp00004 is required
4. Verify that /etc/mail/service.switch contains following:
hosts files
aliases files
Note: its 'hosts files' and not 'hosts dns files'
5. create /etc/nsswitch.conf to contain following information:
hosts: files
aliases: files
services: files
protocols: files
networks: files
netgroup: files
rpc: files
Note: sendmail 8.8.6 uses nsswitch, not service.switch
6. Verify macros :
# grep '^D' /etc/mail/sendmail.cf
Dj$w.hp.com
DS xx.xx.xx.xx
DH
DM
DnMAILER-DAEMON
DZ8.7.1
7. Verify /etc/rc.config.d/mailservs contain following:
export SENDMAIL_SERVER=1
8. Stop sendmail
/sbin/init.d/sendmail stop
9. Start sendmail
/sbin/init.d/sendmail.start
10. Test sendmail:
# sendmail -v abcS@xyz.com < /etc/hosts
you need to know the SMTP server(exchage server) name and IP address that you put in DS setting.
1. Add following entries in /etc/mail/sendmail.cf file:
# to qualify local host name
Dj$w.hp.com
# smtp mail gateway ip address
DS 10.204.2.23
2. Add following to /etc/mail/sendmail.cw
hostname
hostname.com
hostname.hp.com
3. Add aliase to /etc/hosts file:
xyz.xx.xx.xx hostsname hostname.
note: the period (.) after hp00004 is required
4. Verify that /etc/mail/service.switch contains following:
hosts files
aliases files
Note: its 'hosts files' and not 'hosts dns files'
5. create /etc/nsswitch.conf to contain following information:
hosts: files
aliases: files
services: files
protocols: files
networks: files
netgroup: files
rpc: files
Note: sendmail 8.8.6 uses nsswitch, not service.switch
6. Verify macros :
# grep '^D' /etc/mail/sendmail.cf
Dj$w.hp.com
DS xx.xx.xx.xx
DH
DM
DnMAILER-DAEMON
DZ8.7.1
7. Verify /etc/rc.config.d/mailservs contain following:
export SENDMAIL_SERVER=1
8. Stop sendmail
/sbin/init.d/sendmail stop
9. Start sendmail
/sbin/init.d/sendmail.start
10. Test sendmail:
# sendmail -v abcS@xyz.com < /etc/hosts
Did you take a backup?
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP