大网数据广告活动
服务器运维问答

How to determine which mail program is running on my server

· 52CE 我爱测

I am fairly new to server administration and completely new to mail server administration. Someone else installed my mail server and I need to a) determine which program it is and b) check mail sending logs. The server is a Digit…

问题原文

原帖链接 · Oliver Williams · CC BY-SA 3.0

I am fairly new to server administration and completely new to mail server administration.

Someone else installed my mail server and I need to a) determine which program it is and b) check mail sending logs. The server is a Digital Ocean droplet (again, someone set it up for me, they are not available for contact now). It is a centOS distro.

How do I determine which mail server is running on my system?

已采纳解答

原帖链接 · Gerald Schneider · CC BY-SA 3.0

netstat will tell you the binary that is listening on the tcp ports.

$ netstat -nlp |grep :25
tcp        0      0 ::1:25                      :::*                        LISTEN      1782/master

ps tells you the exact path of the binary:

$ ps -Af |grep 1782
 root      1782     1  0  2016 ?        00:00:51 /usr/libexec/postfix/master

yum provides will tell you wich package it belongs to.

$ yum provides /usr/libexec/postfix/master
2:postfix-2.6.6-6.el6_7.1.x86_64 : Postfix Mail Transport Agent
Repo        : installed
Matched from:
Other       : Provides-match: /usr/libexec/postfix/master

Look for Repo: installed in the result.

In this case, it is postfix

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-01-09)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。