~ubuntu-branches/ubuntu/vivid/postfix/vivid-proposed

« back to all changes in this revision

Viewing changes to README_FILES/INSTALL

Tags: upstream-2.2.6
ImportĀ upstreamĀ versionĀ 2.2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
    % export MANPATH; MANPATH="`pwd`/man:$MANPATH"
68
68
    % setenv MANPATH "`pwd`/man:$MANPATH"
69
69
 
70
 
Of particular interest is the postconf(5) manual page that lists all the 300+
 
70
Of particular interest is the postconf(5) manual page that lists all the 400+
71
71
configuration parameters. The HTML version of this text makes it easy to
72
72
navigate around.
73
73
 
95
95
    OSF1.V3 - OSF1.V5 (Digital UNIX)
96
96
    Reliant UNIX 5.x
97
97
    Rhapsody 5.x
98
 
    SunOS 4.1.4 (January 2004)
 
98
    SunOS 4.1.4 (February 2005)
99
99
    SunOS 5.4 - 5.9 (Solaris 2.4..9)
100
100
    Ultrix 4.x (well, that was long ago)
101
101
 
168
168
    |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _ |
169
169
    |SASL authentication               |SASL_README |Postfix 1.0 |
170
170
    |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _ |
 
171
    |STARTTLS session encryption       |TLS_README  |Postfix 2.2 |
 
172
    |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _ _ _ _ _ |
171
173
 
172
 
Note: support for TLS (encrypted SMTP sessions and certificate based
173
 
authentication) and for IP version 6 is still separate from Postfix but is
174
 
expected to be merged soon.
 
174
Note: IP version 6 support is compiled into Postfix on operating systems that
 
175
have IPv6 support. See the IPV6_README file for details.
175
176
 
176
177
44..44 -- OOvveerrrriiddiinngg bbuuiilltt--iinn ppaarraammeetteerr ddeeffaauulltt sseettttiinnggss
177
178
 
301
302
 
302
303
    Note: there should be no whitespace before "postfix:".
303
304
 
304
 
  * Make sure there is a "postfix" alias in /etc/aliases, or whatever the
305
 
    pathname of your aliases file is; the command "postconf alias_maps" will
306
 
    tell you.
307
 
 
308
 
        /etc/aliases:
309
 
            postfix: root
310
 
 
311
 
    Note: there should be no whitespace before "postfix:".
312
 
 
313
305
  * Create a group "postdrop" with a group id that is not used by any other
314
306
    user account. Not even by the postfix user account. My group file entry
315
307
    looks like:
608
600
 
609
601
1100..88 -- CCrreeaattee tthhee aalliiaasseess ddaattaabbaassee
610
602
 
611
 
Finally, if you haven't used Sendmail prior to using Postfix, you will have to
612
 
build the alias database with one of the following commands:
 
603
Postfix uses a Sendmail-compatible aliases(5) table to redirect mail for local
 
604
(8) recipients. Typically, this information is kept in two files: in a text
 
605
file /etc/aliases and in an indexed file /etc/aliases.db. The command "postconf
 
606
alias_maps" will tell you the exact location of the text file.
 
607
 
 
608
First, be sure to update the text file with aliases for root, postmaster and
 
609
"postfix" that forward mail to a real person. Postfix has a sample aliases file
 
610
/etc/postfix/aliases that you can adapt to local conditions.
 
611
 
 
612
    /etc/aliases:
 
613
        root: you
 
614
        postmaster: root
 
615
        postfix: root
 
616
        bin: root
 
617
        etcetera...
 
618
 
 
619
Note: there should be no whitespace before the ":".
 
620
 
 
621
Finally, build the indexed aliases file with one of the following commands:
613
622
 
614
623
    # newaliases
615
624
    # sendmail -bi
616
625
 
617
 
Be sure to set up aliases for root and postmaster that forward mail to a real
618
 
person. Postfix has a sample aliases file /etc/postfix/aliases that you can
619
 
adapt to local conditions.
620
 
 
621
626
1111 -- TToo cchhrroooott oorr nnoott ttoo cchhrroooott
622
627
 
623
628
Postfix daemon processes can be configured (via master.cf) to run in a chroot
648
653
Additionally, you almost certainly need to configure syslogd so that it listens
649
654
on a socket inside the Postfix queue directory. Examples for specific systems:
650
655
 
651
 
FreeBSD: syslogd -l /var/spool/postfix/var/run/log
652
 
 
653
 
Linux, OpenBSD: syslogd -a /var/spool/postfix/dev/log
 
656
FreeBSD:
 
657
 
 
658
    # mkdir -p /var/spool/postfix/var/run
 
659
    # syslogd -l /var/spool/postfix/var/run/log
 
660
 
 
661
Linux, OpenBSD:
 
662
 
 
663
    # mkdir -p /var/spool/postfix/dev
 
664
    # syslogd -a /var/spool/postfix/dev/log
654
665
 
655
666
1122 -- CCaarree aanndd ffeeeeddiinngg ooff tthhee PPoossttffiixx ssyysstteemm
656
667