linux 关闭sendmail

简介: Sendmail是最重要的邮件传输代理程序。理解电子邮件的工作模式是非常重要的。一般情况下,我们把电子邮件程序分解成用户代理,传输代理和投递代理。

Sendmail是最重要的邮件传输代理程序。理解电子邮件的工作模式是非常重要的。一般情况下,我们把电子邮件程序分解成用户代理,传输代理和投递代理。 关闭Sendmail服务具体命令实现如下:


关闭sendmail服务

(1)[root@sample ~]# /etc/rc.d/init.d/sendmail stop  ← 关闭sendmail服务
或者[root@sample ~]# service sendmail stop  ← 关闭sendmail服务
Shutting down sendmail: [ OK ]
Shutting down sm-client: [ OK ]


(2)[root@sample ~]# chkconfig sendmail off  ← 关闭sendmail自启动


(3)[root@sample ~]# chkconfig --list sendmail  ← 确认sendmail自启动已被关闭(都为off就OK)
sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off

目录
相关文章
|
Oracle 关系型数据库 Linux
Linux 关闭透明大页(transparent_hugepage)和 NUMA
有些情况下需要关闭Linux 服务器的 透明大页和 NUMA,比如安装 Oracle 数据库!
Linux 关闭透明大页(transparent_hugepage)和 NUMA
|
网络协议 Linux
Linux 如何开放端口和关闭端口
Linux 如何开放端口和关闭端口
|
安全 Linux 数据安全/隐私保护
计算机BIOS的简单设置(要安装Linux需关闭Security Boot选项)
计算机BIOS的简单设置(要安装Linux需关闭Security Boot选项)
538 0
计算机BIOS的简单设置(要安装Linux需关闭Security Boot选项)
|
Linux
linux关闭终端提示音
linux关闭终端提示音
108 0
|
安全 Linux 网络安全
【Linux】云环境搭建准备——关闭防火墙
【Linux】云环境搭建准备——关闭防火墙
292 0
【Linux】云环境搭建准备——关闭防火墙
|
Linux 数据库 数据安全/隐私保护
Linux基础命令---sendmail发送邮件
sendmail sendmail是postfix中的一个发送邮件的代理程序,它负责发送邮件到远程服务器,并且可以接收邮件。sendmail在发送邮件的时候,默认从标砖输入读取内容,以“.”为结束。
6832 1
|
Linux
11.5 Linux关闭磁盘配额限制(quotaoff命令)
磁盘配额(Quota)服务既然能使用 quotaon 命令手动开启,那么自然也能手动关闭,使用 quotaoff 命令即可。
222 0
11.5 Linux关闭磁盘配额限制(quotaoff命令)
|
关系型数据库 MySQL Linux
linux下开启、关闭、重启mysql服务
linux下开启、关闭、重启mysql服务
288 0
|
Unix 应用服务中间件 Linux
linux :关闭tomcat端口(命令方式)
linux :关闭tomcat端口(命令方式)
460 0