- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- configuration of sendmail
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
01-11-2006 07:19 AM
01-11-2006 07:19 AM
I need to configure sendmail on my server.
Can you please help me how to do that?
This service is being established to enable system level alerts to be forwarded via email to support staff.
Please suggest.
Thanks
bunty
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 07:28 AM
01-11-2006 07:28 AM
SolutionSendmail is enabled by default.
All you need to make it work is a network connection to the mail server you wish to recieve the mail and hostname resolution if you are sending mail by domain name.
Test:
sendmail -v -d8.99 -d38.99 anaddress@your.net
type some text
.
Other tools
sendmail -v -q # runs the mail queue verbose
mailq
Look at sendmail.cf for your current sendmail configuration.
Look at /etc/rc.config.d/sendmail
If the start variable is 1 you are running the sendmail receive daemon, but that is not needed to send mail.
There may be nothing to do on your hpux server at all.
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
01-11-2006 07:33 AM
01-11-2006 07:33 AM
Re: configuration of sendmail
export SENDMAIL_SERVER=1
export SENDMAIL_RECVONLY=0
export SENDMAIL_SENDONLY=0
If you want to do masquerade, you could set:
export SENDMAIL_SERVER_NAME=
To something.
If you want to use a SMART Host to forward messages, edit the /etc/mail/sendmail.cf file and add:
# "Smart" relay host (may be null)
# DS
DSmailserver.domain.com
If you don't use smart host, your dns configuration must be working correctly. Check your /etc/resolv.conf file and /etc/nsswitch.conf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 09:21 AM
01-11-2006 09:21 AM
Re: configuration of sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 08:44 PM
01-11-2006 08:44 PM
Re: configuration of sendmail
Please see the following thread, which is having detailed way to configure/ check the configuration of sendmail..
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=987413
Regards,
shameer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2006 12:18 AM
01-12-2006 12:18 AM
Re: configuration of sendmail
My mail test above to an outide email address with the sendmail.cf DS directive off will provide proof of good DNS.
You will see an error message and the script will hang if name resolution does not work.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com