setup exim on debian

我的debian版本:6.0.3,使用系统自带的exim,如果你的系统还没有安装exim,先装这几个包:

1
2
3
4
5
Shell:~ >: aptitude search exim | grep '^i'
i exim4 - metapackage to ease Exim MTA (v4) installa
i exim4-base - support files for all Exim MTA (v4) packag
i exim4-config - configuration for the Exim MTA (v4)
i exim4-daemon-light - lightweight Exim MTA (v4) daemon

设置你的/etc/hosts, /etc/resolv.conf

1
2
3
4
Shell:~ >: cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 8.8.8.8
nameserver 8.8.4.4

可以装一下dnsmasq,避开那些讨厌的dns问题

1
2
3
Shell:~ >: aptitude search dnsmasq | grep '^i'
i dnsmasq - A small caching DNS proxy and DHCP/TFTP se
i A dnsmasq-base - A small caching DNS proxy and DHCP/TFTP se
开始配置

假设我的域名为:number23.no.de,可以先写在/etc/hosts里,

more >>