Re: optimization for delivery to multiple recipients

2007-07-07 Thread Andy Fiddaman


On Sat, 7 Jul 2007, Alain Spineux wrote:

; Hi
;
; When I make a copy of an email, (using imap command "copy") I can see that
; cyrus just created a new link on the file system.
;
; But when delivering the same mail to multiple user, cyrus create
; multiple identical copy
; of the mail, why ?

If you put this in your imapd.conf, Cyrus should create hard links for
messages delivered to multiple recipients.

singleinstancestore: true

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


Re: cyrus replication how does it work

2007-07-07 Thread Wesley Craig
On 07 Jul 2007, at 09:26, ram wrote:
> I was looking at the replication doc here at
>
> http://cyrusimap.web.cmu.edu/imapd/install-replication.html
>
> ( seems incomplete )
>
> Is there a complete documentation somewhere.

The best documentation is in the wiki, and anyone getting a useful  
answer from these lists ought to feel obliged to update that  
documentation.

> I had a few questions
>
> 1) How does replication happen

The various Cyrus programs which run on the primary backend (imapd,  
pop3d, lmtpd) write to a sync log (/var/imap/sync/log in my  
environment) as various data changing events occur.  The data in the  
log typicall names the thing that changed, not what the change was,  
e.g., "MAILBOX user.wes" means that something about the mailbox  
changed.  sync_client reads this log and connects to sync_server  
running on the replica backend.  The data in the log gives  
sync_client a hint of where to look for changes between the primary  
and the replica backends.  sync_client will then examine mailboxes,  
acls, seen state, etc, on the primary backend and ask sync_server for  
similar information on the replica backend.  Changes are transmitted  
from sync_client to sync_server and stored on the replica backend.

> 2) Can it happen to more than one slave

Not in the current implementation, tho changing it to replicated to  
more than one replica backend wouldn't be super complex.  Someone  
familiar with Cyrus internals could do it in a few weeks of coding, I  
would estimate.

> 3) Does replication also replicate the mailboxes ( users ? )

This question doesn't really make much sense to me.  All pertinent  
information is replicated.

:wes

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


Re: Permission denied with creating mailboxes

2007-07-07 Thread Rudy Gevaert
Manfred Rebentisch wrote:
> Am Samstag, 7. Juli 2007 12:47 schrieb Stephen Forster:
>> Manfred,
>>
>> Obvious question: is 'cyrus' listed as an administrator on the 'admins:'
>> line in imapd.conf?
>>
>> If not, do it then restart or reload cyrus.
>>
> Wow! Great! But after activating the line 
> admins: cyrus
> 
> I get the following error:
> 
> localhost> cm users.testuser

It's cm user.testuser or if you are using the unix hierarchy separator 
(check your imapd.conf) it's cm user/testuser.


> createmailbox: System I/O error


> 
> syslog:
> Jul  7 14:01:19 server9 cyrus/imap[3946]: IOERROR: creating 
> directory /imap/mail: Permission denied
> 
> server9:/var/lib/cyrus# ls -al /imap/mail/
> 
> drwxrwx---  2 cyrus mail 4096 2007-05-11 15:31 a
> drwxrwx---  2 cyrus mail 4096 2007-05-11 15:31 b
> 
> I think, I will find the reason for this. But the error messages of cyrus are 
> very poor...
> 
> Manfred
> 
> 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


-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen Systems group
Universiteit Gent  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

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


cyrus replication how does it work

2007-07-07 Thread ram
I was looking at the replication doc here at 

http://cyrusimap.web.cmu.edu/imapd/install-replication.html

( seems incomplete ) 

Is there a complete documentation somewhere. I had a few questions 

1) How does replication happen 
2) Can it happen to more than one slave 
3) Does replication also replicate the mailboxes ( users ? ) 





Thanks
Ram



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


Re: Permission denied with creating mailboxes

2007-07-07 Thread Manfred Rebentisch
Am Samstag, 7. Juli 2007 12:47 schrieb Stephen Forster:
> Manfred,
>
> Obvious question: is 'cyrus' listed as an administrator on the 'admins:'
> line in imapd.conf?
>
> If not, do it then restart or reload cyrus.
>
Wow! Great! But after activating the line 
admins: cyrus

I get the following error:

localhost> cm users.testuser
createmailbox: System I/O error

syslog:
Jul  7 14:01:19 server9 cyrus/imap[3946]: IOERROR: creating 
directory /imap/mail: Permission denied

server9:/var/lib/cyrus# ls -al /imap/mail/

drwxrwx---  2 cyrus mail 4096 2007-05-11 15:31 a
drwxrwx---  2 cyrus mail 4096 2007-05-11 15:31 b

I think, I will find the reason for this. But the error messages of cyrus are 
very poor...

Manfred

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


Re: Permission denied with creating mailboxes

