Newbie help: Domain names as part of user names/mailboxes/etc?
Harris Landgarten
harrisl at lhjonline.com
Tue Nov 26 10:27:31 EST 2002
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: owner-info-cyrus at lists.andrew.cmu.edu
[mailto:owner-info-cyrus at lists.andrew.cmu.edu] On Behalf Of Jay Levitt
Sent: Tuesday, November 26, 2002 9:10 AM
To: info-cyrus at lists.andrew.cmu.edu
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 jay at jay.fm.
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 "jay at linux.home.jay.fm". If I explicitly supply a
domain
name, like
saslpasswd2 -c jay at jay.fm
the mailbox is created as jay at jay.fm. So far so good.
But imapd, by default, uses dots as separators. So I can't just do:
createmailbox jay at jay.fm
because that ends up looking like mailbox jay at jay with sub-mailbox fm.
And
I can't just:
createmailbox jay
because I must authenticate as "jay at jay.fm" 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.
More information about the Info-cyrus
mailing list