我刚刚安装了 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