Cyrus - can't create user mailbox
Simon Matter
simon.matter at invoca.ch
Mon Jun 9 09:05:17 EDT 2008
> Hi Alain,
>
>
> Thanks for your advice.
>
>
>> > $ cyradm -u cyrus localhost
>> > Password:
>> > localhost> dm user.satimiscyrus
>> > deletemailbox: Permission denied
>> >
>> > I can't delete the mailbox created previously.
>>
>> Because you need to give yourself the right before
>
>
> Whether I have to run the command as root?
NO, you shouldn't run this as root!
If you want to delete a cyrus mailbox you have to give the cyrus admin
user the rights to do so (as someone else already stated).
>
>
>> > localhost> cm user/satimiscyrus
>> > localhost> lm
>> > user.groupware (\HasNoChildren) user/satimiscyrus
>> (\HasNoChildren)
>> >
>> > user.satimiscyrus (\HasNoChildren)
>> >
>> > Still can't create the subdirectory.
>>
>> I dont understand !
>
>
> The maildir and subdir haven't been created. (\HasNoChildren)
>
>
>> > $ sudo updatedb
>>
>> in this case 'find' is more appropriate than locate
>>
>> >
>> > $ locate satimiscyrus
>>
>> find / -iname "*satimiscyrus*"
>
>
> $ sudo find / -name "*satimiscyrus*"
> Password:
> /var/spool/cyrus/mail/s/user/satimiscyrus
> /var/spool/cyrus/mail/u/user^satimiscyrus
> /home/satimiscyrus
>
>
>
>> > Send a webmail to satimiscyrus on Gmail. The mail never arrives.
>>
>> Is your MX pointers configured ? Is your SMTP reachable from outside
>> ?
>> Did you look in postfix log ?
>
>
> Yes.
>
> $ tail /var/log/mail.log
> Jun 9 19:11:28 lampserver cyrus/ctl_cyrusdb[4753]: archiving log file:
> /var/lib/cyrus/db/log.000000
> 0001
> Jun 9 19:11:28 lampserver cyrus/ctl_cyrusdb[4753]: done checkpointing
> cyrus databases
> Jun 9 19:11:28 lampserver cyrus/master[3881]: process 4753 exited,
> status 0
> Jun 9 19:18:53 lampserver cyrus/master[4798]: about to exec
> /usr/lib/cyrus/bin/imapd
> Jun 9 19:18:53 lampserver cyrus/imap[4798]: executed
> Jun 9 19:18:53 lampserver cyrus/imap[4798]: accepted connection
> Jun 9 19:19:42 lampserver cyrus/imap[4798]: badlogin: localhost
> [127.0.0.1] plaintext satimis SASL(
> -1): generic failure: checkpass failed
> Jun 9 19:21:53 lampserver cyrus/master[3881]: process 4798 exited,
> status 0
> Jun 9 19:31:36 lampserver postfix/qmgr[4188]: C18198781EC:
> from=<satimisliu at gmail.com>, size=1834,
> nrcpt=1 (queue active)
> Jun 9 19:31:36 lampserver postfix/lmtp[4835]: C18198781EC:
> to=<satimiscyrus at satimis.com>, relay=non
> e, delay=7874, status=deferred (connect to
> /var/run/lmtp[/var/run/lmtp]: No such file or directory)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Try to find out where you cyrus creates it's lmtp socket and point your
postfix config to it.
I don't know Debian but I think it should come with some docs to get
things to work. (Ubuntu ins mainly a copy of Debian so the same should
apply there as well). Maybe some Debian/Ubuntu user can point you to the
right docs.
Simon
> * end *
>
>
> B.R.
> satimis
>
> 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