Re: Virtual Domains Email: How do you do it?

2001-06-29 Thread Charl Matthee
On Thu, Jun 28, 2001 at 03:24:06PM -0500, Haim Dimermanas wrote:

>  I need to do email hosting for a large number of domains. My solution
> consists in Postfix for the MTA, Cyrus for the LDA and IMP for the MUA.
> Emails have to be accessible by POP as well.

If you don't mind the fact that it is a commercial product, have a look at
Communigate Pro [www.stalker.com]. It will provide you with all of the
above.


Ciao

Charl
__

I'm not closed-minded, you're just wrong.
__

  [ Charl Matthee ] [ +27-11-721-3800 ]
  [ Reality Manufacturing ] [ +27-11-405-6508 ]
__




Re: Virtual Domains Email: How do you do it?

2001-06-29 Thread Charl Matthee

On Thu, Jun 28, 2001 at 03:24:06PM -0500, Haim Dimermanas wrote:

>  I need to do email hosting for a large number of domains. My solution
> consists in Postfix for the MTA, Cyrus for the LDA and IMP for the MUA.
> Emails have to be accessible by POP as well.

If you don't mind the fact that it is a commercial product, have a look at
Communigate Pro [www.stalker.com]. It will provide you with all of the
above.


Ciao

Charl
__

I'm not closed-minded, you're just wrong.
__

  [ Charl Matthee ] [ +27-11-721-3800 ]
  [ Reality Manufacturing ] [ +27-11-405-6508 ]
__


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Virtual Domains Email: How do you do it?

2001-06-28 Thread Haim Dimermanas

>  >  Using Cyrus, why would I need to "add" a physical user to the system? Is
>  > there something I am missing here?
> 
> You need some sort of authentication, the simplest is /etc/passwd

 I strongly disagree. The whole purpose of using Cyrus was (for me at least)
the ability to check username/password combination using a mechanism that
was not /etc/passwd. I use SASL for that sole purpose.

>  >  The problem is the following: Users want to login using their email
>  > address. Not unique ID a la compuserve, not john~example-com and other
>  > barbarian means. Just their email address and a password. I don't like any
>  > more than you do but that's what I have to come up with.
> 
> Here you are right, if you want your users to login using the email
> address you'd better go with LDAP or *sql . The real problem is
> authentication, the rest is sht.

 LDAP or *sql would only hold the data. The translation (if any) would still
need to be done by Cyrus (or Postfix I am not 100% sure). Can you elaborate
a little, I am not sure I completly understand.

Haim.




Re: Virtual Domains Email: How do you do it?

2001-06-28 Thread Felipe Alvarez Harnecker
Haim Dimermanas writes:
 > Felipe Alvarez Harnecker wrote:
 > 
 > > Then, keep it simple.
 > 
 >  I agree. The simpliest way is to have the user's email address be their
 > username.
 > 
 > > # adduser someuniqueid
 > 
 >  Using Cyrus, why would I need to "add" a physical user to the system? Is
 > there something I am missing here?

You need some sort of authentication, the simplest is /etc/passwd

 > 
 > > cyradm> cm user.someuniqueid
 > > 
 > > map [EMAIL PROTECTED] -> someuniqueid
 > 
 >  That's not as simple as it seems. Unique IDs have to be unique (therefore a
 > mechanism that allows you to check the uniqueness of the ID). Note that one
 > would have to come up with such a mechanism for email addresses as well but
 > since it's already present.

It's very very simple, trust me.


 > 
 >  The problem is the following: Users want to login using their email
 > address. Not unique ID a la compuserve, not john~example-com and other
 > barbarian means. Just their email address and a password. I don't like any
 > more than you do but that's what I have to come up with.

Here you are right, if you want your users to login using the email
address you'd better go with LDAP or *sql . The real problem is
authentication, the rest is sht.

Cheers.

-- 
__

Felipe Alvarez Harnecker.  QlSoftware.

Tels. 665.99.41 - 09.874.60.17
e-mail: [EMAIL PROTECTED]

http://qlsoft.cl/
http://ql.cl/
__




Re: Virtual Domains Email: How do you do it?

2001-06-28 Thread Haim Dimermanas
Felipe Alvarez Harnecker wrote:

> Then, keep it simple.

 I agree. The simpliest way is to have the user's email address be their
username.

> # adduser someuniqueid

 Using Cyrus, why would I need to "add" a physical user to the system? Is
there something I am missing here?

> cyradm> cm user.someuniqueid
> 
> map [EMAIL PROTECTED] -> someuniqueid

 That's not as simple as it seems. Unique IDs have to be unique (therefore a
mechanism that allows you to check the uniqueness of the ID). Note that one
would have to come up with such a mechanism for email addresses as well but
since it's already present.

 The problem is the following: Users want to login using their email
address. Not unique ID a la compuserve, not john~example-com and other
barbarian means. Just their email address and a password. I don't like any
more than you do but that's what I have to come up with.

Regards and thanks for the input.
Haim.




Re: Virtual Domains Email: How do you do it?

2001-06-28 Thread Felipe Alvarez Harnecker
Haim Dimermanas writes:
 > 
 > > HD>  So using that patch makes the "." part of a valid username. What do I 
 > > do
 > > HD> about the '@' in the email address?
 > > 
 > > AFAIK, the '@' is already a valid character in the Cyrus mailbox namespace.
 > 
 >  Great!
 > 
 >  Now I have another question :-)) How do I manage to tell Postfix to treat
 > "[EMAIL PROTECTED]" as a local username?
 > 
 >  What I mean by that is that right now I have translation done at the
 > virtual table level under Postfix. [EMAIL PROTECTED] becomes something else
 > (john~example.com let's say). I want to tell Postfix to accept all mails for
 > [EMAIL PROTECTED] and "relay" them to Cyrus. Since Cyrus will have a
 > [EMAIL PROTECTED], everything should be good.
 > 
 >  Please tell me if I am confusing you. I really wonder how I can achieve the
 > result I want.
 > 
 >  Haim.
 > 
 > 
 > > Btw, I have to agree with the LDAP recommendation.
 > 
 > P.S. : I agree 100%. I have no experience with LDAP and right now I really
 > don't have the time. It will come, just not yet.
 > 
 > 
 > --  
 > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
 > 
 > 


Then, keep it simple.


# adduser someuniqueid
cyradm> cm user.someuniqueid

map [EMAIL PROTECTED] -> someuniqueid


That's all

Cheers.

-- 
__

Felipe Alvarez Harnecker.  QlSoftware.

Tels. 665.99.41 - 09.874.60.17
e-mail: [EMAIL PROTECTED]

http://qlsoft.cl/
http://ql.cl/
__




Re: Virtual Domains Email: How do you do it?

2001-06-28 Thread Haim Dimermanas

> HD>  So using that patch makes the "." part of a valid username. What do I do
> HD> about the '@' in the email address?
> 
> AFAIK, the '@' is already a valid character in the Cyrus mailbox namespace.

 Great!

 Now I have another question :-)) How do I manage to tell Postfix to treat
"[EMAIL PROTECTED]" as a local username?

 What I mean by that is that right now I have translation done at the
virtual table level under Postfix. [EMAIL PROTECTED] becomes something else
(john~example.com let's say). I want to tell Postfix to accept all mails for
[EMAIL PROTECTED] and "relay" them to Cyrus. Since Cyrus will have a
[EMAIL PROTECTED], everything should be good.

 Please tell me if I am confusing you. I really wonder how I can achieve the
result I want.

Haim.


> Btw, I have to agree with the LDAP recommendation.

P.S. : I agree 100%. I have no experience with LDAP and right now I really
don't have the time. It will come, just not yet.




Re: Virtual Domains Email: How do you do it?

2001-06-28 Thread Haim Dimermanas
Kevin,

> If you apply Dave Fuchs' patch to make a '.' a valid character (but making '/'
> and invalid one), then that becomes a valid Cyrus username.  Search the Cyrus
> IMAP mailing list archives for it.  He sent it out for 2.0.14 some time last
> week when I requested it (but I don't have it on me here) :)

 So using that patch makes the "." part of a valid username. What do I do
about the '@' in the email address? 

 Thanks a lot (especially for answering so fast)

Haim.




Re: Virtual Domains Email: How do you do it?

2001-06-28 Thread Kevin J. Menard, Jr.
Hey Haim,


Thursday, June 28, 2001, 4:24:06 PM, you wrote:

HD> Hi all,

HD>  I need to do email hosting for a large number of domains. My solution
HD> consists in Postfix for the MTA, Cyrus for the LDA and IMP for the MUA.
HD> Emails have to be accessible by POP as well.

HD>  After some research, I came to the conclusion that each individual needed
HD> to have an account under Cyrus as a local user. Let me explain. Let's say I
HD> host email for [EMAIL PROTECTED] The string "[EMAIL PROTECTED]" is not a
HD> valid Cyrus username (mailbox in fact but you see my point). A translation
HD> needs to takes place.

If you apply Dave Fuchs' patch to make a '.' a valid character (but making '/'
and invalid one), then that becomes a valid Cyrus username.  Search the Cyrus
IMAP mailing list archives for it.  He sent it out for 2.0.14 some time last
week when I requested it (but I don't have it on me here) :)


-- 
 Kevin




Re: Virtual Domains Email: How do you do it?

2001-06-28 Thread Haim Dimermanas


>  >  Using Cyrus, why would I need to "add" a physical user to the system? Is
>  > there something I am missing here?
> 
> You need some sort of authentication, the simplest is /etc/passwd

 I strongly disagree. The whole purpose of using Cyrus was (for me at least)
the ability to check username/password combination using a mechanism that
was not /etc/passwd. I use SASL for that sole purpose.

>  >  The problem is the following: Users want to login using their email
>  > address. Not unique ID a la compuserve, not john~example-com and other
>  > barbarian means. Just their email address and a password. I don't like any
>  > more than you do but that's what I have to come up with.
> 
> Here you are right, if you want your users to login using the email
> address you'd better go with LDAP or *sql . The real problem is
> authentication, the rest is sht.

 LDAP or *sql would only hold the data. The translation (if any) would still
need to be done by Cyrus (or Postfix I am not 100% sure). Can you elaborate
a little, I am not sure I completly understand.

Haim.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Virtual Domains Email: How do you do it?

2001-06-28 Thread Felipe Alvarez Harnecker

Haim Dimermanas writes:
 > Felipe Alvarez Harnecker wrote:
 > 
 > > Then, keep it simple.
 > 
 >  I agree. The simpliest way is to have the user's email address be their
 > username.
 > 
 > > # adduser someuniqueid
 > 
 >  Using Cyrus, why would I need to "add" a physical user to the system? Is
 > there something I am missing here?

You need some sort of authentication, the simplest is /etc/passwd

 > 
 > > cyradm> cm user.someuniqueid
 > > 
 > > map [EMAIL PROTECTED] -> someuniqueid
 > 
 >  That's not as simple as it seems. Unique IDs have to be unique (therefore a
 > mechanism that allows you to check the uniqueness of the ID). Note that one
 > would have to come up with such a mechanism for email addresses as well but
 > since it's already present.

It's very very simple, trust me.


 > 
 >  The problem is the following: Users want to login using their email
 > address. Not unique ID a la compuserve, not john~example-com and other
 > barbarian means. Just their email address and a password. I don't like any
 > more than you do but that's what I have to come up with.

Here you are right, if you want your users to login using the email
address you'd better go with LDAP or *sql . The real problem is
authentication, the rest is sht.

Cheers.

-- 
__

Felipe Alvarez Harnecker.  QlSoftware.

Tels. 665.99.41 - 09.874.60.17
e-mail: [EMAIL PROTECTED]

http://qlsoft.cl/
http://ql.cl/
__


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Virtual Domains Email: How do you do it?

2001-06-28 Thread Haim Dimermanas

Felipe Alvarez Harnecker wrote:

> Then, keep it simple.

 I agree. The simpliest way is to have the user's email address be their
username.

> # adduser someuniqueid

 Using Cyrus, why would I need to "add" a physical user to the system? Is
there something I am missing here?

> cyradm> cm user.someuniqueid
> 
> map [EMAIL PROTECTED] -> someuniqueid

 That's not as simple as it seems. Unique IDs have to be unique (therefore a
mechanism that allows you to check the uniqueness of the ID). Note that one
would have to come up with such a mechanism for email addresses as well but
since it's already present.

 The problem is the following: Users want to login using their email
address. Not unique ID a la compuserve, not john~example-com and other
barbarian means. Just their email address and a password. I don't like any
more than you do but that's what I have to come up with.

Regards and thanks for the input.
Haim.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Virtual Domains Email: How do you do it?

