global admin without defaultdomain?

Igor Brezac igor at ipass.net
Fri Dec 26 13:06:15 EST 2003


On Fri, 26 Dec 2003, Kendrick Vargas wrote:

> On Fri, 26 Dec 2003, Igor Brezac wrote:
>
> > On Fri, 26 Dec 2003, Kendrick Vargas wrote:
> >
> > > 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: cyrus at hudat.com
> >
> > This admin is for hudat.com only.  Global admins have to be unqualified in
> > the config file:
> > admin: cyrus
>
> Sorry, meant to mention I tried that too, and no, it didn't work.
>

What params did you pass to cyradm?  What mysql queries where executed?

> > > 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.
>
> So I can drop that too?

It does not hurt anything.

-- 
Igor




More information about the Info-cyrus mailing list