- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disable SMTP
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-2005 07:12 PM
04-11-2005 07:12 PM
2) After disable smtp, Can I still send or received the mail
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 07:15 PM
04-11-2005 07:15 PM
Re: Disable SMTP
edit /etc/inetd.conf and hash the line which starts the smtp service.
or stop the smtp service.
hpux, by default installs sendmail as the smtp service. you can stop sendmail by
/sbin/init.d/sendmail stop
you won't be able to send or receive mails after you stop the smtp services.
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 07:34 PM
04-11-2005 07:34 PM
Solution2) Your machine won't be able to operate as mail server after disabling SMTP, but you can get mail from other servers using POP3 or IMAP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 07:53 PM
04-11-2005 07:53 PM
Re: Disable SMTP
1)
to stop sendmail:
# /sbin/init.d/sendmail stop
or
# /usr/sbin/killsm
# ps -ef|grep -i sendmail
check if the daemon is kill
to disable smtp services:
# vi /etc/rc.config.d/mailservs
SENDMAIL_SERVER=0
then run the above steps to stop sendmail
2) after disabling smtp, u may still send mails provided the configuration in sendmail.cf are correct. to test:
# sendmail -v
hope it helps.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2005 01:08 AM
04-12-2005 01:08 AM
Re: Disable SMTP
Add this to root's cron:
# Make sure any queued mail is delivered, as sendmail isn't a daemon anymore
0,30 * * * * /usr/sbin/sendmail -q
Rgds...Geoff