NOT ABLE TO ADMINISTER MAIL BOXES WITH CYRUS-2.2.10

ALD ald at shreya.co.in
Sat Dec 11 13:20:30 EST 2004


I do not have permanent solution but I have solved the problem as under :

I have downloaded Autocreate INBOX patch for Cyrus From  
http://email.uoa.gr/projects/cyrus/autocreate/
Go to your cyrus installation root directory in my case 
/usr/local/src/cyrus/
Apply patch to cyrus source with file   with   
cyrus-imapd-2.2.10-autocreate-0.1.diff 
<http://email.uoa.gr/download/cyrus/cyrus-imapd-2.2.10/>  as under

patch -p0 < cyrus-imapd-2.2.10-autocreate-0.1.diff 
<http://email.uoa.gr/download/cyrus/cyrus-imapd-2.2.10/>

The cyrus source of cyrus-imapd-2.2.10 will get patched
stop master  and saslauthd
in my case
/etc/init.d/cyrus stop

recompile cyrus

#cd cyrus-imapd-2.2.10
#./configure \
--with-sasl=/usr/local/lib \
--with-perl \
--with-auth=unix \
--with-dbdir=/usr/local/bdb \
--with-bdb-libdir=/usr/local/bdb/lib \
--with-bdb-incdir=/usr/local/bdb/include \
--with-openssl=/usr/local/ssl \
--without-ucdsnmp \
--with-cyrus-user=cyrus \
--with-cyrus-group=mail \

#make
#make depend
#make install

Add following entries to /etc/imapd.conf

autocreateinboxfolders: sent-mail | Drafts | Templates | Trash
autosubscribeinboxfolders: sent-mail | Drafts | Templates | Trash
Also check for proper value of   autocreatequota:  in /etc/imapd.conf
autocreatequota: 10000

restart master and saslauthd

/etc/init.d/cyrus start

now you can create user and whenever the user logs in with proper 
password , the mailbox is automatically created with default quota and 
the folders mentioned in imapd.conf

This has made me possible that at lease the work is not hampered

As far as the problen of  Permission Denied is considered it appears to 
be some problem in cyrus  .
I am sure that there is no permission problem on my server as evertthing 
was working fine on cyrus 2.0.16 and I do not see in any of 
documentation / mailing list that in cyrus-2.2.10 any permissions are 
changed

There is some problem how cyrus is working with virtual domain but in 
none of the server logs the problem is trapped

I  hope some expert will definately look into this problem and help us

Regards

AJIT

/


Per olof Ljungmark wrote:

> Hi,
>
> If you discover a solution to this problem I would be most grateful if 
> you could let me know. I have fought this for a week now and did not 
> yet understand what is going on...
>
> Thanks,
>
> Per olof
>
> ALD wrote:
>
>> No I know about ACL but it is not problem related to ACL
>> I again repeat what is happening
>>
>> The server is running OK on around 1500 users
>> I am able to log in to cyradm through administrsative account
>> If I try to create mail box I am getting permission denied error
>> If I try to issue any command on mailbox then I am getting mailbox 
>> not found error even though mailbox is available
>>
>> Aldo all  programs when run as cyrus user from /usr/cyrus/bin/ are 
>> working OK
>>
>> It means I can reconstruct mailbox from shell prompt  in 
>> /usr/cyrus/bin/ it ids working OK but If I try same in cyradm then I 
>> am getting permission denied error
>>
>> Please Give me some clue as I need to add some users and my work is 
>> stuck up
>>
>> Regards ,
>>
>> AJIT
>>
>> Peter P. Benac wrote:
>>
>>> Set the ACL for whatever user you are using with cyradm on the 
>>> mailbox you
>>> want to modify or delete to the same ACL as the mail box owner.
>>>
>>> listacl mailbox
>>> setacl mailbox cyrususer acl
>>>
>>> FYI a search of the archives would have answered this for you  :)
>>>
>>> Regards,
>>> Pete
>>> ----
>>> Peter P. Benac, CCNA
>>> Celtic Spirit Network Solutions
>>> Providing Network and Systems Project Management and Installation 
>>> and Web
>>> Hosting.
>>> Phone: 919-618-2557
>>> Web: http://www.emacolet.com
>>> Need quick reliable Systems or Network Management advice visit
>>> http://www.nmsusers.org
>>>
>>> To have principles...
>>>             First have courage.. With principles comes integrity!!!
>>>
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: owner-info-cyrus at lists.andrew.cmu.edu
>>> [mailto:owner-info-cyrus at lists.andrew.cmu.edu] On Behalf Of ALD
>>> Sent: Friday, December 10, 2004 08:25
>>> To: info-cyrus at lists.andrew.cmu.edu
>>> Subject: NOT ABLE TO ADMINISTER MAIL BOXES WITH CYRUS-2.2.10
>>>
>>>
>>> I was succesfully running cyrus-2.0.16 with sasl-2.1.10 and 
>>> everything was working fine
>>>
>>> I have upgraded to cyrus-impad-2.2.10 and except cyrus 
>>> administration part everything is fine
>>> If I administer cyrus though cyradm then I am able to log in but I 
>>> am getting Permission denied error
>>> I am not able to do anything with mailboxes
>>>
>>> I have php based mail administration tool for cyrus but php is also 
>>> geeting error of unknown mailbox from cyrus
>>>
>>>
>>>  
>>>
>>
>> ---
>> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
>> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
>> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20041211/42d5e1f6/attachment.html


More information about the Info-cyrus mailing list