Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

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

目錄

61.1. install
61.1.1. ubuntu/debian
61.1.1.1. configure
61.1.2. CentOS/Redhat
61.2. exim 命令
61.2.1. 刷新郵件隊列
61.3. 配置exim
61.3.1. /etc/aliases 別名配置
61.4. FAQ
61.4.1. Mailing to remote domains not supported

61.1. install

61.1.1. ubuntu/debian

$ sudo apt-get install exim4
			

61.1.1.1. configure

$ sudo dpkg-reconfigure exim4-config
				

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