$ sudo apt-get install postfix
[sudo] password for adminpro:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin
resolvconf postfix-cdb mail-reader
The following NEW packages will be installed:
postfix
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,304kB of archives.
After this operation, 3,248kB of additional disk space will be used.
Get:1
http://us.archive.ubuntu.com karmic/main postfix 2.6.5-3 [1,304kB]
Fetched 1,304kB in 1s (687kB/s)
Preconfiguring packages ...
Selecting previously deselected package postfix.
(Reading database ... 84409 files and directories currently installed.)
Unpacking postfix (from .../postfix_2.6.5-3_i386.deb) ...
Processing triggers for sreadahead ...
sreadahead will be reprofiled on next reboot
Processing triggers for ufw ...
Processing triggers for man-db ...
Setting up postfix (2.6.5-3) ...
Adding group `postfix' (GID 122) ...
Done.
Adding system user `postfix' (UID 115) ...
Adding new user `postfix' (UID 115) with group `postfix' ...
Not creating home directory `/var/spool/postfix'.
Creating /etc/postfix/dynamicmaps.cf
Adding tcp map entry to /etc/postfix/dynamicmaps.cf
Adding group `postdrop' (GID 123) ...
Done.
setting myhostname: vps-b472xo.perfohost.net
setting alias maps
setting alias database
changing /etc/mailname to sourcextra.com
setting myorigin
setting destinations: sourcextra.com, vps-b472xo.perfohost.net, localhost.perfohost.net, localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all
/etc/aliases does not exist, creating it.
WARNING: /etc/aliases exists, but does not have a root alias.
Postfix is now set up with a default configuration. If you need to make
changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
Running newaliases
* Stopping Postfix Mail Transport Agent postfix [ OK ]
* Starting Postfix Mail Transport Agent postfix [ OK ]
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place