我正在尝试使用ubuntu 14.04上的sendmail发送电子邮件
我在VM上安装了sendmail
包。
echo "My test email being sent from sendmail" | /usr/sbin/sendmail muname@domain.com
当我检查/var/log/mail.log找到
时Oct 14 15:19:39 wn2-aerq01 sm-mta[47774]: u9EFJX6f047770: to=<myname@domain.com>, ctladdr=<sshuser@localhost.localdomain> (2017/2017), delay=00:00:06, xdelay=00:00:05, mailer=esmtp, pri=120349, relay=domain-com.mail...ction.outlook.com. [207.46.163.170], dsn=5.7.1, stat=User unknown
Oct 14 15:19:49 wn2-aerq01 sm-mta[47774]: u9EFJX6f047770: u9EFJn6f047774: DSN: User unknown
Oct 14 15:19:49 wn2-aerq01 sm-mta[47774]: u9EFJn6f047774: to=<sshuser@localhost.localdomain>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30000, dsn=2.0.0, stat=Sent
我有这些配置文件
/etc/mail/sendmail.conf:https://paste.fedoraproject.org/456578/05403714/
/etc/mail/sendmail.mc:https://paste.fedoraproject.org/456579/54109147/
/ etc / mail / access:https://paste.fedoraproject.org/456588/55139147/
有人知道这里有什么不对吗?