ubuntu 下安装邮件服务器EXIM4+dovecot

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

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

先简单介绍一下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.ex
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值