1818IP-服务器技术教程,云服务器评测推荐,服务器系统排错处理,环境搭建,攻击防护等

当前位置:首页 - 运维 - 正文

君子好学,自强不息!

Sendmail配置笔记之启动服务器

2022-11-05 | 运维 | 1818ip | 566°c
A+ A-

sendmail 启动服务器

  [root@redhatlinux9 RPMS]  # pstree | grep sendmail   检查是否启动

  chkconfig ipop3 on   #开启pop服务

  chkconfig imap on   #开启imap服务

  此两种服务需要xinetd的支持。service xintetd restart (/etc/xinetd.d)

  启动收信服务:

  [root@redhatlinux9 root]  # vi /etc/xinetd.d/ipop3

  将

  disable = yes 改为:

  disable = no

  [root@redhatlinux9 root]# vi /etc/xinetd.d/imap

  将

  disable = yes 改为:

  disable = no

  chkconfig ipop3 on   #开启pop服务

  chkconfig imap on   #开启imap服务

  [root@redhatlinux9 root]  # /usr/sbin/sendmail -bd -q30m

  – -bd:表示将以daemon形式启动

  -q:后接时间参数。表示每隔30分钟将邮件列表常识寄出一次。

本文来源:1818IP

本文地址:https://www.1818ip.com/post/7249.html

免责声明:本文由用户上传,如有侵权请联系删除!

发表评论

必填

选填

选填

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。