2007-07-07 Thread Rudy Gevaert
Manfred Rebentisch wrote:
> Hello,
> I use debian etch with cyrus 2.2 and sasl2.
> 
> cyradm --user cyrus --server localhost
> IMAP Password:
>   localhost>
> localhost>
> localhost> cm users.testusr
> createmailbox: Permission denied
> 
> 
> I cannot find out, why this happens. There are no log messages, no 
> information 
> about the reasons. It should be nice to get reasons from the program...
> 
> I do check the ownership of files (/etc/sasldb2, /var/lib/cyrus/*, /imap/*) 
> and so on.
> 
> I think, the user "cyrus" has not the right to create mailboxes. But I don't 
> know, how to set this right.

What are the admin users in your imapd.conf?


-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen Systems group
Universiteit Gent  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

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


Re: Permission denied with creating mailboxes

2007-07-07 Thread FORMER 03 | Baltasar Cevc
Hi Manfred,

On 07.07.2007, at 11:41, Manfred Rebentisch wrote:

> Hello,
> I use debian etch with cyrus 2.2 and sasl2.
>
> cyradm --user cyrus --server localhost
> IMAP Password:
>   localhost>
> localhost>
> localhost> cm users.testusr
> createmailbox: Permission denied
>
>
> I cannot find out, why this happens. There are no log messages, no  
> information
> about the reasons. It should be nice to get reasons from the  
> program...
>
> I do check the ownership of files (/etc/sasldb2, /var/lib/cyrus/*, / 
> imap/*)
> and so on.
>
> I think, the user "cyrus" has not the right to create mailboxes.  
> But I don't
> know, how to set this right.
What's your admin setting in imapd.conf? Is the cyrus user listed there?
If not, you should add it - cyrus is the default for the admin username,
but you may use anything you like. If you change the setting, you may  
not
do admin jobs using the "cyrus" user.
If you don't have an "admin" or "admins" (I don't know the exact name of
the option - please refer to the documentation for that), you should try
to add it to your config.

Baltasar

--
Baltasar Cevc

_ FORMER 03 GmbH
_ infanteriestraße 19 haus 6 eg
_ D-80797 muenchen

_ http://www.former03.de



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


Re: Permission denied with creating mailboxes

2007-07-07 Thread Stephen Forster
Manfred,

Obvious question: is 'cyrus' listed as an administrator on the 'admins:'
line in imapd.conf?

If not, do it then restart or reload cyrus.


Steve

Manfred Rebentisch wrote:

>Hello,
>I use debian etch with cyrus 2.2 and sasl2.
>
>cyradm --user cyrus --server localhost
>IMAP Password:
>  localhost>
>localhost>
>localhost> cm users.testusr
>createmailbox: Permission denied
>
>
>I cannot find out, why this happens. There are no log messages, no information 
>about the reasons. It should be nice to get reasons from the program...
>
>I do check the ownership of files (/etc/sasldb2, /var/lib/cyrus/*, /imap/*) 
>and so on.
>
>I think, the user "cyrus" has not the right to create mailboxes. But I don't 
>know, how to set this right.
>
>Thank you for tips.
>Manfred
>
>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
>
>
>  
>

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


Permission denied with creating mailboxes

2007-07-07 Thread Manfred Rebentisch
Hello,
I use debian etch with cyrus 2.2 and sasl2.

cyradm --user cyrus --server localhost
IMAP Password:
  localhost>
localhost>
localhost> cm users.testusr
createmailbox: Permission denied


I cannot find out, why this happens. There are no log messages, no information 
about the reasons. It should be nice to get reasons from the program...

I do check the ownership of files (/etc/sasldb2, /var/lib/cyrus/*, /imap/*) 
and so on.

I think, the user "cyrus" has not the right to create mailboxes. But I don't 
know, how to set this right.

Thank you for tips.
Manfred

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


Re: Problem with thunderbird

2007-07-07 Thread Simon Matter
> Hi,
>   I've got a problem with Thunderbird when I want to subscribe to
> shared folder. My configuration is a Cyrus Murder with one front-end
> (with a mupdate master on it) and two backends. One backend keep all
> mailbox' users and the other one keep all shared mailbox...
>
> Everything goes right with Mail.app... but with Thunderbird we cannot
> access to shared folder. But the listing is ok.
>
> Does Someone already have this problem ? Is there a way to get
> Thunderbird working ?

Did you subscribe the shared folders in TB, or otherwise unselect "show
only subscribed folders" in advanced settings?

Simon

>
> Thanks a lot,
>
> --
> Nicolas Fontaine
> Université de la Réunion
>
>
>
> 
> 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

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


Problem with thunderbird

2007-07-07 Thread Nicolas Fontaine

Hi,
	I've got a problem with Thunderbird when I want to subscribe to  
shared folder. My configuration is a Cyrus Murder with one front-end  
(with a mupdate master on it) and two backends. One backend keep all  
mailbox' users and the other one keep all shared mailbox...


Everything goes right with Mail.app... but with Thunderbird we cannot  
access to shared folder. But the listing is ok.


Does Someone already have this problem ? Is there a way to get  
Thunderbird working ?


Thanks a lot,

--
Nicolas Fontaine
Université de la Réunion




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