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: http

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

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; $user[user15000]=10.1.1

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 solut

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

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 conn

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 u

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 sufficie

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 im

Re: Metapartitions

2010-03-17 Thread Michael Menge
Hi, Quoting 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

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

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 Archives/Info:

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          cmd="/usr/loc

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 W

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 act

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 ng

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

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: > > > $user['u

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 system

Re: sieve vacation filter not working for one user

2010-03-17 Thread Simon Matter
> 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. Hi, I think what you are looking for is deliver.db in $configdir. Don't know on Debian but on my systems it's /var/lib/imap/deliver

Re: cyrus + postfix + lmtpd questions

2010-03-17 Thread Simon Matter
> 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