Cyrus SASL Hack: Always pass authentication for one host

2008-12-18 Thread ram
I am trying to write a hack into pam and always pass authentication for a particular host So I modified pam_mysql.c , but the issue is for cyrus I am always getting rhost as null This is what I put in pam_mysql.c PAM_EXTERN int pam_sm_authenticate(pam_handle_t * pamh, int flags,

Quota inconsistency when copying > 2GB of mails

2008-12-18 Thread Ewald Dieterich
Hi, in Cyrus 2.3.13, when you do an IMAP COPY of mails with a total size of more then 2GB, the quota gets inconsistent because some variables overflow (at least on systems where sizeof(int) == 4). The attached patch changes some data types so that IMAP COPY works again, but I'm not sure if t

Re: Cyrus SASL Hack: Always pass authentication for one host

2008-12-18 Thread Dan White
ram wrote: > I am trying to write a hack into pam and always pass authentication for > a particular host > > So I modified pam_mysql.c , but the issue is for cyrus I am always > getting rhost as null > > This is what I put in pam_mysql.c > > > PAM_EXTERN int pam_sm_authenticate(pam_handle_t

question about logging

2008-12-18 Thread Mester
Hi, I have a Debian Etch server with Cyrus IMAPD (version). Is there a way to make logging verbose? I want to be able to find in the logfiles who has logged in to the IMAP server from which IP address and what did he/she do. I have to find out who and when has deleted some e-mails from the server

Re: Cyrus SASL Hack: Always pass authentication for one host

2008-12-18 Thread Andreas Winkelmann
Am Donnerstag 18 Dezember 2008 15:19:23 schrieb ram: > I am trying to write a hack into pam and always pass authentication for > a particular host > > So I modified pam_mysql.c , but the issue is for cyrus I am always > getting rhost as null > > This is what I put in pam_mysql.c > > > PAM_EXT

Re: question about logging

2008-12-18 Thread Andrew Morgan
On Thu, 18 Dec 2008, Mester wrote: > Hi, > > I have a Debian Etch server with Cyrus IMAPD (version). Is there a way > to make logging verbose? I want to be able to find in the logfiles who > has logged in to the IMAP server from which IP address and what did > he/she do. > > I have to find out who

status cache

2008-12-18 Thread Andrew Morgan
I'm getting ready to upgrade from Cyrus v2.3.11 to v2.3.13 on Saturday, and I notice there is now a statuscache option listed in the changelog. Bron, could you elaborate a bit on this option? We run a reasonably large Cyrus installation (2 backends, 3 frontends) and most of our users check thei

Cyrus +multi domains

2008-12-18 Thread Laurent Archambault
Hello, I must use Cyrus with few domains, but i have the choice with 2 structural directory, i has activate "virtdomains" and same "unixhierarchysep". what is the better solving/answer for this : This ./mail/u/user/unau...@domaine2^com/cyrus.cache ... or This : ./mail/domain/d/domaine2.com/u/una

Re: status cache

2008-12-18 Thread Simon Matter
> I'm getting ready to upgrade from Cyrus v2.3.11 to v2.3.13 on Saturday, > and I notice there is now a statuscache option listed in the changelog. > > Bron, could you elaborate a bit on this option? > > We run a reasonably large Cyrus installation (2 backends, 3 frontends) and > most of our users