Re: Can cyrus use a - the same as a + in username?

2004-11-10 Thread Derrick J Brashear
On Wed, 10 Nov 2004, Cyrus Daboo wrote:
What about SIEVE - the subaddress extension is also hard-coded to use '+', 
right?
well, the rfc doesn't specify it must be, and provides an example with a 
#, so one would assume you either need an option to permute it there also, 
or to rewrite it to what sieve expects before passing it in.

in particular there is no justification for the code to assume it *must 
be* a +.

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Can cyrus use a - the same as a + in username?

2004-11-10 Thread Andrzej Adam Filip
Ken Murchison wrote:
Derrick J Brashear wrote:
On Tue, 9 Nov 2004, Dan Delaney wrote:
Can cyrus be configured so that [EMAIL PROTECTED] works the same as 
[EMAIL PROTECTED]?  Not use the - INSTEAD of +, but rather, use either.
+ as a detail separator is typically done in the config file for your 
mta and not in anything cyrus-specific. so it's (typically) a question 
of how to tweak config files for your particular mta. the sendmail 
macros we use have a class in which possible detail separator 
characters are listed (and i think we use # and + for historical reasons)
But lmtpd is hard-coded to split user and mailbox on '+'.
It is possible to make sendmail replace '-' in user part of recipient address 
by '+' using regex (regular expression) map.

--
Andrzej [en:Andrew] Adam Filip [EMAIL PROTECTED] [EMAIL PROTECTED]
Home Page http://anfi.homeunix.net/ [ PageRank 6 ]
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Can cyrus use a - the same as a + in username?

2004-11-09 Thread Derrick J Brashear
On Tue, 9 Nov 2004, Dan Delaney wrote:
Can cyrus be configured so that [EMAIL PROTECTED] works the same as 
[EMAIL PROTECTED]?  Not use the - INSTEAD of +, but rather, use either.
+ as a detail separator is typically done in the config file for your mta 
and not in anything cyrus-specific. so it's (typically) a question of how 
to tweak config files for your particular mta. the sendmail macros we use 
have a class in which possible detail separator characters are listed (and 
i think we use # and + for historical reasons)
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Can cyrus use a - the same as a + in username?

2004-11-09 Thread Ken Murchison
Derrick J Brashear wrote:
On Tue, 9 Nov 2004, Dan Delaney wrote:
Can cyrus be configured so that [EMAIL PROTECTED] works the same as 
[EMAIL PROTECTED]?  Not use the - INSTEAD of +, but rather, use either.

+ as a detail separator is typically done in the config file for your 
mta and not in anything cyrus-specific. so it's (typically) a question 
of how to tweak config files for your particular mta. the sendmail 
macros we use have a class in which possible detail separator characters 
are listed (and i think we use # and + for historical reasons)
But lmtpd is hard-coded to split user and mailbox on '+'.
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Can cyrus use a - the same as a + in username?

2004-11-09 Thread Derrick J Brashear
On Tue, 9 Nov 2004, Ken Murchison wrote:
+ as a detail separator is typically done in the config file for your mta 
and not in anything cyrus-specific. so it's (typically) a question of how 
to tweak config files for your particular mta. the sendmail macros we use 
have a class in which possible detail separator characters are listed (and 
i think we use # and + for historical reasons)
But lmtpd is hard-coded to split user and mailbox on '+'.
Ah right, I forgot that, and really I shouldn't have, since I was 
looking at that code for other reasons recently.

We could add an option, and it's probably not a horrible thing to do so.
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html