[Dovecot] how to create maildir on local mail delivery
Sebastian Logar
Sebastian.Logar at tusmobil.si
Sat Jan 23 01:45:42 EET 2010
Hi!
I am using Dovecot 1.0.10 with LDA/postfix option reading user data from
ldap, but the problem would be nonexistent maildir. Connection with ldap
should be fine since reading proper maildir folder. Is it possible to
auto creating maildir folders even on received mail since the you can
auto create when user login with mail_executable scripts as it's seen
from configuration I am doing for pop3 and imap.
Jan 23 00:23:17 dovecot postfix/qmgr[14579]: 75AADD212F:
from=<someuser at domain.tld>, size=354, nrcpt=1 (queue active)
Jan 23 00:23:17 dovecot deliver(erikp): Loading modules from directory:
/usr/lib/dovecot/modules/lda
Jan 23 00:23:17 dovecot deliver(erikp): Module loaded:
/usr/lib/dovecot/modules/lda/lib10_quota_plugin.so
Jan 23 00:23:17 dovecot deliver(erikp): auth input: erikp
Jan 23 00:23:17 dovecot deliver(erikp): auth input:
home=/nas/5b/7d/5f/erikp/www
Jan 23 00:23:17 dovecot deliver(erikp): auth input: uid=5000
Jan 23 00:23:17 dovecot deliver(erikp): auth input: gid=5000
Jan 23 00:23:17 dovecot deliver(erikp): auth input:
mail=/nas/5b/7d/5f/erikp/Maildir/
Jan 23 00:23:17 dovecot deliver(erikp): auth input:
quota=maildir:storage=100000000
Jan 23 00:23:17 dovecot deliver(erikp): Home dir not found:
/nas/5b/7d/5f/erikp/www
Jan 23 00:23:17 dovecot deliver(erikp): maildir autodetect:
stat(/nas/5b/7d/5f/erikp/Maildir//cur) failed: No such file or directory
Jan 23 00:23:17 dovecot deliver(erikp): mbox autodetect:
data=/nas/5b/7d/5f/erikp/Maildir/
Jan 23 00:23:17 dovecot deliver(erikp): mbox autodetect: INBOX file:
stat(/nas/5b/7d/5f/erikp/Maildir/) failed: No such file or directory
Jan 23 00:23:17 dovecot deliver(erikp): mbox autodetect: has .imap/:
stat(/nas/5b/7d/5f/erikp/Maildir//.imap) failed: No such file or
directory
Jan 23 00:23:17 dovecot deliver(erikp): mbox autodetect: has inbox:
stat(/nas/5b/7d/5f/erikp/Maildir//inbox) failed: No such file or
directory
Jan 23 00:23:17 dovecot deliver(erikp): mbox autodetect: has mbox:
stat(/nas/5b/7d/5f/erikp/Maildir//mbox) failed: No such file or
directory
Jan 23 00:23:17 dovecot deliver(erikp): Ambiguous mail location setting,
don't know what to do with it: /nas/5b/7d/5f/erikp/Maildir/ (try
prefixing it with mbox: or maildir:)
Jan 23 00:23:17 dovecot deliver(erikp): Failed to create storage for
'erikp' with mail '/nas/5b/7d/5f/erikp/Maildir/'
Jan 23 00:23:17 dovecot postfix/pipe[15537]: 75AADD212F:
to=<erikp at somelocaldomain.tld>, relay=dovecot, delay=2146,
delays=2146/0.02/0/0.02, dsn=4.3.0, status=deferred (temporary failure)
dovecot -n
# 1.0.10: /etc/dovecot/dovecot.conf
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap pop3
disable_plaintext_auth: no
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
mail_privileged_group: mail
mail_debug: yes
mail_executable(default): /usr/lib/dovecot/imap.sh
mail_executable(imap): /usr/lib/dovecot/imap.sh
mail_executable(pop3): /usr/lib/dovecot/pop3.sh
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugins(pop3): quota
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
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
auth default:
passdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
userdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
socket:
type: listen
client:
path: /var/run/dovecot/auth-client
mode: 432
user: postfix
group: postfix
master:
path: /var/run/dovecot/auth-master
mode: 384
user: vmail
group: vmail
plugin:
quota: maildir:storage=100000
Regards,
Sebastian
More information about the dovecot
mailing list