global admin without defaultdomain?

Igor Brezac igor at ipass.net
Mon Dec 29 00:12:13 EST 2003


On Sun, 28 Dec 2003, Kendrick Vargas wrote:

> On Fri, 26 Dec 2003, Igor Brezac wrote:
>
> > On Fri, 26 Dec 2003, Kendrick Vargas wrote:
> >
> > > On Fri, 26 Dec 2003, Igor Brezac wrote:
> > >
> > > > > 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?
>
> Allright, sorry it took so long, but I've been setting a bunch of
> different things up for my system and I just came back to the imap
> portion...
>
> Here's the config details for the virtdomains stuff in my config:
>
> virtdomains: yes
> servername: imap.somename.com
> defaultdomain: imap.somename.com
> admins: cyrus
>
> I went back and did a bunch of testing, and as it looks, I ended up having
> to put "imap.somename.com" in my /etc/hosts file so that it'd come up on
> some sort of lookup. I slapped it in as an alias for 127.0.0.1, and as it
> turns out, I can't log in as cyrus at imap.somename.com unless I go in
> through the 127.0.0.1 interface.

You need to add host.imap.somename.com entry because the code discards
the host part.

>
> I hate to sound mean about this, but that's kinda ridiculous. But,
> apparantly it did work. If I go in through the public interface, it just
> won't work. Apparently cyrus seems to care whether or not a virtual domain
> is pointing at a particular interface or not. That can't be good practice,
> and will likely frustrate people.
>
> In any case, I did get it working... I have a question though... What
> happens if an ISP has a configuration where they have an SMTP server, an
> IMAP server (running cyrus 2.2), and a web farm handling the web traffic
> for their several hundred sites. Does this mean that unless they point DNS
> name records for the domain (not the hosts within it) to the imap server,
> it won't let users log into their mailboxes if the users' domains are
> pointed to the webfarm? Or worse yet, will the admins have to maintain a
> local list of domains mapped to that interface in the /etc/hosts for that
> domain?
>

This question is confusing.  None of this matters if your users use fully
qualified userids.

-- 
Igor




More information about the Info-cyrus mailing list