Virtual Domains in separate directories - how?

Ow Mun Heng Ow.Mun.Heng at wdc.com
Mon Mar 20 02:17:08 EST 2006


Hi All,

	I'm wondering if its possible to put different domains into different
folders. Right now, my config with web-cyradm is making it all based on
username.

I have 

unixhierarchy:yes
virtdomains : (tried both "on" and "userid")

and  in /web-cyradm's conf.php
$DOMAIN_AS_PREFIX="1"; 

FWIW, this is what I have currently.

ls -l /var/spool/mail/d/user
drwx------  2 cyrus mail 144 Mar 20 15:01 dom1^domain1^com


I would like to have 
ls -l /var/imap/domain/d/domain1.com/user/dom1

If I try *without* unixhierarchy:yes
and $DOMAIN_AS_PREFIX="0"

I get
ls -l /var/spool/mail/d/user/
drwx------  2 cyrus mail 144 Mar 20 15:11 domain10001
drwx------  2 cyrus mail 144 Mar 20 15:12 domain10002

where domain10001 = dom1 at domain1.com
and   domain10002 = user2 at domain1.com

I know that the /var/imap/domain/d/domain1.com/user/dom1 version exists
because _I_ did it before I blew everything away and re-installed from
scratch. (Too much hair tearing frustration)

Thanks



-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 15:03:23 up 6:27, 5 users, load average: 0.52, 0.51, 0.46 




More information about the Info-cyrus mailing list