Re[2]: Virtual Domains Email: How do you do it?

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

Hey Haim,


Thursday, June 28, 2001, 4:42:46 PM, you wrote:

HD 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) :)

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.

Taken from an email to the cyrus list:

cyrus-imapd-2.0.12 - imap/mboxname.c - line #187:

I believe this is what you're looking for...

#define GOODCHARS  
+,-.0123456789:=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~

-David Fuchs

Technically, the '.' is already a legal character in mailbox names, but it does
something funky (I don't recall quite what it is/was), but the patch curbs that
behaviour.


HD  Thanks a lot (especially for answering so fast)

Np.  I've been doing a lot of research into this lately.  You caught me at a
good time ;)

Btw, I have to agree with the LDAP recommendation.

-- 
 Kevin


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




Re: Re[2]: Virtual Domains Email: How do you do it?

2001-06-28 Thread Tony Green

* This one time, at band camp, Kevin J. Menard, Jr. said:
 Technically, the '.' is already a legal character in mailbox names, but it does
 something funky (I don't recall quite what it is/was), but the patch curbs that
 behaviour.
 
IIRC it allows you to specifiy which IMAP folder the message should be
dumped into. (eg [EMAIL PROTECTED] will put the message directly into the
folder 'me' in 'me's mail area.

Greeno
-- 
Greeno [EMAIL PROTECTED]
GnuPG Key :  1024D/B5657C8B 
Key fingerprint = 9ED8 59CC C161 B857 462E  51E6 7DFB 465B B565 7C8B

Imagine working in a secure environment and finding the string 
_NSAKEY in the OS binaries without a good explanation
-Alan Cox 04/05/2001


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




Re[2]: Virtual Domains Email: How do you do it?

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

Hey Haim,


Thursday, June 28, 2001, 5:16:05 PM, you wrote:


 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.

HD  Great!

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

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

I haven't done this all out myself yet, but I have an itching feeling that
postfix is gonna strip everything off after the '@', '@' inclusive.  I could be
wrong though, it may just pass it over the lmtp socket, though I doubt it.  So,
you'll more than likely still need some sort of transport map.  That could all
be held in LDAP though, if you were willing to set it up, so the administration
of the maps would be quite trivial.  Like I said, I haven't done this much yet
though.

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

Nope, it's exactly what I wanted too :-P


 Btw, I have to agree with the LDAP recommendation.

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

Too bad.  It'd be a very nice addition :)

-- 
 Kevin


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




Re[2]: Virtual Domains Email: How do you do it?

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


Thursday, June 28, 2001, 4:42:46 PM, you wrote:

HD 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) :)

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.

Taken from an email to the cyrus list:

cyrus-imapd-2.0.12 - imap/mboxname.c - line #187:

I believe this is what you're looking for...

#define GOODCHARS  
+,-.0123456789:[EMAIL PROTECTED]

-David Fuchs

Technically, the '.' is already a legal character in mailbox names, but it does
something funky (I don't recall quite what it is/was), but the patch curbs that
behaviour.


HD  Thanks a lot (especially for answering so fast)

Np.  I've been doing a lot of research into this lately.  You caught me at a
good time ;)

Btw, I have to agree with the LDAP recommendation.

-- 
 Kevin




Re: Re[2]: Virtual Domains Email: How do you do it?

2001-06-28 Thread Tony Green
* This one time, at band camp, Kevin J. Menard, Jr. said:
 Technically, the '.' is already a legal character in mailbox names, but it 
 does
 something funky (I don't recall quite what it is/was), but the patch curbs 
 that
 behaviour.
 
IIRC it allows you to specifiy which IMAP folder the message should be
dumped into. (eg [EMAIL PROTECTED] will put the message directly into the
folder 'me' in 'me's mail area.

Greeno
-- 
Greeno [EMAIL PROTECTED]
GnuPG Key :  1024D/B5657C8B 
Key fingerprint = 9ED8 59CC C161 B857 462E  51E6 7DFB 465B B565 7C8B

Imagine working in a secure environment and finding the string 
_NSAKEY in the OS binaries without a good explanation
-Alan Cox 04/05/2001




Re[2]: Virtual Domains Email: How do you do it?

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


Thursday, June 28, 2001, 5:16:05 PM, you wrote:


 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.

HD  Great!

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

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

I haven't done this all out myself yet, but I have an itching feeling that
postfix is gonna strip everything off after the '@', '@' inclusive.  I could be
wrong though, it may just pass it over the lmtp socket, though I doubt it.  So,
you'll more than likely still need some sort of transport map.  That could all
be held in LDAP though, if you were willing to set it up, so the administration
of the maps would be quite trivial.  Like I said, I haven't done this much yet
though.

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

Nope, it's exactly what I wanted too :-P


 Btw, I have to agree with the LDAP recommendation.

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

Too bad.  It'd be a very nice addition :)

-- 
 Kevin