Howto install Postfix Mail Server on Ubuntu 13.04 12.10 12.04 11.10 11.04

Howto install Postfix Mail Server on Ubuntu 13.04 12.10 12.04 11.10 11.04

postfix mail server


Step 1: Install postfix on Ubuntu

root@ip-10-48-234-13:~# apt-get install postfix
Reading package lists… Done
Building dependency tree
Reading state information… Done
Suggested packages:
procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin dovecot-common postfix-cdb mail-reader postfix-doc
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 72 not upgraded.
Need to get 0 B/1,320 kB of archives.
After this operation, 3,454 kB of additional disk space will be used.
Preconfiguring packages …
(Reading database … 50291 files and directories currently installed.)
Unpacking postfix (from …/postfix_2.9.6-1~12.04.1_amd64.deb) …
Processing triggers for man-db …
Processing triggers for ureadahead …
Processing triggers for ufw …
Setting up postfix (2.9.6-1~12.04.1) …
Adding group `postfix’ (GID 115) …
Adding system user `postfix’ (UID 108) …
Adding new user `postfix’ (UID 108) with group `postfix’ …
Not creating home directory `/var/spool/postfix’.
Creating /etc/postfix/
Adding tcp map entry to /etc/postfix/
Adding sqlite map entry to /etc/postfix/
Adding group `postdrop’ (GID 116) …
setting myhostname:
setting alias maps
setting alias database
mailname is not a fully qualified domain name. Not changing /etc/mailname.
setting destinations: /etc/mailname,,, localhost
setting relayhost:
setting mynetworks: [::ffff:]/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/ (and others) as needed. To view Postfix configuration
values, see postconf(1).After modifying, 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

Step 2: Configure Postfix Mail Server by menu

root@ip-10-48-234-13:~# sudo dpkg-reconfigure postfix

postfix configuration

postfix configuration 2

postfix configuration 3

postfix configuration 4

postfix configuration 5

That’s it. Thanks for using

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>