iT邦幫忙

0

mailx 发送邮件报错

错误信息:

[root@zabbix ~]# echo "zabbix test mail" | mail -s "zabbix" monitor@it.local
[root@zabbix ~]# smtp-server: 504 5.7.4 Unrecognized authentication type
"/root/dead.letter" 11/303
. . . message not sent.

操作系统:CentOS 8
配置过程:
安装 mailx:yum install -y mailx
配置 mail.rc 文件:vim /etc/mail.rc

set from=zabbix@it.local
set smtp=exsvr.it.local
set smtp-auth-user=zabbix@it.local
set smtp-auth-password=xxxxx
set smtp-auth=login

邮件环境:
Exchange Server 2019
登录到 owa 可以正常发送邮件。

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答