[Dovecot] virtual user question

Timo Sirainen tss at iki.fi
Sun Apr 3 01:20:51 EEST 2005


On Fri, 2005-04-01 at 16:14 -0500, Steve Hoffman wrote:
> I'm sorry if this has been asked already, but I'm new to the list and
> to dovecot.
> I'm trying to add imap to our existing setup where we host many
> virtual domains and would like to use dovecot to do it as I find it's
> one of the most configurable I've seen so far.  The problem is that
> our virtual users passwd files are kept in seperate directories so
> /etc/virtual/%d/passwd, but I can't use the variable substitution in
> the dovecot.conf file as it results in a load error because it won't
> translate the %d.  I'm using the latest development release, test65.

Not possible right now. Someone would have to write code for that..

> I read in the config file that you can use many passdb's but do I have
> to put them all in there or is there a way to use some sort of
> substitution?

That could work, except:

> The other issue I'm having is when I try to test the connection (with
> a hard coded path to passwd) it fails auth if I pass the username
> "user at domain.com" but passes if I pass just "user".  Any help or
> places you can point me for these issues?

The username in the passwd file would also have to be user at domain.com
for it to work.

Perhaps you could write a script that converts all your passwd files
into single large passwd-file with usernames in user at domain format?
-------------- 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/20050403/72b01fd2/attachment.pgp


More information about the dovecot mailing list