Displaying 20 results from an estimated 200 matches similar to: "Plugin development - ostream and index cache size"
2014 Feb 11
1
Order of istream and ostream chains
Hi,
I'm creating a scrambler plugin, that adds an istream and an ostream to
the stream-chain for the mail input/output. It works well until the zlib
plugin is added to the configuration. The scrambler should run before
the zlib and encrypt the mail before it's compressed. Since, the plugin
is named lib18_scrambler_... (and the other lib20_zlib....), that works
well when a mail is
2012 Mar 31
1
Problem compiling dovecot-antispam on Ubuntu 11.10 using Doveot 2.0.13
Hello,
Last dovecot available version on Ubuntu 11.10 AMD64 is dovecot 2.0.13.
dovecot-antispam package is compiled for dovecot 2.0.15.
So, i'm trying to compile a new dovecot antispam plugin.
I followed dovecot wiki but i'm running into this error :
Successfully compiled dspam.c (plugin).
mailbox.c: In function 'antispam_save_begin':
mailbox.c:138:12: error: 'struct
2014 Dec 11
2
stacking istreams and ostreams
Hello,
I'm developing an encryption plugin for dovecot and ran into a problem
with the stacking of i/o-streams.
The encryption i/o-streams are working fine on any kind of mail the test
suite is passing through them. But as soon as the zlib plugin is enabled
the logs show an cache error:
failed: Cached message size larger than expected (214 > 206, box=INBOX,
UID=1)
I've already
2012 Dec 13
5
dovecot-lda (2.1.12) segfaults
We uograded our dovecot from version 2.1.10 -> 2.10.12, but within
the first hour of use, dovecot-lda would segfault during delivery.
This left a lock file lying around causing the user's mail readers to
hang; much hilarity ensues. All further deliveries to the same user
will result in a crash.
The only thing that fixes this condition is to blow away the user's
INBOX cache index.
2012 Jan 17
1
Antispam plugin not compatible with Dovecot 2.1
Here is what I get when I try to compile the antispam plugin agaisnt
Dovecot 2.1
**************
mailbox.c: In function 'antispam_save_begin':
mailbox.c:138:12: error: 'struct mail_save_context' has no member named
'copying'
mailbox.c: In function 'antispam_save_finish':
mailbox.c:174:12: error: 'struct mail_save_context' has no member named
2011 Jan 19
1
Rewrite the mailbox copy functions works in imap but don't work in doveadm import command
Hi Timo !!
I rewrite the copy function from mailbox (using a plugin)
My rewrite is like this:
static int emexis_antispam_copy(struct mail_save_context *ctx, struct mail
*mail){
struct mailbox *box = ctx->transaction->box;
union mailbox_module_context *zbox = EMEXIS_CONTEXT(box);
struct mail_private *_mail = (struct mail_private *)mail;
union mail_module_context *zmail =
2012 May 29
4
per-mailbox message limits
This is something Timo hacked up for me a few years ago and I realised
should be on the list in case anyone else wants them.
The following patches will limit maildir folders to 4000 messages on
Dovecot 2.0.* and 2.1.*
The Specfile patch is against the Cityfan Redhat EL5 SRPM but is likely
to work on most build platforms
Changing the message limit requires a recompile. It's brutal and
2008 Jul 18
2
quota vs. antispam issue
Can you help me maybe? I don't see the bug.
QUOTA=maildir QUOTA_RULE='*:storage=100M' MAIL_PLUGINS="antispam quota" MAIL_PLUGIN_DIR=/home/johannes/Projects/dovecot/antispam gdb --args /home/johannes/Projects/dovecot/dovecot-1.1/src/imap/imap
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
2013 Nov 27
1
dovecot-antispam plugin problem with multiple messages
Hi
With dovecot 2.2.5, and dovecot-antispam built from a recent HEAD pull, when copying multiple messages to or from a Spam folder, the plugin sends multiple copies of the first message to the backend. I've tried this with the pipe and spool2dir backends.
For example with the spool2dir backend, via IMAP doing
A COPY 1:3 Spam
yields 3 copies of message id 1 in the dir:
dev:imap-8.1 rplatel
2010 Jun 21
1
Plugin Handle input messages
Hi Timo....
I try to change my plugin to read the input email to increase a header line
and one \r\n.
But i need help to get this input....
My plugin is based in zlib plugin.
In "static int zlib_permail_get_stream" function, have it.
if (imail->data.stream != NULL ||
(_mail->uid == 0 && zuser->save_handler == NULL)) {
return
2014 May 24
4
Plugin mail-filter tangles
System installed : Dovecot 2.2.12 as IMAP server and Postfix as MTA.
Dovecot and Postfix connected via LMTP
+ Dovecot mail plugin 'mail-filter' to encrypt/decrypt emails on the fly
with public/private users' RSA keys.
Case study :
You have 3 (virtuals) users belonging to 3 different domains, all
managed by your Dovecot server.
One of these users is connected to Dovecot with MUA
2019 Jun 27
1
Dovecot LMTP mixing up users on multi-recipient mail
Hi,
I've upgraded a mailstore from Debian Jessie (aka oldstable) with
Dovecot 2.2.13 to Debian Buster (next stable) with Dovecot 2.3.4.1
today. It worked pretty well, except that we're seeing error messages
very similar to this old thread
https://dovecot.org/pipermail/dovecot/2015-July/101396.html
It appears to be happening when a mail with multiple recipients on this
message store is
2016 Dec 01
2
Implementing secondary quota w/ "Archive" namespace
On Thu, Nov 24, 2016 at 9:10 PM, Mark Moseley <moseleymark at gmail.com> wrote:
> On Thu, Nov 24, 2016 at 10:52 AM, Timo Sirainen <tss at iki.fi> wrote:
>
>> On 24 Nov 2016, at 9.33, Mark Moseley <moseleymark at gmail.com> wrote:
>> >
>> > On Wed, Nov 23, 2016 at 6:05 PM, Timo Sirainen <tss at iki.fi> wrote:
>> >
>> >> On
2015 Oct 30
2
IMAP COPY creates invalid index data with zlib and mail_log plugins enabled but zlib_save off
I've noticed that maildir IMAP COPY commands can generate invalid
dovecot.index entries when all seven of the following are true:
- The zlib plugin is enabled;
- The zlib_save/zlib_save_level options are NOT enabled;
- The source message being copied is compressed;
- The mail_log plugin is logging "copy" events;
- The mail_log_fields setting includes at least one message header;
-
2018 Mar 19
3
v2.2.35 released
https://dovecot.org/releases/2.2/dovecot-2.2.35.tar.gz
https://dovecot.org/releases/2.2/dovecot-2.2.35.tar.gz.sig
??? - charset_alias: compile fails with Solaris Studio, reported by
??? ? John Woods.
??? - Fix local name handling in v2.2.34 SNI code, bug found by cPanel.
??? - imapc: Don't try to add mails to index if they already exist there.
??? - imapc: If email is modified in
2018 Mar 19
3
v2.2.35 released
https://dovecot.org/releases/2.2/dovecot-2.2.35.tar.gz
https://dovecot.org/releases/2.2/dovecot-2.2.35.tar.gz.sig
??? - charset_alias: compile fails with Solaris Studio, reported by
??? ? John Woods.
??? - Fix local name handling in v2.2.34 SNI code, bug found by cPanel.
??? - imapc: Don't try to add mails to index if they already exist there.
??? - imapc: If email is modified in
2008 Jul 11
1
Dovecot-1.1.1 with quota and antispam plugin - segmentation fault
Hello!
I have port-built dovecot-1.1.1 on freebsd 6.3 i386 box.
There is signal 11 on imap child occurs every time when i'm trying to send
email.
In fact, email is sending to MTA correctly, but when message moving to Sent
folder segmentation error appears.
I built dovecot and antispam plugin with -g3 -O0 -pipe
With GDB I recieve next:
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software
2010 May 06
1
Bug in zlib Plugin (2.0)
Hello everyone.....
I Made some tests in zlib plugin, and in ostream file (ostream-zlib.c) in
o_stream_zlib_sendv function, have it:
stream->ostream.offset += bytes;
In struct mail_save_context, have saved_physical_size and it can be updated,
acording with the observation.
/* if non-zero, overrides the physical size that should be saved.
for example when using zlib plugin, this
2010 Sep 15
1
imap processing spinning on the CPU
Version: 2.0.2
OS: Mac OS X 10.5.8
IMAP Client: Apple Mail.app on 10.5.8
Since upgrading to 2.0.2 I've noticed one user ends up with 4-5 imap processes all using as much CPU as they can get.
I know of one other person who is seeing this on a FreeBSD server (that person moved back to dovecot 1.2 which 'solved' the problem there).
I didn't notice anything in the list archive
2007 Nov 15
1
imap process consuming 100% CPU (Dovecot 1.0.3)
>
> Is this behavior cured, or do you continue to see it?
>
No, the behavior isn't cured. We still continue to see it
with various clients. I have posted a couple of truss outputs,
but so far no resolution.
Sorry for the slow response. I've been "fighting other fires".
Jackie
> Jackie Hunt wrote:
> >> On Mon, 2007-09-03 at 12:37 +0200, Robert