On Fri, 26 Dec 2003, Kendrick Vargas wrote: > On Thu, 25 Dec 2003, Igor Brezac wrote: > > > On Thu, 25 Dec 2003, Kendrick Vargas wrote: > > > > > I asked earlier how I could get users within the primary (default) domain > > > hashed into the domain/ subdirectories of the imap spool instead of being > > > right at the toplevel without any real domain association. I was told that > > > the defaultdomain option was meant to ease the passage from version 2.1 to > > > 2.2, so if I simply didn't set it, I'd get the hashing all nice and > > > pretty. > > > > > > Now I have a slightly different issue. I've finally gone back and set > > > things up in this manner. No defaultdomain setting. Users are hashed in > > > the domains as they should be, however I'd like to have a global admin. > > > The documents say I need the defaultdomain to have a global admin. Why? > > > Is there anyway to get around this? > > > > > > I'd like to have a global admin without having the defaultdomain set. I > > > don't really understand why that would be a requirement. Maybe this > > > behavior should be some sort of configurable flag. If someone could > > > point me in the direction to the source I could hack past to disable this > > > behavior, I'd greatly appreciate it :-) > > > > This thread may help and explain. > > http://asg.web.cmu.edu/archive/message.php?mailbox=archive.cyrus-devel&msg=239 > > > > I'd assign a fake domain as 'defaultdomain' (something like > > cyrus.domain.com) just for global admin purposes. > > Doesn't seem to work. If I set a fake domain, cyrus just checks the user > against the hostname of the machine, or some truncated form of it. I can > see this cuz I am using mysql as the auth backend, and I am watching the > queries as they go through. The following is my imapd.conf: > > configdirectory: /opt/var/imap > partition-default: /opt/var/spool/imap > admins: [EMAIL PROTECTED]
This admin is for hudat.com only. Global admins have to be unqualified in the config file: admin: cyrus > sasl_pwcheck_method: auxprop > servername: hudat.com > virtdomains: yes > hashimapspool: true > unixhierarchysep: yes > altnamespace: yes > sasl_mysql_user: blah > sasl_mysql_passwd: blah > sasl_mysql_hostnames: blah > sasl_mysql_database: blah > sasl_mysql_statement: SELECT blah FROM blah > sieveusehomedir: false > sievedir: /opt/var/spool/sieve > sendmail: /usr/sbin/sendmail > > I tried adding "defaultdomain: fakedomain.com" and even setting > "servername: fakedomain.com" without it making a difference. Any other > suggestions? servername is just a cosmetic parameter. -- Igor