From 681787bc89c90be80806c70f7d6cbb2c15fbc82d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 8 Aug 2010 17:51:29 -0300 Subject: Using dovecot as LDA --- files/dovecot/dovecot.conf | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'files') 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 - #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 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 -- cgit v1.2.3