[Dovecot] Differenft INBOX for IMAP/POP with checkpassword passdb

Peter Mogensen apm at one.com
Thu Jan 27 15:04:01 EET 2011


Hi,

I'm trying to do a setup where IMAP and POP users see different INBOX'
Like described on the virtual folder wiki page:
http://wiki.dovecot.org/Plugins/Virtual


However, for now, I'm stuck with the checkpassword passdb and prefetch 
userdb
So I can't parameterize the result on %s like the example with MySQL does.

So I thought of having to different checkpassword scripts:
   passdb checkpassword {
     args = /usr/bin/checkpassword-%s
   }

However, Dovecot (1.2.15) doesn't seem to expand %s even though the Wiki 
says
it should be available everywhere:
http://wiki.dovecot.org/Variables

Is this a bug, or am I missing something.

/Peter



More information about the dovecot mailing list