- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Email without 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
Discussions
Discussions
Forums
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
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
тАО08-10-2009 07:29 AM
тАО08-10-2009 07:29 AM
Email without sendmail ?
How is this possible ?
I have a system where I stopped the sendmail process. Checked the system using ps -ef and no sendmail process running . But Im able to send the emails out of the box using mailx command !!!
Does anybody know how his happens. Does mailx directly send emails using smtp port 25 without sendmail daemon ? Is there any other way I can check to see my endmail daemon not sending emails.
Ciao.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 07:52 AM
тАО08-10-2009 07:52 AM
Re: Email without sendmail ?
You can disable the sendmail daemon and not run it normally.
Then have cron run a sendmail -q command regularly to get the mail off the system.
Check the man page for other options you might want to use.
You absolutely do not need to run sendmail to get mail off your system.
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
тАО08-10-2009 07:58 AM
тАО08-10-2009 07:58 AM
Re: Email without sendmail ?
The mailx command is the email client in your case. When someone uses the mailx command with proper syntax, they can send emails to an external system without "using the port 25". Just like your outlook does.
Regards
Vijay Chinnasamy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 11:07 AM
тАО08-10-2009 11:07 AM
Re: Email without sendmail ?
From this statement above, I am under the impression that you do not want this server to send any email messages, outward bound. If this is right, you need to disable mail sending. If your server is not directly sending email but using a mail relay server, it is very easy to accomplish. Just edit /etc/mail/sendmail.cf then find the line starting with letters DS immediately followed by your organization's mail relay server name, and drop the mail relay server name from this line. For example, you find a line like this:
DSexchange.domain.com
after you drop it, your line should look like this
DS
at this point you save your file and exit. And your server can not send mail messages even if your life's dependent on it.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 12:05 PM
тАО08-10-2009 12:05 PM
Re: Email without sendmail ?
Hi
Check this post of mine have some good explanation on how sendmail works.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1355386
Thanks and Regards
Rajeev