Category Archives: bash

posfix with debian

apt-get install postfix

With an edited sample of my /etc/aliases
# /etc/aliases
root: #all mail sento to 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 #an alias to have more a more formal mail address
user2.realname: user2
once you have finished editting this file, run
invoke-rc.d postfix reload

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