Category Archives: bash

posfix with debian

apt-get install postfix
http://wiki.debian.org/Postfix
http://www.debian-administration.org/articles/243

With an edited sample of my /etc/aliases
# /etc/aliases
root: user1@dragon-tortuga.net #all mail sento to root@dragon-tortuga.net will end in my mailbox
mailer-daemon: postmaster #all mail sent to mail-daemon will go to postmaster, wich is root which is user1 (me)
postmaster: root
hostmaster: root
webmaster: root
www: root
ftp: root
abuse: root
user1: user1@dragon-tortuga.net
my.name: user1 #an alias to have more a more formal mail address
user2: user2@sutercnologico.net
user2.realname: user2
user3: user3@dragon-tortuga.net
—————
once you have finished editting this file, run
newaliases
invoke-rc.d postfix reload

This is a very basic set up that uses system accounts with all pros and cons.