INSTALL
changeset 75 af813ede1e19
parent 30 24d8baf0cd6b
child 91 0e5b2835414d
equal deleted inserted replaced
74:67a454ea5472 75:af813ede1e19
    57 
    57 
    58 Configuring Dovecot
    58 Configuring Dovecot
    59 
    59 
    60 * /etc/dovecot/dovecot.conf
    60 * /etc/dovecot/dovecot.conf
    61     # all your other settings
    61     # all your other settings
       
    62     #disable_plaintext_auth = no
    62     mail_location = maildir:~/Maildir
    63     mail_location = maildir:~/Maildir
    63     mail_privileged_group = mail
    64     mail_privileged_group = mail
    64     first_valid_uid = 70000
    65     first_valid_uid = 70000
    65     first_valid_gid = 70000
    66     first_valid_gid = 70000
    66     protocol lda {
    67     protocol lda {
    67       postmaster_address = postmaster@domain.tld
    68       postmaster_address = postmaster@YOUR-DOMAIN.TLD
    68     }
    69     }
    69     auth default {
    70     auth default {
    70       mechanisms = plain login cram-md5 digest-md5
    71       mechanisms = plain login cram-md5 
    71       passdb sql {
    72       passdb sql {
    72         args = /etc/dovecot/dovecot-sql.conf
    73         args = /etc/dovecot/dovecot-sql.conf
    73       }
    74       }
    74       userdb sql {
    75       userdb sql {
    75         args = /etc/dovecot/dovecot-sql.conf
    76         args = /etc/dovecot/dovecot-sql.conf
   117 
   118 
   118 
   119 
   119 Configuring Postfix's main.cf
   120 Configuring Postfix's main.cf
   120 
   121 
   121     # virtual domains
   122     # virtual domains
   122     virtual_mailbox_domains =  pgsql:/etc/postfix/pgsql-virtual_mailbox_domains.cf
   123     virtual_mailbox_domains = pgsql:/etc/postfix/pgsql-virtual_mailbox_domains.cf
   123     virtual_alias_maps = pgsql:/etc/postfix/pgsql-virtual_alias_maps.cf
   124     virtual_alias_maps = pgsql:/etc/postfix/pgsql-virtual_alias_maps.cf
   124     transport_maps = pgsql:/etc/postfix/pgsql-transport.cf
   125     transport_maps = pgsql:/etc/postfix/pgsql-transport.cf
   125     virtual_minimum_uid = 70000
   126     virtual_minimum_uid = 70000
   126     virtual_uid_maps = pgsql:/etc/postfix/pgsql-virtual_uid_maps.cf
   127     virtual_uid_maps = pgsql:/etc/postfix/pgsql-virtual_uid_maps.cf
   127     virtual_gid_maps = pgsql:/etc/postfix/pgsql-virtual_gid_maps.cf
   128     virtual_gid_maps = pgsql:/etc/postfix/pgsql-virtual_gid_maps.cf
   136     smtpd_sasl_type = dovecot
   137     smtpd_sasl_type = dovecot
   137     smtpd_sasl_path = private/auth
   138     smtpd_sasl_path = private/auth
   138     smtpd_sasl_auth_enable = yes
   139     smtpd_sasl_auth_enable = yes
   139     smtpd_sasl_local_domain = $myhostname
   140     smtpd_sasl_local_domain = $myhostname
   140     smtpd_sasl_security_options = noplaintext, noanonymous
   141     smtpd_sasl_security_options = noplaintext, noanonymous
       
   142     #smtpd_sasl_security_options = noanonymous
       
   143     #broken_sasl_auth_clients = yes
   141 
   144 
   142     smtpd_recipient_restrictions =
   145     smtpd_recipient_restrictions =
   143       permit_mynetworks
   146       permit_mynetworks
   144       permit_sasl_authenticated
   147       permit_sasl_authenticated
   145       reject_unauth_destination
   148       reject_unauth_destination