- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail usage
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
04-11-2006 10:06 PM
04-11-2006 10:06 PM
I am currently checking what services should be active on my HP-UX system.
On every system I see that there is a sendmail daemon running.
We only send mails from the Unix systems to Ms Exchange server (via smtp). Typically, the result of cron jobs to the job responsible.
Am I correct to assume that for sending mails the sendmail daemon should not be running?
Kris
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 10:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 10:23 PM
04-11-2006 10:23 PM
Re: sendmail usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 11:20 PM
04-11-2006 11:20 PM
Re: sendmail usage
Your assumption is correct. The daemon is necessary for the server or local users on the server to RECEIVE mail.
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
04-11-2006 11:21 PM
04-11-2006 11:21 PM
Re: sendmail usage
it is correct, that you do not need sendmail in daemon mode to send mails.
If however a mail you want to send cannot be forwarded to the relay e.g., it gets queued in the mqueue. When no daemon is running, such a mail will never be re-sent again.
So setup a cronjob, which starts - once per day or so - a sendmail (in normal mode, not as a deamon) to spool possibly stuck mails.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2006 11:35 PM
04-11-2006 11:35 PM
Re: sendmail usage
This is what Wikipedia says about sendmail.
Sendmail is a mail transfer agent (MTA) that is a well known project of the open source and Unix communities and is distributed both as free software and proprietary software.
http://en.wikipedia.org/wiki/Sendmail
Yes, You are correct.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2006 12:28 AM
04-12-2006 12:28 AM
Re: sendmail usage
As an addendum to the posts already done:
1. When you send an email from a UNIX system using pine, elm, mailx, etc (referred to by mail admins as the mail user agent (MUA)), the MUA will execute an intance of sendmail itself. As others have mentioned, sendmail in daemon mode is usually only used to receive email.
2. The caveat to the receiving email, though, is if your UNIX system must relay email for local users. I'm not sure why it's built this way, but SAP database servers (at least at my current client) must have a sendmail daemon running so the individual clients can relay through it to the outside world. The system still doesn't receive email. In this specific case, we lock sendmail down so it only listens on the loopback address. That way, incoming port 25 is blocked which prevents many of the security weaknesses inherent in sendmail.
O DaemonPortOptions=Port=smtp, Addr=127.0.0.1
is the option that needs to go into sendmail.cf to accomplish that.
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html