Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | About

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

目录

62.1. install
62.1.1. ubuntu/debian
62.1.1.1. configure
62.1.2. CentOS/Redhat
62.2. exim 命令
62.2.1. 刷新邮件队列
62.3. 配置exim
62.3.1. /etc/aliases 别名配置
62.4. FAQ
62.4.1. Mailing to remote domains not supported

62.1. install

62.1.1. ubuntu/debian

$ sudo apt-get install exim4
			

62.1.1.1. configure

$ sudo dpkg-reconfigure exim4-config
				

62.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: