|
|
|
|
||||||
| comp.mail.imap Discussion of IMAP-based mail systems. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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----- |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
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 |
|
![]() |
| Outils de la discussion | |
|
|