dovecot: default_mail_env override problem
Thomas Balsfulland
tbals at ctrl-c.de
Sun Feb 25 14:47:32 CET 2007
hallo zusammen,
ich habe die eine sarge kiste mit dem dovecot-imap server aus sarge
(version 0.99.14) und versuche mich mit virtual usern.
wenn ich die dovecot-config richtig verstehe kann man nur eine globale
mail location mittels "default_mail_env" setzen, welche sich aber
individuell per user ueberschreiben laesst.
meine dovecot.conf beinhaltet:
default_mail_env = maildir:/home/vmail/%d/%n
auth = default
auth_mechanisms = plain digest-md5
auth_userdb = passwd-file /etc/dovecot/mailuser
auth_passdb = passwd-file /etc/dovecot/mailuser
die /etc/dovecot/mailuser ist wie folgt aufgebaut:
user1 at domain1.de:password:1005:1005::/home/vmail/domain1.de
user2 at domain1.de:password:1005:1005::/home/vmail/domain1.de
user1 at domain2.de:password:1005:1005::/home/vmail/domain2.de
tbals:password:1000:1000:/home/tbals::userdb_mail=maildir:/home/tbals/Mail
laut doku laesst sich durch "userdb_mail=maildir:/home/tbals/Mail" die
globale mail location ueberschreiben, was aber leider nicht
funktioniert. im dovecot.log sehe ich nur:
imap-login: Feb 25 14:44:20 Info: Login: tbals [195.71.75.145]
imap(tbals): Feb 25 14:44:20 Error: lstat(/home/vmail//tbals/cur) failed: Permission denied
imap(tbals): Feb 25 14:44:25 Error: opendir(/home/vmail//tbals) failed: Permission denied
demnach hat das ueberschreiben nicht funktioniert.
hat da jemand erfahrungen mit?
gruss
thomas
--
thomas balsfulland tbals at ctrl-c.de
zwischen mut und dummheit liegt nur ein grat
der sich durch das vorbereitetsein unterscheidet
More information about the Linux
mailing list