Re: Cyrus/postfix troubles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# cyradm --user cyrus --auth login localhost

I'm running cyrus in a FreeBSD jail and spent many nights with cyradm..
The special "problem" in a FBSD jail is the hostname...

However this works for me:
-----------------------------------------------------------------------
My (jail's) hostname is a fqdn:
hostname.domain.tld


I create the sasl db:
saslpasswd2 -f /etc/sasldb2 -u hostname.domain.tld -c cyrus


add a sasl user:
saslpasswd2 -f /etc/sasldb2 -u domain.tld -c myfirstuser@xxxxxxxxxx
                               ^^^without hostname!


My imapd.conf:
defaultdomain: domain.tld
servername: domain.tld
loginrealms: domain.tld


login:
cyradm --user cyrus --server domain.tld
                             ^^^without hostname!


mailbox of myfirstuser:
cm user/myfirstuser@xxxxxxxxxx
setquota user/myfirstuser@xxxxxxxxxx 1000000
sam user/myfirstuser@xxxxxxxxxx cyrus all


This might looking curious but it's the one and only way to get cyrus running in a jail. I hope this helps you somehow.



Zoran
----
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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux