On Tue, 28 Jul 2003, Edward Rudd wrote: > you need to store the username map in the LDAP as > [EMAIL PROTECTED] > the @ needs to be escaped..
Why? Unless Daniel uses lmtp auth, ldap is not consulted during lmtp delivery. > On Mon, 2003-07-28 at 21:56, Daniel Lawson wrote: > > I want to use the @ character in a mailbox name in cyrus 2.1.x > > > > I have a virtual domain setup, using LDAP as the backend, and exim as > > the MTA. Everything works fine if I use usernames of the format > > user__domain_part1_part2, however that isn't very nice for end users. > > I'd much prefer to use '[EMAIL PROTECTED]' as the username. Using > > unixhierarchysep I can use '.' in the username, which is the first step, > > but it appears to choke on having an '@' in the username. > > > > Delivery to 'daniel_test4.mydomain.com' works just fine. > > > > > > Is there any particular reason that Cyrus doesn't allow delivery to an > > address with an '@' in it? I've tried googling for this, but its tricky > > doing a search for '@' on mailing lists... :) > > > > About the only thing I can think off of the top of my head is that > > Kerberos principals have an @ in them. > > > > Thanks, > > > > Daniel > > > > Below are some notes on my setup > > > > Runnig cyrus 2.1.13 (from debian unstable, backported to debian woody). > > > > #cyrdeliver [EMAIL PROTECTED] > > [EMAIL PROTECTED]: Mailbox does not exist > > > > #cyrdeliver -l > > 220 smog LMTP Cyrus v2.1.13-IPv6-Debian-2.1.13-0woody.4.0 ready > > LHLO smog > > 250-smog > > 250-8BITMIME > > 250-ENHANCEDSTATUSCODES > > 250-PIPELINING > > 250-SIZE > > 250-AUTH EXTERNAL > > 250 IGNOREQUOTA > > RSET > > 250 2.0.0 ok > > MAIL FROM:<root> AUTH=<> > > 250 2.1.0 ok > > RCPT TO:<[EMAIL PROTECTED]> > > 550-Mailbox unknown. Either there is no mailbox associated with this > > 550-name or you do not have authorization to see it. > > 550 5.1.1 User unknown > > > > (cyradm output) > > localhost> lam user/[EMAIL PROTECTED] > > mail lrswipcda > > anyone lrswipcda > > [EMAIL PROTECTED] lrswipcda > > mailadmin lrswipcda > > > > strace'ing cyrdeliver gives basically the same as the output from > > cyrdeliver -l above - i copied the commands send via lmtp as read from > > the strace. > -- Igor