2001-06-28 Thread Felipe Alvarez Harnecker

Haim Dimermanas writes:
 > 
 > > HD>  So using that patch makes the "." part of a valid username. What do I do
 > > HD> about the '@' in the email address?
 > > 
 > > AFAIK, the '@' is already a valid character in the Cyrus mailbox namespace.
 > 
 >  Great!
 > 
 >  Now I have another question :-)) How do I manage to tell Postfix to treat
 > "[EMAIL PROTECTED]" as a local username?
 > 
 >  What I mean by that is that right now I have translation done at the
 > virtual table level under Postfix. [EMAIL PROTECTED] becomes something else
 > (john~example.com let's say). I want to tell Postfix to accept all mails for
 > [EMAIL PROTECTED] and "relay" them to Cyrus. Since Cyrus will have a
 > [EMAIL PROTECTED], everything should be good.
 > 
 >  Please tell me if I am confusing you. I really wonder how I can achieve the
 > result I want.
 > 
 >  Haim.
 > 
 > 
 > > Btw, I have to agree with the LDAP recommendation.
 > 
 > P.S. : I agree 100%. I have no experience with LDAP and right now I really
 > don't have the time. It will come, just not yet.
 > 
 > 
 > --  
 > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
 > 
 > 


Then, keep it simple.


# adduser someuniqueid
cyradm> cm user.someuniqueid

map [EMAIL PROTECTED] -> someuniqueid


That's all

Cheers.

-- 
__

Felipe Alvarez Harnecker.  QlSoftware.

Tels. 665.99.41 - 09.874.60.17
e-mail: [EMAIL PROTECTED]

http://qlsoft.cl/
http://ql.cl/
__


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Virtual Domains Email: How do you do it?

2001-06-28 Thread Haim Dimermanas


> HD>  So using that patch makes the "." part of a valid username. What do I do
> HD> about the '@' in the email address?
> 
> AFAIK, the '@' is already a valid character in the Cyrus mailbox namespace.

 Great!

 Now I have another question :-)) How do I manage to tell Postfix to treat
"[EMAIL PROTECTED]" as a local username?

 What I mean by that is that right now I have translation done at the
virtual table level under Postfix. [EMAIL PROTECTED] becomes something else
(john~example.com let's say). I want to tell Postfix to accept all mails for
[EMAIL PROTECTED] and "relay" them to Cyrus. Since Cyrus will have a
[EMAIL PROTECTED], everything should be good.

 Please tell me if I am confusing you. I really wonder how I can achieve the
result I want.

Haim.


> Btw, I have to agree with the LDAP recommendation.

P.S. : I agree 100%. I have no experience with LDAP and right now I really
don't have the time. It will come, just not yet.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Virtual Domains Email: How do you do it?

2001-06-28 Thread Haim Dimermanas

Kevin,

> If you apply Dave Fuchs' patch to make a '.' a valid character (but making '/'
> and invalid one), then that becomes a valid Cyrus username.  Search the Cyrus
> IMAP mailing list archives for it.  He sent it out for 2.0.14 some time last
> week when I requested it (but I don't have it on me here) :)

 So using that patch makes the "." part of a valid username. What do I do
about the '@' in the email address? 

 Thanks a lot (especially for answering so fast)

Haim.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Virtual Domains Email: How do you do it?

2001-06-28 Thread Kevin J. Menard, Jr.

Hey Haim,


Thursday, June 28, 2001, 4:24:06 PM, you wrote:

HD> Hi all,

HD>  I need to do email hosting for a large number of domains. My solution
HD> consists in Postfix for the MTA, Cyrus for the LDA and IMP for the MUA.
HD> Emails have to be accessible by POP as well.

HD>  After some research, I came to the conclusion that each individual needed
HD> to have an account under Cyrus as a local user. Let me explain. Let's say I
HD> host email for [EMAIL PROTECTED] The string "[EMAIL PROTECTED]" is not a
HD> valid Cyrus username (mailbox in fact but you see my point). A translation
HD> needs to takes place.

If you apply Dave Fuchs' patch to make a '.' a valid character (but making '/'
and invalid one), then that becomes a valid Cyrus username.  Search the Cyrus
IMAP mailing list archives for it.  He sent it out for 2.0.14 some time last
week when I requested it (but I don't have it on me here) :)


-- 
 Kevin


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]