On Wednesday 03 January 2007 22:38, Marten Lehmann wrote:

> I would like to insert an admin-user without a domain/realm into an
> sasldb2. But saslpasswd2 always appends the hostname to the userid I
> provide.
>
> Example:
>
> echo "test" | saslpasswd2 -c admin
> sasldblistusers2
> [EMAIL PROTECTED]: userPassword
>
> How can I avoid this? I have "virtdomains: userid" in my
> /etc/imapd.conf, but I need an admin-user without realm so that I manage
> all accounts with it, not just accounts within the same realm.

Use a defaultdomain (man imapd.conf).

imapd.conf:
admins: admin [EMAIL PROTECTED] ...
defaultdomain: domain.tld

# saslpasswd2 -cu domain.tld admin

And authenticate as "admin".

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

Reply via email to