global admin without defaultdomain?

Kendrick Vargas ken at
Sun Dec 28 22:13:35 EST 2003

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
> > >
> > > This admin is for 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 

Here's the config details for the virtdomains stuff in my config:

virtdomains: yes
admins: cyrus

I went back and did a bunch of testing, and as it looks, I ended up having 
to put "" in my /etc/hosts file so that it'd come up on 
some sort of lookup. I slapped it in as an alias for, and as it 
turns out, I can't log in as cyrus at unless I go in 
through the interface.

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 

This all seems terribly cumbersome. I have it working on my small personal
box but I won't be able to deploy this on my work systems any time soon. I 
hope that behavior changes. Besides, reversing and resolving the domain 
and IP on every connection seems a waste of resources :-)

Let he who is without clue kiss my ass

More information about the Info-cyrus mailing list