Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | 51CTO学院 | CSDN程序员研修院 | OSChina 博客 | 腾讯云社区 | 阿里云栖社区 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏多维度架构

第 53 章 exim - meta-package to ease Exim MTA (v4) installation

目录

53.1. install
53.1.1. ubuntu/debian
53.1.2. CentOS/Redhat
53.2. exim 命令
53.2.1. 帮助信息
53.2.2. 测试发送邮件
53.2.3. 刷新邮件队列
53.3. 配置exim
53.3.1. /etc/aliases 别名配置
53.4. FAQ
53.4.1. Mailing to remote domains not supported

53.1. install

53.1.1. ubuntu/debian

$ sudo apt-get install exim4
			

53.1.1.1. configure

$ sudo dpkg-reconfigure exim4-config
				

53.1.2. CentOS/Redhat

# yum install exim
# chkconfig exim on
# cp /etc/exim/exim.conf{,.original}

			

切换默认MTA

# alternatives --config mta

There are 2 programs which provide 'mta'.

  Selection    Command
-----------------------------------------------
*  1           /usr/sbin/sendmail.postfix
 + 2           /usr/sbin/sendmail.exim

Enter to keep the current selection[+], or type selection number: