diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2010-08-08 17:51:29 -0300 | 
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2010-08-08 17:51:29 -0300 | 
| commit | 681787bc89c90be80806c70f7d6cbb2c15fbc82d (patch) | |
| tree | 7c875a36c579cbd474d5a3abd0096aa491d6300e /files/dovecot | |
| parent | 4dab103414b87ef8daf6df195bcd9feba41205ea (diff) | |
| download | puppet-mail-681787bc89c90be80806c70f7d6cbb2c15fbc82d.tar.gz puppet-mail-681787bc89c90be80806c70f7d6cbb2c15fbc82d.tar.bz2 | |
Using dovecot as LDA
Diffstat (limited to 'files/dovecot')
| -rw-r--r-- | files/dovecot/dovecot.conf | 24 | 
1 files changed, 13 insertions, 11 deletions
| diff --git a/files/dovecot/dovecot.conf b/files/dovecot/dovecot.conf index 761299a..19750bf 100644 --- a/files/dovecot/dovecot.conf +++ b/files/dovecot/dovecot.conf @@ -707,7 +707,7 @@ protocol managesieve {  ## LDA specific settings  ## -# protocol lda { +protocol lda {    # Address to use when sending rejection mails.    # postmaster_address = postmaster@example.com @@ -724,11 +724,11 @@ protocol managesieve {    #sendmail_path = /usr/lib/sendmail    # UNIX socket path to master authentication server to find users. -  #auth_socket_path = /var/run/dovecot/auth-master +  auth_socket_path = /var/run/dovecot/auth-master    # Enabling Sieve plugin for server-side mail filtering    # mail_plugins = cmusieve -# } +}  ##  ## Authentication processes @@ -969,7 +969,7 @@ auth default {    #}    # static settings generated from template <doc/wiki/UserDatabase.Static.txt> -  #userdb static { +  userdb static {      # Template for the fields. Can return anything a userdb could normally      # return. For example:      # @@ -983,7 +983,8 @@ auth default {      # the args in which case the passdb lookup is skipped.      #      #args = -  #} +    args = uid=5000 gid=5000 home=/var/mail/virtual/%u allow_all_users=yes +  }    # SQL database <doc/wiki/AuthDatabase.SQL.txt>    userdb sql { @@ -1035,16 +1036,17 @@ auth default {    # It's possible to export the authentication interface to other programs:    socket listen { -    #master { +    master {        # Master socket provides access to userdb information. It's typically        # used to give Dovecot's local delivery agent access to userdb so it        # can find mailbox locations. -      #path = /var/run/dovecot/auth-master -      #mode = 0600 +      path = /var/run/dovecot/auth-master +      mode = 0600        # Default user/group is the one who started dovecot-auth (root) -      #user =  -      #group =  -    #} +      user = vmail +      group = mail +    } +      client {        # Assuming the default Postfix $queue_directory setting        path = /var/spool/postfix/private/auth | 
