On Tue, 17 Oct 2006 21:06:23 -0500
Sam <sam@email-scan.com> wrote:
> Der Morris writes:
>
> > Hi Folks,
> >
> > here's my problem:
> >
> > I am running a mail server hosting several domains. Each domain has it's
> > "own" mail server. E.g. imap.domain1.com imap.domain2.com.
> >
> > Now it is always the same server answering the call. In order to log in, my
> > users need to use a login name as user@domain1.com for Cyrus to know who is
> > it. But I wish they could log in as "user" without the @domain1.com part.
> >
> > Is there any way for Cyrus to find the domain part in the imap.domain1.com
> > part?
>
> No. Neither is there a way to do this with any IMAP server. This is not
> possible due to some technical IMAP aspects.
>
> The closest possible thing is to assign a different IP address to each
> hostname; some IMAP servers -- I do not know if this is possible with Cyrus
> -- may be able to differentiate and supply the default domain based on the
> IP address the client connected to.
Cyrus can do such a behaviour.
Default Cyrus' virtual domain support is IP adress base.
virtualdomain: on
You can select user id base.
virtualdomain: userid
> > Another problem is that I wish to block some users from logging in if they
> > are not in "my" network. E.g. If you dial in with me you are free to check
> > your mail, but if not you are not. On the other hand if you pay extra, you
> > are welcome to check your mail from whereever you are. Oh, don't worry. I do
> > this for a hobby. Not realy earning money in this way. ;-)
>
> I do not believe that this is possible with Cyrus.
Cyrus can do IP address based access control with tcp_wrapper.
--
OBATA Akio