- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- turn off linux sendmail daemon
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
тАО12-06-2005 04:28 AM
тАО12-06-2005 04:28 AM
Working with RH 3.0EL.
Working on shutting off various services & daemons. One is the sendmail process.
Example, on HPUX you can have sendmail daemon turned off and email will still be delivered from the system. Receiving email is not allowed with sendmail daemon is off.
Want the same on Linux. What I get is the maillog is;
stat=Deferred: Connection refused by [127.0.0.1]
I would like to have the sendmail daemon turned off and deliver email.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2005 09:47 AM
тАО12-06-2005 09:47 AM
Re: turn off linux sendmail daemon
You could also simply bind sendmail only to localhost.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2005 03:50 PM
тАО12-06-2005 03:50 PM
Re: turn off linux sendmail daemon
You could try setting the DS macro in the sendmail file - pointing to your mail server.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 01:55 AM
тАО12-07-2005 01:55 AM
Re: turn off linux sendmail daemon
Turn off sendmail (service sendmail stop) and the email does not go out. The maillog says "Deferred: Connection refused by 127.0.0.1"
What is missing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 02:06 AM
тАО12-07-2005 02:06 AM
Re: turn off linux sendmail daemon
Once you hit the . (dot) key to send the mail, it acts like it is gone. The mailq command will show there is no mail.
Start the sendmail service and the message will be delivered. With the subject and body intact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 02:14 AM
тАО12-07-2005 02:14 AM
Re: turn off linux sendmail daemon
The sendmail daemon handles the inbound mail. The daemon has to be running to handle inbound smtp traffic.
The server will still be able to send mail using the sendmail binary.
In order to disable this feature, you will need to rename or disable the binary.
This will cause problems, because on Linux root cron delivers mail to root.
To get a connection refused on localhost, modify the /etc/mail/access
file and go for REJECT instead of relay.
At this point, the system will not be able to email itself.
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
тАО12-07-2005 02:37 AM
тАО12-07-2005 02:37 AM
Re: turn off linux sendmail daemon
from the rc?.d directtories. This will
prevent it from starting.
You will want to add crontab entry to run the
sendmail queue processing proces.
Sendmail is can be quite difficult to
configure. I use exim which provides
the same functionality with much simpler
configuration.
There are a couple of simple sendmail
replacements that will process local mail
and forward it off to a mail hub.
This may be more what you want.
Check the Debian security documentation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 05:05 AM
тАО12-07-2005 05:05 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 05:38 PM
тАО12-07-2005 05:38 PM
Re: turn off linux sendmail daemon
Last line in /etc/mail/submit.mc says
FEATURE(`msp', `[127.0.0.1]')dnl
Change it to
FEATURE(`msp', `[
Then run
# m4 /etc/mail/submit.mc > /etc/mail/submit.cf
Now you can shutdown sendmail and still send email outside.
To check outgoing email queue run
# mailq -Ac
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2006 04:44 AM
тАО01-05-2006 04:44 AM
Re: turn off linux sendmail daemon
To turn off linux sendmail daemon, u just need to type the following commands..
#service sendmail stop
u can also edit the sendmail.cf file and comment the line start with "DSxxx.com". Then type..
#service sendmail restart
u can also configured firewall to disable sendmail..
#iptables -A INPUT -P TCP --dport 25 -J DENY
#iptables -A OUTPUT -P TCP --dport 25 -J DENY
it should help u to resolve ur issue..
Cheers
indrajit