• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Linux OS Service ‘sendmail’

by admin

Service Name

sendmail

Description

This executes Mail Server Daemon which runs as a daemon in the background, listening for incoming mail from other machines. Sendmail can handle both incoming and outgoing mail. Sendmail eliminates some of the confusion caused by multiple mail delivery programs. It does this by routing mail for the user to the proper delivery program based on the email address. It accepts mail from a user’s mail program, interprets the mail address, rewrites the address into the proper form for the delivery program, and routes the mail to the correct delivery program. Sendmail insulates the end user from these details. If the mail is properly addressed, sendmail will see that it is properly passed on for delivery. Likewise, for incoming mail, sendmail interprets the address and either delivers the mail to a user’s mail program or forwards it to another system.

Service Control

To manage the sendmail service for future shutdowns and reboots, use the chkconfig service:

# chkconfig sendmail on
# chkconfig --list sendmail
sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off

To control the sendmail service immediately, use the service command or the init scripts:

# /etc/init.d/sendmail
Usage: /etc/init.d/sendmail {start|stop|restart|condrestart|status}

Example command usage is shown below:
Start this daemon:

# service sendmail start

Stop this daemon:

# service sendmail stop

Filed Under: Linux, Linux Services

Some more articles you might also be interested in …

  1. How to Disable NUMA in CentOS / RHEL 6,7
  2. imagemagick for image optimization
  3. How to delete unused kernels and keep only the running kernel in CentOS/RHEL
  4. How to Capture More Logs in /var/log/dmesg for CentOS/RHEL
  5. How to set children-max for udev Service in CentOS/RHEL 7
  6. How to Access VNC Server Through A Web Browser in CentOS/RHEL
  7. CentOS / RHEL : Beginners guide to cron
  8. How to Change Time Interval to Fall Back to Secondary DNS Server in CentOS/RHEL
  9. /var/log/chrony Directory Empty in CentOS/RHEL
  10. What is umask in UNIX/Linux

You May Also Like

Primary Sidebar

Recent Posts

  • JavaFX ComboBox: Set a value to the combo box
  • Nginx load balancing
  • nginx 504 gateway time-out
  • Images preview with ngx_http_image_filter_module

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright