Metapartitions

2010-03-17 Thread Diego Ventrice
Andrew, Could you just exlplain to me the metapartition ? What info is kept there and which is there regular location ? metapartition-p1: /var/spool/cyrus/mail/meta1 metapartition_files: index cache expunge squat Thanks D. Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ:

Re: Metapartitions

2010-03-17 Thread Marc Patermann
Diego, Diego Ventrice schrieb: Andrew, Could you just exlplain to me the metapartition ? Don't you want answers from anyone else? ;) What info is kept there and which is there regular location ? metapartition-p1: /var/spool/cyrus/mail/meta1 metapartition_files: index cache expunge

OT: Nginx configuration for imap

2010-03-17 Thread ram
I am using ngnix as a Load balancer for two imap servers. Currently the nginx calls an apache php script that determines if the user is on imap1 or imap2 by looking up a plain text file. which contains entries like $user['user1'] = 10.1.1.1; $user['user2'] = 10.1.1.2;

non-encrypted for local queries

2010-03-17 Thread Nybbles2Byte
Hello Info-cyrus, Is there a way to tell cyrus to accept non-encrypted port 143 queries from localhost (and perhaps the LAN) but not remotely? I guess you could allow unencrypted requests in cyrus but block 143 in your firewall but I am wondering if there is purely cyrus settings solution.

Re: non-encrypted for local queries

2010-03-17 Thread Simon Matter
Hello Info-cyrus, Is there a way to tell cyrus to accept non-encrypted port 143 queries from localhost (and perhaps the LAN) but not remotely? I guess you could allow unencrypted requests in cyrus but block 143 in your firewall but I am wondering if there is purely cyrus settings solution.

Re: non-encrypted for local queries

2010-03-17 Thread Raphael Jaffey
Use the following as the only imapd command configured in /etc/cyrus.conf to accept connections from localhost only: imap cmd=imapd listen=[127.0.0.1]:imap prefork={number} You can restrict access to hosts from the LAN without using the firewall using at least a couple of methods: 1)

Re: non-encrypted for local queries

2010-03-17 Thread Nybbles2Byte
Hello Raphael, Of course! and thank you. Reg. Wednesday, March 17, 2010, 8:53:08 AM, you wrote: Use the following in /etc/cyrus.conf: imap cmd=imapd listen=[127.0.0.1]:imap prefork={number} imaps cmd=imapd -s listen=imaps prefork={number} That will allow connections to

Re: non-encrypted for local queries

2010-03-17 Thread Dan White
On 17/03/10 10:11 -0500, Raphael Jaffey wrote: Use the following as the only imapd command configured in /etc/cyrus.conf to accept connections from localhost only: imap cmd=imapd listen=[127.0.0.1]:imap prefork={number} You can restrict access to hosts from the LAN without using the

Re: non-encrypted for local queries

2010-03-17 Thread Raphael Jaffey
Or, in the event you're only allowing access to port 143 from loopback and possibly a trusted LAN, you can also use: imap_allowplaintext: yes imap_sasl_minimum_layer: 0 in /etc/imapd.conf as port 993 is always protected. We use tls_cipher_list: !ADH:MEDIUM:HIGH in /etc/imapd.conf, so

Re: Metapartitions

2010-03-17 Thread Diego Ventrice
Danke Marc, clearer now. And sure, I'll take answers from anyone. About this: What do you think files named header, index, cache, expunge and squat in this context contain? ;) Ich denke this are the cyrus header index and cache files generally stored on each mailbox folder. I can imagine what

Re: Metapartitions

2010-03-17 Thread Michael Menge
Hi, Quoting Diego Ventrice fordcar...@googlemail.com: Danke Marc, clearer now. And sure, I'll take answers from anyone. About this: What do you think files named header, index, cache, expunge and squat in this context contain? ;) Ich denke this are the cyrus header index and cache files

Re: Metapartitions

2010-03-17 Thread Dan White
On 17/03/10 14:45 -0300, Diego Ventrice wrote: Danke Marc, clearer now. And sure, I'll take answers from anyone. About this: What do you think files named header, index, cache, expunge and squat in this context contain? ;) Ich denke this are the cyrus header index and cache files generally

sieve vacation filter not working for one user

2010-03-17 Thread Maria McKinley
Can anyone tell me where the file(s) with list of email addresses that have been sent a vacation reply lives in a debian installation? I can't seem to find it. thanks, maria Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List

Re: cyrus + postfix + lmtpd questions

2010-03-17 Thread Diego Ventrice
I just want to get this straight. Please, someone clarify his to me. Consider Cyrus and Postifx runing on different servers and having to communicate with each other through lmtp. 1) Here´s the line we all know from cyrus.conf that is gonna bring lmtp listening on tcp: lmtp          

Re: Metapartitions

2010-03-17 Thread Diego Ventrice
Thanks Mark, Thats what I guessed. I suppose these files make use of the .seen and .sub files under also, right ? Diego And thanks Dan for the link. http://cyrusimap.web.cmu.edu/imapd/internal/mailbox-format.html -- Dan White Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus

Re: Metapartitions

2010-03-17 Thread Bron Gondwana
On Wed, Mar 17, 2010 at 09:17:49PM -0300, Diego Ventrice wrote: Thanks Mark, Thats what I guessed. I suppose these files make use of the .seen and .sub files under also, right ? .seen and .sub files are always in your configdir - where the mailboxes.db and related things are. It's actually

Re: Nginx configuration for imap

2010-03-17 Thread Robert Mueller
$user['user1'] = 10.1.1.1; $user['user2'] = 10.1.1.2; $user[user15000]=10.1.1.1; For 15k users this method becomes very heavy. There are too many httpd processes running that suck the resources on the machine. I want to store the userlist in a memcache and look it up through

Re: Nginx configuration for imap

2010-03-17 Thread ram
On Thu, 2010-03-18 at 14:36 +1100, Robert Mueller wrote: $user['user1'] = 10.1.1.1; $user['user2'] = 10.1.1.2; $user[user15000]=10.1.1.1; For 15k users this method becomes very heavy. There are too many httpd processes running that suck the resources on the machine. I want to

Re: Nginx configuration for imap

2010-03-17 Thread Robert Mueller
But I thought a memcache lookup will be much more inexpenisve than connecting to a mysql db to do lookup for every cyrus connection Probably slightly. But what happens if the value isn't in memcached? Where do you get the value from? Anyway, it's still WAY better than doing:

Re: Nginx configuration for imap

2010-03-17 Thread Robert Banz
memcached would certainly be fast, but what sort of authentication rate are you talking about here. My bet is that you've got other bits of system, such as the authentication validation with the target IMAP server, that will be more of a dominant term when it comes to the performance of your