Virtdomains appending domain after folder names!
igor at ipass.net
Fri Oct 7 23:33:15 EDT 2005
On Sat, 8 Oct 2005, Robin Rainton wrote:
> Applogies if this is an RTFM... can't seem to find that particular M :(
> Am trying to setup virtual domains, on standard FC4 installation,
> cyrus-imapd-2.2.12-6.fc4, etc.
> With this in /etc/imapd.conf there is some success:
> virtdomains: userid
> unixhierarchysep: yes
> defaultdomain: bah.blah.net
> loginrealms: foo.com bah.blah.net
> sasldblistusers2 shows:
> test at foo.com: userPassword
> fred at bah.blah.net: userPassword
> bah.blah.net happens to be the local hostname.
> When a user logs in as fred at bah.blah.net and creates folders, they look like
> this in cyradm (I look with lm):
> Which is not what I think should be happening, what I want is this:
> user/fred at bah.blah.net
> user/fred at bah.blah.net/Drafts
> user/fred at bah.blah.net/Trash
user/fred/Drafts at bah.blah.net
and remove defaultdomain param
> I make some assumption about the fact that the '@bah.blah.net' is being cut
> because it's the default, so change that setting to:
> defaultdomain: no.default
> Now, one ends up with a mailbox like this:
> user/fred/Drafts at bah.blah.net
> user/fred/Trash at bah.blah.net
> This doesn't look right at all.
This is correct.
> This login was done with Horde, BTW. Have also
> tried login with mutt which works in the first, but not this second (it just
> hangs on login).
> Can anyone tell me what's wrong here? And is there an up to date HOWTO on this,
> the one I find is dated Oct 2000 and hence waaaay out of date.
Everything worked as expected. See $cyrus-imapd-src/doc and 'man
More information about the Info-cyrus