GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail
Operating System - HP-UX
1846058
Members
2050
Online
110253
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
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
02-07-2001 11:09 PM
02-07-2001 11:09 PM
sendmail
I want to use mailx to send mails in a LAN from one Workstation to another.
Is there anybody who can tell me
how to configure sendmail?
Is there anybody who can tell me
how to configure sendmail?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 12:22 AM
02-08-2001 12:22 AM
Re: sendmail
Hi,
http://www.sendmail.org provides you with all the information you need including the configuration guide.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
http://www.sendmail.org provides you with all the information you need including the configuration guide.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 12:24 AM
02-08-2001 12:24 AM
Re: sendmail
The usual method for sending messages using mailx is:
echo Hello | mailx -s "Subject" user@domain.com
mailx will read from stdin so you can also do:
cat file | mailx -s "Subject" user@domain.com
By default, sendmail will work right from the start provided that you have the daemon running on the receiving machine. You should check /etc/rc.config.d/mailservs to see if SENDMAIL_SERVER=1.
If you are using DNS, check /etc/nsswitch.conf for the following:
hosts: dns [NOTFOUND=continue UNAVAIL=continue] files
You should then check that /etc/resolv.conf contains the correct name server information and that you can resolve the addresses of your other workstations through nslookup.
If you are NOT using DNS, make sure that /etc/nsswitch.conf contains the line:
hosts: files
You should then make sure that your workstations are listed in /etc/hosts and that nslookup can resolve their names.
If you are NOT using DNS, you are also likely to need to make a change to the sendmail.cf file.
Find the line beginning with Dj$w
This may be commented out so uncomment it and either add a domain so the line is
Dj$w.domain.com
OR
end the Dj$w line with a (.) so the line is
Dj$w.
You should then make sure that you have an alias in /etc/hosts your workstation name. Depending upon which Dj$w option you went for, the line should be either:
xxx.xxx.xxx.xxx host host.domain.com
OR
xxx.xxx.xxx.xxx host host.
(obviously xxx.xxx.xxx.xxx is the IP address)
echo Hello | mailx -s "Subject" user@domain.com
mailx will read from stdin so you can also do:
cat file | mailx -s "Subject" user@domain.com
By default, sendmail will work right from the start provided that you have the daemon running on the receiving machine. You should check /etc/rc.config.d/mailservs to see if SENDMAIL_SERVER=1.
If you are using DNS, check /etc/nsswitch.conf for the following:
hosts: dns [NOTFOUND=continue UNAVAIL=continue] files
You should then check that /etc/resolv.conf contains the correct name server information and that you can resolve the addresses of your other workstations through nslookup.
If you are NOT using DNS, make sure that /etc/nsswitch.conf contains the line:
hosts: files
You should then make sure that your workstations are listed in /etc/hosts and that nslookup can resolve their names.
If you are NOT using DNS, you are also likely to need to make a change to the sendmail.cf file.
Find the line beginning with Dj$w
This may be commented out so uncomment it and either add a domain so the line is
Dj$w.domain.com
OR
end the Dj$w line with a (.) so the line is
Dj$w.
You should then make sure that you have an alias in /etc/hosts your workstation name. Depending upon which Dj$w option you went for, the line should be either:
xxx.xxx.xxx.xxx host host.domain.com
OR
xxx.xxx.xxx.xxx host host.
(obviously xxx.xxx.xxx.xxx is the IP address)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 12:26 AM
02-08-2001 12:26 AM
Re: sendmail
Oops ! I forgot to say that you should stop and restart sendmail.
/sbin/init.d/sendmail stop
and
/sbin/init.d/sendmail start
/sbin/init.d/sendmail stop
and
/sbin/init.d/sendmail start
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 2026 Hewlett Packard Enterprise Development LP