Re: [Dovecot] dovecot dspam plugin using libdspam

2007-08-30 Thread Trever L. Adams
Johannes Berg wrote: Note that passing dspam the signature is likely more efficient. There are two possibilities: (1) dspam extracts the signature -> dovecot is more efficient at extracting headers because of cache (2) dspam uses the mail -> it has to re-tokenize etc which afaik it do

[Dovecot] Calculate Index size for harddisk sizing

2007-08-30 Thread Patrick Ben Koetter
I need to get a hand on the 'usual size of an index' to do some hard disk sizing. Is that possible at all? I know their size depends a lot on what the clients index. Those clients will mostly be Outlook and Thunderbird and they will be doing more POP than IMAP if that helps to bring it down to som

Re: [Dovecot] processing Dovecot maildirs with shell scripts

2007-08-30 Thread M. Fioretti
On Tue, Aug 28, 2007 01:03:13 AM +0300, Timo Sirainen ([EMAIL PROTECTED]) wrote: > > Basically, I need to write some shell scripts that, from cron > > jobs, regularly do this: > > > > foreach file in some_incoming_mailbox/new/ > > do > > #process the file and/or set some variable according to i

[Dovecot] maildir rename_subfolders() and listescape interaction

2007-08-30 Thread pod
I'd like to flag a problem we are observing that looks like it is caused by the listescape-plugin.c. I realize that this plugin is not part of the standard Dovecot 1.0 distribution but I would appreciate any insights or suggestions for fixes that anyone is kind enough to offer. The problem concer

Re: [Dovecot] postfix + dovecot lda,

2007-08-30 Thread Michael Moritz
On Thursday 30 August 2007 07:57:15 Steffen Kaiser wrote: > On Wed, 29 Aug 2007, Michael Moritz wrote: > > Is there a way I can force deliver to use group mail as group and ignore > > the per user gid? > > > > I tried chmod 6755 /usr/lib/dovecot/deliver but no change. > > If I remember correctly, t

[Dovecot] Using NID_x500UniqueIdentifier as ssl_username_from_cert

2007-08-30 Thread S. Wefel
Hi, please have a look at the attached patch for dovecot-1.0.3 These patch modifies ssl_proxy_get_peer_name() to use the NID_x500UniqueIdentifier as username instead of NID_commonName. The reason is, that the Common Name doesn't have to be unique for the whole mailserver. Example; in germany a l

Re: [Dovecot] Migrate 0.99 MBox into 1.0rc15-2

2007-08-30 Thread Robert Sander
On Mon, 27 Aug 2007 20:34:52 +0200, Stephan Holl <[EMAIL PROTECTED]> wrote: > > well, rc15 is offered thru debian stable. It runs w/o no errors so > there is no need to update (yet). But yes, if someone knows a repo > with a recent dovecot-package for debian stable. backports.org has dovecot 1.0.

Re: [Dovecot] comparing pointer to integer?

2007-08-30 Thread Timo Sirainen
On 30.8.2007, at 15.49, Bérczi Gábor (Gabucino) wrote: For example in src/lib/file-cache.c: if (cache->mmap_base == MAP_FAILED) { Should be fixed, probably like this: if ((int)cache->mmap_base == MAP_FAILED) { No. MAP_FAILED is supposed to be a pointer. For example in Linux: /usr/include/s

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-08-30 Thread Johannes Berg
On Thu, 2007-08-30 at 15:09 +0200, Andreas Schneider wrote: > with libdspam you can pass simply the whole message. > > -- snip -- > /* Call DSPAM */ > if (dspam_process(ctx, message) != 0) { > syslog(LOG_ERR, "dspam_process failed"); > return -1; > } > -- snip -- Note that passing dspam the

Re: [Dovecot] dovecot dspam plugin using libdspam

2007-08-30 Thread Andreas Schneider
Trever L. Adams wrote: > Andreas, Hi Trever, > > Please, do not take this poorly. I am simply asking questions to make > sure this patch/plugin is a good idea in the form you suggest. > > I am a user of the other patch. I am wondering if this is worth it. Your > patch, if it links against libds

[Dovecot] comparing pointer to integer?

2007-08-30 Thread Bérczi Gábor (Gabucino)
For example in src/lib/file-cache.c: if (cache->mmap_base == MAP_FAILED) { Should be fixed, probably like this: if ((int)cache->mmap_base == MAP_FAILED) { There are a lot of occurences for these in the source. GCC only warns because of this, but DEC C is known to consider this an error: Er

Re: [Dovecot] postfix + dovecot lda,

2007-08-30 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 29 Aug 2007, Michael Moritz wrote: Is there a way I can force deliver to use group mail as group and ignore the per user gid? I tried chmod 6755 /usr/lib/dovecot/deliver but no change. If I remember correctly, there is a setting mail_extr