运行一个托pipe10个Wordpress网站的Ubuntu服务器
在我的validation日志中find这个是否正常?
Oct 26 08:40:01 andre CRON[4737]: pam_unix(cron:session): session opened for user smmsp by (uid=0) Oct 26 08:40:01 andre CRON[4737]: pam_unix(cron:session): session closed for user smmsp Oct 26 09:00:01 andre CRON[6874]: pam_unix(cron:session): session opened for user smmsp by (uid=0) Oct 26 09:00:01 andre CRON[6874]: pam_unix(cron:session): session closed for user smmsp
我不确定为什么session会像这样打开和closuressendmail。
我看到这是系统日志:
Oct 27 08:20:01 andre CRON[7664]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp) Oct 27 08:20:01 andre postfix/pickup[1272]: 1F29212C7FF: uid=107 from=<smmsp> Oct 27 08:20:01 andre postfix/cleanup[7683]: 1F29212C7FF: message-id=<20141027082001.1F29212C7FF@andre> Oct 27 08:20:01 andre postfix/qmgr[1274]: 1F29212C7FF: from=<[email protected]>, size=676, nrcpt=1 (queue active) Oct 27 08:20:01 andre postfix/local[7685]: 1F29212C7FF: to=<[email protected]>, orig_to=<root>, relay=local, delay=0.02, delays=0.02/0.01/0/0, dsn=2.0.0, status=sent (delivered to maildir)
这是cron.d中的内容:
-rw-r--r-- 1 root root 544 Feb 28 2014 php5 -rw-r--r-- 1 root root 102 Apr 2 2012 .placeholder -rw-r--r-- 1 root root 2323 Apr 10 2014 sendmail
也跑了这个:
service sendmail status MSP: is run via cron (20m) MTA: is not running QUE: Same as MTA
我不确定这种行为是否正常,或者正在使用什么smmsp。
为了未来的读者在服务器故障上searchsmmsp的好处:
smmsp ( SendMail消息提交程序 )用户和组特定于Sendmail程序包,并且不被Postfix或任何其他邮件传输代理(MTA)使用。
如果您尚未将sendmail命令configuration为运行时的特定非root用户,则smmsp是Sendmail使用的默认用户。 它是作为安全措施引入的,因此sendmail中的漏洞无法为系统提供root用户的访问权限。
从Sendmail安装和操作指南
sendmail的二进制文件位于
/usr/sbin。 它应该是set-group-IDsmmsp
另请参阅将 Sendmail的第4版(O'Reilly)中的 smmsp添加到/ etc / passwd中 。
从问题中提供的信息中,Postfix和Sendmail都是同时安装(并正在运行)。 这可以通过运行来validation,
dpkg -l | grep sendmail
为了避免两个MTA之间的冲突,请删除上一个命令列出的Sendmail软件包。
似乎许多其他用户认为他们删除了Sendmail,实际上只是卸载了sendmail-base和sendmail软件包,所以他们不得不删除下列软件包:
aptitude purge sendmail-bin sendmail-cf sendmail-doc
以下是另一个用户的相关post,他们认为他们已经从系统中卸载了Sendmail: Postfix / Sendmail:从smmsp到root的频繁的电子邮件 。
smmsp是Postfix用来处理邮件的cron用户。 这只是正常的用户活动。