Why don't you just use jay as your sasldb2 username. Log in for mail using jay and your sasldb2 password. Set your MTA masquerade as jay.fm when you send mail outside your house. That's what I do in my house.
Harris -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jay Levitt Sent: Tuesday, November 26, 2002 9:10 AM To: [EMAIL PROTECTED] Subject: Newbie help: Domain names as part of user names/mailboxes/etc? Hi.. can anyone shed light on this? -------------------------- I'm setting up a simple server for home use. The server is running on the cleverly-named machine linux.home.jay.fm, and will be serving mail for jay.fm. I am, for starters, using auxprop with sasldb to keep things simple. I'm running imapd 2.1.10 and SASL 2.1.9. I am creating exactly one mailbox for [EMAIL PROTECTED] There seems to be a built-in contradiction in the way Cyrus understands users and mailbox names. saslpasswd2 appends the FQDN of the server, so that saslpasswd2 -c jay creates a mailbox "[EMAIL PROTECTED]". If I explicitly supply a domain name, like saslpasswd2 -c [EMAIL PROTECTED] the mailbox is created as [EMAIL PROTECTED] So far so good. But imapd, by default, uses dots as separators. So I can't just do: createmailbox [EMAIL PROTECTED] because that ends up looking like mailbox jay@jay with sub-mailbox fm. And I can't just: createmailbox jay because I must authenticate as "[EMAIL PROTECTED]" and not just "jay". I realize that I could use unixhierarchysep, and I probably will end up doing so anyway, but I suspect that there is a simpler answer I'm not seeing. I've tried setting loginrealms: jay.fm in imapd.conf, but that doesn't do it. What is the correct way to handle this? Is there some way to create SASLDB users that have no domain name appended? I presume every installation has to deal with this in some form or another.