Cyrus - can't create user mailbox
Simon Matter
simon.matter at invoca.ch
Sun Jun 8 12:54:00 EDT 2008
> Hi folks,
>
>
> Further to my 1st posting listed at the bottom, I found out the trick.
> I must use the password created on running;
>
> # saslpasswd2 -c cyrus
>
>
> NOT on running;
> # passwd cyrus
>
>
> What will be the use of the 2nd password? Thanks.
>
>
> Now on running;
>
>
> $ cyradm -u cyrus localhost
> Password:
> localhost> cm user.satimiscyrus
> localhost> quit
>
> it works. But I can't find this new user NOR its mailbox.
Login via IMAP and your mailbox is there (locate is only useful after
updatedb has run so don't expect it to show anything immediately).
You can also try the cyradm command 'lm' and it should show your mailbox.
Simon
>
>
> $ locate satimiscyrus
> No printout
>
>
> $ sudo ls -la /var/spool/cyrus/
> Password:
> total 20
> drwxr-xr-x 4 cyrus mail 4096 2008-06-07 16:44 .
> drwxr-xr-x 9 root root 4096 2008-05-24 21:46 ..
> -rw------- 1 cyrus mail 126 2008-06-07 17:32 .bash_history
> drwxr-x--- 29 cyrus mail 4096 2008-05-24 21:46 mail
> drwxr-x--- 29 cyrus mail 4096 2008-05-24 21:46 news
> * end *
>
>
> $ sudo ls -la /var/spool/cyrus/mail
> total 116
> drwxr-x--- 29 cyrus mail 4096 2008-05-24 21:46 .
> drwxr-xr-x 4 cyrus mail 4096 2008-06-07 16:44 ..
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 a
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 b
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 c
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 d
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 e
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 f
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 g
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 h
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 i
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 j
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 k
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 l
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 m
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 n
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 o
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 p
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 q
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 r
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 s
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 stage.
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 t
> drwxr-xr-x 3 cyrus mail 4096 2008-06-08 22:52 u
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 v
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 w
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 x
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 y
> drwxr-xr-x 2 cyrus mail 4096 2008-05-24 21:46 z
> * end *
>
>
> sudo cat /etc/sasldb2 | grep cyrus
> Binary file (standard input) matches
>
>
> Please help. TIA
>
>
> B.R.
> Stephen L
>
>
>
>
> --- Stephen Liu <satimis at yahoo.com> wrote:
>
>> Hi folks,
>>
>>
>> Ubuntu 6.06 drake amd64
>>
>>
>> I'm following;
>>
>> Cyrus
>> https://help.ubuntu.com/community/Cyrus
>>
>> building IMAP/POP servers.
>>
>>
>> Packages installed;
>>
>> postfix
>>
>> cyrus-admin-2.2
>> cyrus-clients-2.2
>> cyrus-imapd-2.2
>> sasl2-bin
>> cyrus-pop3d-2.2
>>
>> libc-client-dev
>> gamin
>> * end *
>>
>>
>> Everything is going on smoothly w/o problem.
>>
>>
>> Coming to creating Mailbox I can't proceed further;
>>
>>
>> $ cyradm -u cyrus localhost
>> Password:
>> localhost> cm user.satimiscyrus
>> createmailbox: Permission denied
>> * end *
>>
>>
>> $ tail /var/log/mail.log
>> Jun 8 18:09:16 lampserver cyrus/imap[4478]: executed
>> Jun 8 18:09:16 lampserver cyrus/imap[4478]: accepted connection
>> Jun 8 18:09:16 lampserver cyrus/imap[4478]: badlogin: localhost
>> [127.0.0.1] plaintext satimis SASL(-1): generic failure: checkpass
>> failed
>> Jun 8 18:10:19 lampserver cyrus/master[3881]: process 4478 exited,
>> status 0
>> Jun 8 18:11:04 lampserver cyrus/master[4480]: about to exec
>> /usr/lib/cyrus/bin/imapd
>> Jun 8 18:11:04 lampserver cyrus/imap[4480]: executed
>> Jun 8 18:11:04 lampserver cyrus/imap[4480]: accepted connection
>> Jun 8 18:11:13 lampserver cyrus/imap[4480]: badlogin: localhost
>> [127.0.0.1] DIGEST-MD5 [SASL(-13): authentication failure: client
>> response doesn't match what we generated]
>> Jun 8 18:11:16 lampserver cyrus/imap[4480]: login: localhost
>> [127.0.0.1] anonymous ANONYMOUS User logged in
>> Jun 8 18:12:54 lampserver cyrus/master[3881]: process 4480 exited,
>> status 0
>> * end *
>>
>>
>> $ su - cyrus -c cyradm localhost
>> Password:
>> localhost> cm user.satimiscyrus
>> createmailbox: Permission denied
>> * end *
>>
>>
>> $ tail /var/log/mail.log
>> Jun 8 18:27:14 lampserver cyrus/ctl_cyrusdb[4497]: archiving log
>> file:
>> /var/lib/cyrus/db/log.0000000001
>> Jun 8 18:27:14 lampserver cyrus/ctl_cyrusdb[4497]: archiving
>> database
>> file: /var/lib/cyrus/mailboxes.db
>> Jun 8 18:27:14 lampserver cyrus/ctl_cyrusdb[4497]: archiving log
>> file:
>> /var/lib/cyrus/db/log.0000000001
>> Jun 8 18:27:14 lampserver cyrus/ctl_cyrusdb[4497]: done
>> checkpointing
>> cyrus databases
>> Jun 8 18:27:14 lampserver cyrus/master[3881]: process 4497 exited,
>> status 0
>> Jun 8 18:42:51 lampserver cyrus/master[4511]: about to exec
>> /usr/lib/cyrus/bin/imapd
>> Jun 8 18:42:51 lampserver cyrus/imap[4511]: executed
>> Jun 8 18:42:51 lampserver cyrus/imap[4511]: accepted connection
>> Jun 8 18:43:00 lampserver cyrus/imap[4511]: badlogin: localhost
>> [127.0.0.1] DIGEST-MD5 [SASL(-13): authentication failure: client
>> response doesn't match what we generated]
>> Jun 8 18:43:03 lampserver cyrus/imap[4511]: login: localhost
>> [127.0.0.1] anonymous ANONYMOUS User logged in
>> [/code]
>>
>>
>> I can't resolve
>> badlogin: localhost [127.0.0.1] DIGEST-MD5 [SASL(-13): authentication
>> failure: client response doesn't match what we generated
>>
>>
>>
>> I have been trying a day w/o breakthrough
>>
>>
>> $ sudo grep "^partition-" /etc/imapd.conf
>> partition-default: /var/spool/cyrus/mail
>> partition-news: /var/spool/cyrus/news
>>
>>
>>
>> $ sudo ls -ld /var/spool/cyrus/mail
>> drwxr-x--- 29 cyrus mail 4096 2008-05-24 21:46 /var/spool/cyrus/mail
>>
>>
>>
>> $ sudo ls -ld /var/spool/cyrus/news
>> drwxr-x--- 29 cyrus mail 4096 2008-05-24 21:46 /var/spool/cyrus/news
>>
>>
>>
>> Please help. TIA
>>
>>
>> B.R.
>> Stephen L
>>
>> Send instant messages to your online friends
>> http://uk.messenger.yahoo.com
>> ----
>> 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
>>
>
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> ----
> 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
>
More information about the Info-cyrus
mailing list