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

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

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 libdspam

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 signature

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:

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.0 for

[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

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, there is a

[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

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 its content

[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