[Dovecot] Variable expansion in LDA vs POP/IMAP
Timo Sirainen
tss at iki.fi
Sat May 26 18:26:40 EEST 2007
On Fri, 2007-05-25 at 11:20 -0400, Jason Godsey wrote:
> > Delivery works perfectly fine, Dovecot's deliver get a "mail"
> > column from the database (that looks like this:
> > /mail/01/%2LMd/%2.2LMd/%LMd/mail/%Ln/ ) and expands variables,
> > delivers the mail into the maildir's location.
..
> you should NOT be doing select
> concat('/mail/01/%2LMd/%2.2LMd/%LMd/mail/%Ln') as maildir
Actually that does work. It's only the value returned from database
that's not expanded. I think that'd be a bad idea because then any
usernames or paths containing '%' characters would break.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070526/f0b09c38/attachment.bin
More information about the dovecot
mailing list