先简单介绍一下EXIM4, EXIM4 是一个邮件传送代理(MTA), EXIM4可以替代linux 下的SendEmail, 配置很简单,
需要注意的是EXIM4只是用来传送邮件, 收取邮件需要安装POP, IMAP软件。
官方解释
exim 写道
Exim is a message transfer agent (MTA) developed at the University of Cambridge for use on Unix systems connected to the Internet. It is freely available under the terms of the GNU General Public Licence. In style it is similar to Smail 3, but its facilities are more general. There is a great deal of flexibility in the way mail can be routed, and there are extensive facilities for checking incoming mail. Exim can be installed in place of Sendmail, although the configuration of Exim is quite different.
关于EXIM4的中文资料比较少, 我发了不少时间在这上面,才配置好了。
设置DNS解析添加MX记录
我这里用的是bind 9 ,
配置如下:
@ IN NS example.com.
@ IN MX mail.example.com.
mail IN A 46.249.37.131
反向解析, 这一步骤不是必须的, 但如果你不想GOOGLE把你的邮件当垃圾服务器, 这个需要加上
@ IN NS example.com.
131 IN PTR example.com.
131 IN PTR mail.example.com.
</

本文介绍了如何在Ubuntu系统中安装和配置EXIM4邮件服务器,包括SMTP Authentication、SASL配置以及DNS和证书设置。通过设置DNS MX记录、生成SSL证书、启用SMTP认证和SASL,确保邮件服务器正常工作。此外,还提及了安装Dovecot以支持邮件收取,并提供了解决认证问题的调试方法。
最低0.47元/天 解锁文章
2097

被折叠的 条评论
为什么被折叠?



