INSTALL
changeset 24 48ea255e8a85
parent 20 55146c78b3fb
child 30 24d8baf0cd6b
equal deleted inserted replaced
23:d5ad5432e9eb 24:48ea255e8a85
    65     first_valid_gid = 70000
    65     first_valid_gid = 70000
    66     protocol lda {
    66     protocol lda {
    67       postmaster_address = postmaster@domain.tld
    67       postmaster_address = postmaster@domain.tld
    68     }
    68     }
    69     auth default {
    69     auth default {
    70       mechanisms = cram-md5
    70       mechanisms = plain login cram-md5 digest-md5
    71       passdb sql {
    71       passdb sql {
    72         args = /etc/dovecot/dovecot-sql.conf
    72         args = /etc/dovecot/dovecot-sql.conf
    73       }
    73       }
    74       userdb sql {
    74       userdb sql {
    75         args = /etc/dovecot/dovecot-sql.conf
    75         args = /etc/dovecot/dovecot-sql.conf
    90     }
    90     }
    91 
    91 
    92 * /etc/dovecot/dovecot-sql.conf
    92 * /etc/dovecot/dovecot-sql.conf
    93     driver = pgsql
    93     driver = pgsql
    94     connect = host=localhost dbname=mailsys user=dovecot password=$Dovecot_PASS
    94     connect = host=localhost dbname=mailsys user=dovecot password=$Dovecot_PASS
    95     default_pass_scheme = HMAC-MD5
    95     default_pass_scheme = PLAIN
    96     password_query = SELECT "user", password FROM dovecot_password WHERE "user"='%u' AND %Ls
    96     password_query = SELECT "user", password FROM dovecot_password WHERE "user"='%u' AND %Ls
    97     user_query = SELECT home, uid, gid, 'maildir:'||mail AS mail FROM dovecot_user WHERE userid = '%u'
    97     user_query = SELECT home, uid, gid, 'maildir:'||mail AS mail FROM dovecot_user WHERE userid = '%u'
    98 
    98 
    99 Provide a root SETUID copy of Dovecot's deliver agent for Postfix
    99 Provide a root SETUID copy of Dovecot's deliver agent for Postfix
   100 
   100