SMTP   view as chat

(Part of the detailed Step-by-Step Installation Guide for setting up the Server)

Needed for Admin alerts & for Applications' mail functionality. Also useful for POP-3/IMAP users.

NB Debian (& hence Ubuntu) have a unique way of configuring Exim: http://pkg-exim4.alioth.debian.org/

sudo apt-get install exim4
sudo dpkg-reconfigure exim4-config

split into small files? No
configuration: mail sent by smarthost; received via SMTP or fetchmail
system mail name: mail.asiasource2
Listen on: 127.0.0.1:192.168.1.1:192.168.2.1
Other destinations: camp.asiasource2:blog.asiasource2:wiki.asiasource2
Machines to relay mail for: 127.0.0.1:192.168.1.0/24:192.168.2.0/24
Smarthost: smtp.eclipse.net.uk
Hide local: Yes
visible name: mail.asiasource2
Dial on demand: No
mbox format in /var/mail/

sudo vi /etc/aliases

root: admin@internet.mail
webmaster: root

sudo newaliases 
sudo /etc/init.d/exim4 restart

Continue with the rest of the detailed Step-by-Step Installation Guide


Last edited by: Fran