[Dovecot] lda and mail_location

Mark Edwards mark at antsclimbtree.com
Wed Jun 20 10:18:03 EEST 2007


I have the following set in the main level of my dovecot.conf file:

mail_location = maildir:/var/mail/virtual/%u

I decided to enable the lda protocol for local delivery from postfix,  
so I could use sieve plugins.  The lda protocol seems to ignore  
settings in the rest of the dovecot.conf file, however, such as the  
above.  Unless lda has a pre-existing maildir mailbox, it can't  
create one.  How do I give lda defaults to follow, if the above  
statement doesn't do it?


Here is the output of dovecot -n

Thanks!

----

# /etc/dovecot/dovecot.conf
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap pop3 imaps pop3s
listen: 127.0.0.1
ssl_listen: [::]
ssl_cert_file: /etc/ssl/private/mail.antsclimbtree.com.pem
ssl_key_file: /etc/ssl/private/mail.antsclimbtree.com.pem
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
valid_chroot_dirs: /var/mail
verbose_proctitle: yes
first_valid_uid: 8
last_valid_uid: 8
first_valid_gid: 8
last_valid_gid: 8
mail_extra_groups: mail
mail_location: maildir:/var/mail/virtual/%u
maildir_copy_with_hardlinks: yes
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
imap_client_workarounds(default): outlook-idle delay-newmail
imap_client_workarounds(imap): outlook-idle delay-newmail
imap_client_workarounds(pop3): outlook-idle
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
namespace:
   type: private
   separator: /
   inbox: yes
auth default:
   mechanisms: plain login
   username_format: %Lu
   verbose: yes
   passdb:
     driver: ldap
     args: /etc/dovecot/dovecot-ldap.conf
   userdb:
     driver: ldap
     args: /etc/dovecot/dovecot-ldap.conf
   socket:
     type: listen
     client:
       path: /var/spool/postfix/private/auth
       mode: 432
       user: postfix
       group: postfix
     master:
       path: /var/run/dovecot/auth-master
       mode: 384
       user: mail
       group: mail


More information about the dovecot mailing list