On Mon, Oct 16, 2006 at 12:48:01AM +0300, Timo Sirainen wrote:
On Sat, 2006-10-14 at 18:30 +0200, Marco Nenciarini wrote:
On Sat, Oct 14, 2006 at 12:10:42PM +0200, Marco Nenciarini wrote:
On Fri, Oct 13, 2006 at 09:40:05PM +0300, Timo Sirainen wrote:
MAIL="maildir:/"
Your problem however is this. You're telling Dovecot to open maildir from root directory. Change "default_mail_env = maildir:%h" or something.
Cool, it's works :)
Sorry, it does not works. Dovecot does not crash anymore, but create an %h dir into the directory (/src/vmbox/spool/test/%h)
Where exactly are you setting the %h? Show what "dovecot -n" says? Normally the %h is expanded to home directory by the Dovecot master process before executing imap.
I use that postgresql view for virtual user configuration:
DROP VIEW "dovecot_auth"; CREATE VIEW "dovecot_auth" as SELECT (phpgw_accounts.account_lid || '@prato.linux.it'::"varchar") AS userid, ('{PLAIN-MD5}'::"varchar" || phpgw_accounts.account_pwd) AS "password", 200 AS uid, 200 AS gid, ('/srv/vmbox/spool/'::"varchar" || phpgw_accounts.account_lid || '/./'::"varchar") AS home, 'maildir:.' AS mail FROM phpgw_accounts WHERE [...snip condition...]
ATM i've fonud that 'maildir:.' works.
Ciao
--
| Marco Nenciarini | Debian/GNU Linux Developer - Plug Member | | mnencia@prato.linux.it | http://www.prato.linux.it/~mnencia |
Key fingerprint = FED9 69C7 9E67 21F5 7D95 5270 6864 730D F095 E5E4