33.2.1.3. Instalace

Vyhodit listingy, nebo je aspoň zkrátit.

V Debian Woody máme v zásadě dvě skupiny balíčků. Jednu postavneou na postfix 1.1.11-0.woody2 a druhou na postfix-snap 0.0.20020115-5

Instalace pomocí příkazu wajig je jednoduchá

# wajig install postfix
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  postfix-ldap postfix-pcre 
The following packages will be REMOVED:
  exim 
The following NEW packages will be installed:
  postfix postfix-ldap postfix-pcre 
0 packages upgraded, 3 newly installed, 1 to remove and 0  not upgraded.
Need to get 558kB of archives. After unpacking 343kB will be used.
Do you want to continue? [Y/n] Y

Konfigurace

General type of configuration? Internet with Smarthost
Mail name? firma.cz
Append .domain to simple addresses? No
SMTP relay host? (blank for none) ketu.firma.cz
Other destinations to accept mail for? (blank for none) moon.firma.cz, localhost.firma.cz, localhost
Get:1 http://debian woody/main postfix-ldap 1.1.11-0.woody2 [26.8kB]
Get:2 http://debian woody/main postfix-pcre 1.1.11-0.woody2 [23.5kB]
Get:3 http://debian woody/main postfix 1.1.11-0.woody2 [508kB]                 
Fetched 558kB in 1m1s (9115B/s)                                                
Preconfiguring packages ...
dpkg: exim: dependency problems, but removing anyway as you request:
 mutt depends on exim | mail-transport-agent; however:
  Package exim is to be removed.
  Package mail-transport-agent is not installed.
  Package exim which provides mail-transport-agent is to be removed.
 mutt depends on exim | mail-transport-agent; however:
  Package exim is to be removed.
  Package mail-transport-agent is not installed.
  Package exim which provides mail-transport-agent is to be removed.
 at depends on mail-transport-agent; however:
  Package mail-transport-agent is not installed.
  Package exim which provides mail-transport-agent is to be removed.
 mailx depends on mail-transport-agent; however:
  Package mail-transport-agent is not installed.
  Package exim which provides mail-transport-agent is to be removed.
(Reading database ... 15808 files and directories currently installed.)
Removing exim ...
Selecting previously deselected package postfix-ldap.
(Reading database ... 15746 files and directories currently installed.)
Unpacking postfix-ldap (from .../postfix-ldap_1.1.11-0.woody2_i386.deb) ...
Selecting previously deselected package postfix-pcre.
Unpacking postfix-pcre (from .../postfix-pcre_1.1.11-0.woody2_i386.deb) ...
Selecting previously deselected package postfix.
Unpacking postfix (from .../postfix_1.1.11-0.woody2_i386.deb) ...
Adding `diversion of /usr/share/man/man8/smtpd.8.gz to /usr/share/man/man8/smtpd.real.8.gz by postfix'
Setting up postfix (1.1.11-0.woody2) ...
Adding group postfix (101)...
Done.
adduser: Warning: The home dir you specified already exists.
Adding system user postfix...
Adding new user postfix (102) with group postfix.
Not creating home directory.
Adding group postdrop (102)...
Done.
setting myhostname: moon.firma.cz
setting alias maps
setting alias database
changing /etc/mailname
setting myorigin
setting destinations: moon.firma.cz, localhost.firma.cz, localhost
setting append_dot_mydomain: no
setting relayhost: ketu.firma.cz
setting mynetworks: 127.0.0.0/8
setting mailbox_command
setting mailbox_size_limit: 0
setting recipient_delimiter: +
/etc/aliases does not exist, creating it.

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(8).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
Starting mail transport agent: Postfix.

Setting up postfix-ldap (1.1.11-0.woody2) ...

Setting up postfix-pcre (1.1.11-0.woody2) ...

moon:~#