[Dovecot] Segfault in in rc7 when index does not exists
Marco Nenciarini
mnencia at prato.linux.it
Mon Oct 16 12:09:46 UTC 2006
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 at prato.linux.it | http://www.prato.linux.it/~mnencia |
---------------------------------------------------------------------
Key fingerprint = FED9 69C7 9E67 21F5 7D95 5270 6864 730D F095 E5E4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20061016/8c2e0451/attachment.pgp
More information about the dovecot
mailing list