linux - 2 powermta 服务上的警告错误
问题描述
我刚刚安装了 powermta,该服务似乎正在运行并且处于活动状态,但我有 2 个警告,我不知道如何解决你们知道如何解决这 2 个警告吗?
非常感谢
[root@pmta ~]# service pmta status -l
● pmta.service - Port25's Message Transfer Agent (MTA)
Loaded: loaded (/usr/lib/systemd/system/pmta.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2021-08-08 20:10:09 UTC; 1min 18s ago
Process: 24258 ExecStop=/usr/sbin/pmtawatch --stop pmtad (code=exited, status=0/SUCCESS)
Process: 24260 ExecStart=/usr/sbin/pmtawatch --start pmtad (code=exited, status=0/SUCCESS)
Main PID: 24262 (pmtad)
CGroup: /system.slice/pmta.service
├─24261 /usr/sbin/pmtawatch --start pmtad
└─24262 /usr/sbin/pmtad
Aug 08 20:10:08 pmta.beautylea.shop systemd[1]: Stopped Port25's Message Transfer Agent (MTA).
Aug 08 20:10:08 pmta.beautylea.shop systemd[1]: Starting Port25's Message Transfer Agent (MTA)...
Aug 08 20:10:08 pmta.beautylea.shop pmtawatch[24260]: 2021-08-08 20:10:08 WARNING (line 71 of /etc/pmta/config): 'route' is deprecated; use 'smtp-hosts' instead
Aug 08 20:10:08 pmta.beautylea.shop pmtawatch[24260]: 2021-08-08 20:10:08 WARNING (line 95 of /etc/pmta/config): 'route' is deprecated; use 'smtp-hosts' instead
Aug 08 20:10:09 pmta.beautylea.shop systemd[1]: pmta.service: Supervising process 24262 which is not our child. We'll most likely not notice when it exits.
Aug 08 20:10:09 pmta.beautylea.shop systemd[1]: Started Port25's Message Transfer Agent (MTA).
[root@pmta ~]#
在我有的 powermta 配置文件的第 71 行
路线 [127.0.0.1]:25
在第 95 行我有同样的事情
路线 [127.0.0.1]:25
解决方案
推荐阅读
- python - 如何在烧瓶表中制作具有相同文本的按钮?
- python - 为我的 shell 中的每个项目获取多个图像 url,但只为我的 csv 中的每个项目导入一个 url
- javascript - Upload a CSV file using AJAX in Django
- planning - PDDL2.1:“总体”的目的
- python - Plotly Sankey:如何避免将所有节点自动放置到右侧?
- vba - 如何从电子邮件线程的原始消息中获取详细信息?
- django - django 中的表单不保存在 Psql 中
- python - 我有一个数据集,其中列是 int 格式,但是当我执行 data.columns.dtype 时,它会显示 dtype('O')。如何将其更改为 int?
- tensorflow - create_pretraining_data.py 在训练自定义 BERT 模型时将 0 条记录写入 tf_examples.tfrecord
- python - 如何加载文本文件并在单个图中绘制多列?