HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mail configuration
Operating System - HP-UX
1834247
Members
2576
Online
110066
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
06-27-2001 09:39 PM
06-27-2001 09:39 PM
mail configuration
how to do the mail configuration in hp-ux 11.0
send mail & read mail exact syntax i want
send mail & read mail exact syntax i want
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2001 10:11 PM
06-27-2001 10:11 PM
Re: mail configuration
Hi
I can give U basic steps for configuring sendmail here.
configuration for Send mail server.
1. Sets SENDMAIL_SERVER varaible in /etc/rc.config.d/mailservs to one.
2. Create /etc/mail/sendmail.cf and /etc/mail/aliases with default configuration.
3. Creates the file /etc/mail/sendmail.cw, this contains the hostname and fully qualified hostname of the system.
4. #/dbin/inint.d/sendmail start
This generates the aliases database from alias file and generated list will be kept in /etc/mail/aliases.db
5. #/usr/sbin/sendmail -bd -q 30m
For detailed information U can go thru the book "Administering Internet Services.
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2001 10:27 PM
06-27-2001 10:27 PM
Re: mail configuration
Hi Ravi,
You need to do a few things:
You need to make sure that your DNS is working
depending on your setup, but most people use
their own /etc/hosts file first and their DNS
second.
# cat /etc/nsswitch.conf
hosts: files [NOTFOUND=continue UNAVAIL=return TRYAGAIN=return] dns [NOTFOUND=
return UNAVAIL=continue TRYAGAIN=return]
# cat /etc/resolv.conf
nameserver 10.53.100.2
nameserver 10.53.100.3
domain yourdomain.com
Set up local aliases in /etc/mail/aliases
sysadmin: jon.doe@yourdomain.com
dbadmin: jane.doe@yourdomain.com
# newaliases
Add entries similar to this at the end of /etc/mail/sendmail.cw
localhost
host1.yourdomain.com
Make changes to your /etc/mail/sendmail.cf file
############################################################
### Localizable options ###
############################################################
# aliases for local host
Cw
# file containing names of hosts for which we receive email
Fw-o /etc/mail/sendmail.cw
# my official domain name
#Dj$w.Foo.COM
#Dj
Restart sendmail.
# /sbin/rc2.d/S540sendmail stop
# /sbin/rc2.d/S540sendmail start
To test try and send mail to yourself
# cat /etc/resolv.conf | elm -s "test" yourname@yourdomain.com
Beware these may not not work on your network, but it is
a starting point.
Regards
Michael
You need to do a few things:
You need to make sure that your DNS is working
depending on your setup, but most people use
their own /etc/hosts file first and their DNS
second.
# cat /etc/nsswitch.conf
hosts: files [NOTFOUND=continue UNAVAIL=return TRYAGAIN=return] dns [NOTFOUND=
return UNAVAIL=continue TRYAGAIN=return]
# cat /etc/resolv.conf
nameserver 10.53.100.2
nameserver 10.53.100.3
domain yourdomain.com
Set up local aliases in /etc/mail/aliases
sysadmin: jon.doe@yourdomain.com
dbadmin: jane.doe@yourdomain.com
# newaliases
Add entries similar to this at the end of /etc/mail/sendmail.cw
localhost
host1.yourdomain.com
Make changes to your /etc/mail/sendmail.cf file
############################################################
### Localizable options ###
############################################################
# aliases for local host
Cw
# file containing names of hosts for which we receive email
Fw-o /etc/mail/sendmail.cw
# my official domain name
#Dj$w.Foo.COM
#Dj
Restart sendmail.
# /sbin/rc2.d/S540sendmail stop
# /sbin/rc2.d/S540sendmail start
To test try and send mail to yourself
# cat /etc/resolv.conf | elm -s "test" yourname@yourdomain.com
Beware these may not not work on your network, but it is
a starting point.
Regards
Michael
Anyone for a Mutiny ?
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP