PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.imap > Virtual Domains with Cyrus IMAP - Login troubles
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.imap Discussion of IMAP-based mail systems.

Virtual Domains with Cyrus IMAP - Login troubles

Réponse
 
LinkBack Outils de la discussion
Vieux 18/10/2006, 02h59   #1
Der Morris
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Virtual Domains with Cyrus IMAP - Login troubles

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?

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. ;-)

Thanx a lot.

mORriS


  Réponse avec citation
Vieux 18/10/2006, 03h06   #2
Sam
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Virtual Domains with Cyrus IMAP - Login troubles

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.

> 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.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBFNYwex9p3GYHlUOIRAmm+AJ9OXkkT8g25ZD5fYYyVYw MoAFDaDQCff0Na
BXsGaUw+NzZxuv7zF+gPxfY=
=ecDL
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 18/10/2006, 06h42   #3
OBATA Akio
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Virtual Domains with Cyrus IMAP - Login troubles

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
  Réponse avec citation
Vieux 08/11/2006, 02h52   #4
Wang Penghui
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Virtual Domains with Cyrus IMAP - Login troubles



On Oct 18, 1:42 pm, OBATA Akio <o...@lins.jp> wrote:
> On Tue, 17 Oct 2006 21:06:23 -0500
>
>
>
> Sam <s...@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 u...@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



Sorry, i am a little unclear about this.

In my understanding, if i use virtualdomain: userid, then i have to use
username@domainname to login to the server except the default domain.
Would you mind explain more about the virtualdomain things more
clearly to us?

Thanks very much.

Wang,
>
> > > 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


  Réponse avec citation
Vieux 09/11/2006, 07h50   #5
OBATA Akio
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Virtual Domains with Cyrus IMAP - Login troubles

On 7 Nov 2006 18:52:22 -0800
"Wang Penghui" <wangpenghui@gmail.com> wrote:
> > Default Cyrus' virtual domain support is IP adress base.
> > virtualdomain: on
> > You can select user id base.
> > virtualdomain: userid

>
>
> Sorry, i am a little unclear about this.
>
> In my understanding, if i use virtualdomain: userid, then i have to use
> username@domainname to login to the server except the default domain.
> Would you mind explain more about the virtualdomain things more
> clearly to us?


If you use virtualdomain: on, then
If your server have two IP addresses,
192.168.1.1 mail.example.com
192.168.1.2 mail.example.net
and client connect to 192.168.1.1,
then login user `foo' is treated as `foo@example.com'.
connect to 192.168.1.2, as `foo@example.net'.

--
OBATA Akio
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h07.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,16657 seconds with 13 queries