INSTALL
branchv0.6.x
changeset 564 55148bc6348e
parent 563 b17a9d7a59ae
child 577 4f9079dd4b65
equal deleted inserted replaced
563:b17a9d7a59ae 564:55148bc6348e
    19     is set to PLAIN-MD4, SHA256 or SSHA256
    19     is set to PLAIN-MD4, SHA256 or SSHA256
    20 
    20 
    21 [1] Psycopg: <http://initd.org/psycopg/> (Debian: python-psycopg2)
    21 [1] Psycopg: <http://initd.org/psycopg/> (Debian: python-psycopg2)
    22 [2] pyPgSQL: <http://pypgsql.sourceforge.net/> (Debian: python-pgsql)
    22 [2] pyPgSQL: <http://pypgsql.sourceforge.net/> (Debian: python-pgsql)
    23 [3] PyCrypto: <http://www.pycrypto.org/> (Debian: python-crypto)
    23 [3] PyCrypto: <http://www.pycrypto.org/> (Debian: python-crypto)
       
    24 
       
    25 
       
    26 Create additionally a user and groups for improved security
       
    27   We will create the system user `doveauth'. This user is used in the
       
    28   authentication process. On a Debian GNU/Linux System use this command:
       
    29 
       
    30 	adduser --system --home /nonexistent --no-create-home --group \
       
    31 	--disabled-login --gecos "Dovecot IMAP/POP3 authentication user" \
       
    32 	doveauth
       
    33 
       
    34   This will create the doveauth user and group.
       
    35   For Dovecot >= 2.0 we create also the group `dovemail'. Dovecot will assign
       
    36   this group to all Dovecot processes.
       
    37   On a Debian GNU/Linux bases system run:
       
    38 
       
    39 	addgroup --system dovemail
    24 
    40 
    25 
    41 
    26 Configuring PostgreSQL
    42 Configuring PostgreSQL
    27 (for more details see: http://vmm.localdomain.org/PreparingPostgreSQL)
    43 (for more details see: http://vmm.localdomain.org/PreparingPostgreSQL)
    28 
    44 
    94         args = /etc/dovecot/dovecot-sql.conf
   110         args = /etc/dovecot/dovecot-sql.conf
    95       }
   111       }
    96       userdb sql {
   112       userdb sql {
    97         args = /etc/dovecot/dovecot-sql.conf
   113         args = /etc/dovecot/dovecot-sql.conf
    98       }
   114       }
    99       user = nobody
   115       user = doveauth
   100       socket listen {
   116       socket listen {
   101         master {
   117         master {
   102           path = /var/run/dovecot/auth-master
   118           path = /var/run/dovecot/auth-master
   103           mode = 0600
   119           mode = 0600
   104         }
   120         }