INSTALL
branchv0.6.x
changeset 378 af56cee51e67
parent 365 61fdd77d2e65
child 563 b17a9d7a59ae
equal deleted inserted replaced
377:920cb090eb09 378:af56cee51e67
   114 * /etc/dovecot/dovecot-sql.conf
   114 * /etc/dovecot/dovecot-sql.conf
   115     driver = pgsql
   115     driver = pgsql
   116     connect = host=localhost dbname=mailsys user=dovecot password=$Dovecot_PASS
   116     connect = host=localhost dbname=mailsys user=dovecot password=$Dovecot_PASS
   117     default_pass_scheme = PLAIN
   117     default_pass_scheme = PLAIN
   118     password_query = SELECT "user", password FROM dovecot_password WHERE "user"='%Lu' AND %Ls
   118     password_query = SELECT "user", password FROM dovecot_password WHERE "user"='%Lu' AND %Ls
   119     user_query = SELECT home, uid, gid, 'maildir:'||mail AS mail FROM dovecot_user WHERE userid = '%Lu'
   119     user_query = SELECT home, uid, gid, mail FROM dovecot_user WHERE userid = '%Lu'
   120 
   120 
   121 Provide a root SETUID copy of Dovecot's deliver agent for Postfix
   121 Provide a root SETUID copy of Dovecot's deliver agent for Postfix
   122 
   122 
   123     mkdir -p /usr/local/lib/dovecot
   123     mkdir -p /usr/local/lib/dovecot
   124     chmod 700 /usr/local/lib/dovecot
   124     chmod 700 /usr/local/lib/dovecot
   134 
   134 
   135 Configuring Postfix's master.cf
   135 Configuring Postfix's master.cf
   136 
   136 
   137     # Add Dovecot's deliver agent
   137     # Add Dovecot's deliver agent
   138     dovecot   unix  -       n       n       -       -       pipe
   138     dovecot   unix  -       n       n       -       -       pipe
   139       flags=DRhu user=nobody argv=/usr/local/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop} -n -m ${extension}
   139       flags=DORhu user=nobody argv=/usr/local/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop} -n -m ${extension}
   140 
   140 
   141 
   141 
   142 
   142 
   143 Configuring Postfix's main.cf
   143 Configuring Postfix's main.cf
   144     # relocated users from the database
   144     # relocated users from the database