Displaying 20 results from an estimated 300 matches similar to: "Plugin question"
2007 Aug 03
1
modify header in deliver
hi,
is it possible to modify the mail-header (subject) within the deliver process (maybe by a lda-plugin)? I have tried to write a simple plugin for this, but I cannot find a way to modify the mail befor writing it to the mailbox.
Reinhard
-------------------------------------------
Versendet durch aonWebmail (webmail.aon.at)
Hier spielt die Musik! ?ber zwei Millionen Songs zum Downloaden.
2019 Aug 16
7
[nbdkit PATCH 0/2] rust: Implement some missing v2 callbacks
Similar to what I just did for OCaml (this IS an API break, requiring
recompilation of any existing Rust plugin), and done because I want to
add fast_zero support to both languages as part of my upcoming fast
zero series.
Figuring out how to get extents working was hard enough that I punted
that, still.
Eric Blake (2):
rust: Implement can_cache
rust: Add support for dynamic .thread_model
2000 Jun 19
1
PATCH: Falling off the end of linked lists.
[I'm still poking around in vorbis-tools. Here's another trivial patch.]
In ogg123.c, the function get_stream goes down a linked list looking for the
nth stream. Currently it will run off the end of the list and dereference the
NULL pointer if the list is smaller than n. Attached is a patch to check for
a null list and abort.
Would assert() be a better way to do this?
-=-=-
Stan
2008 Aug 14
2
Plugin when downloading mail
Is there a way to modify mail messages when they are downloaded using a
special login.
eg. my normal login for dovecot is martijn at youngguns.nl but when I log in
using martijn at dosomething.youngguns.nl I would like to download my mail
which are processed using a Perl script. The Perl script will modify the
content of the message (the message body). So I don't want to change the
header or
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 =
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
2018 Jan 16
6
[PATCH nbdkit 0/3] Refactor plugin_* functions into a backend struct.
Somewhat invasive but mostly mechanical change to how plugins are
called. This patch is in preparation for adding a second backend
subtype for filters.
Rich.
2019 Feb 08
3
[PATCH nbdkit] Add support for writing plugins in Rust.
This adds very rough support for writing nbdkit plugins in Rust. This
is not very idiomatic -- essentially we're handling the direct C calls
from nbdkit in Rust. We have to use ‘unsafe’ in a few places because
there's no way to tell the Rust code that nbdkit satisfies guarantees
(eg. around thread safety, always returning leaked pointers back to
the close function, always doing bounds
2018 Jan 16
4
[PATCH nbdkit v2 2/3] Refactor plugin_* functions into a backend
v1 -> v2:
- Fixed everything mentioned in the review.
Rich.
2009 Apr 03
2
Implementation of editheaders in dovecot
Hello.
I wrote the hook function for deliver. I want to add support of
editheaders in the plug-in for dovecot. For this purpose I wrote the
function rarules_get_stream. Remover of headrs works properly, but
adding does not work. I took Timo Sirainen's advice from http://markmail.org/message/skb6arnll5gaopdr
. Do I use a correct way of creation of a message?
I give backtrace and a
2020 Aug 18
2
Re: [PATCH nbdkit 1/9] server: Add libnbdkit.so.
On 8/18/20 8:53 AM, Richard W.M. Jones wrote:
> On Tue, Aug 18, 2020 at 07:48:43AM -0500, Eric Blake wrote:
>>> +extern int nbdkit_main (int argc, char *argv[]);
>>
>> A bit odd to declare this in a .c; but I don't see any existing
>> decent .h to put it in, nor is it worth adding a new one just for
>> this. So it is fine right here.
>
> Yup, better
2008 May 31
1
Sieve Editheader Extension?
I've done extensive searches, and there is virtually no information
about
actual implementations of the draft Sieve Editheader Extension (which
provides 'addheader' and 'deleteheader' actions):
http://www.ietf.org/internet-drafts/draft-ietf-sieve-editheader-11.txt
Is anyone currently working on this for Dovecot Sieve?
If not, are there any plans to do so? And before I
2004 Dec 18
1
spam plugin
Here's a new version, it compiles (and appears to work) except the part
in "copy_reclassified".
Can anyone help me (probably only Timo knows how) with that?
http://johannes.sipsolutions.net/edit/Projects/dovecot-dspam-integration/pseudo-code
johannes
2020 Mar 23
6
[PATCH nbdkit 0/3] msys2 support for review
I pushed a few of the msys2 patches upstream. I changed the way that
$(SHARED_LDFLAGS) works so it's more to my liking, and the others were
pushed unchanged. Three patches remain which I'm posting on the
mailing list for proper review.
Rich.
2019 Feb 08
1
Re: [PATCH nbdkit] Add support for writing plugins in Rust.
On 2/8/19 5:55 AM, Richard W.M. Jones wrote:
> ---
> +* Consider supporting a more idiomatic style for writing Rust plugins.
> +
Considering I've written nothing in Rust, I'm no good at deciding what
forms idiomatic Rust plugins.
> +++ b/configure.ac
> @@ -545,6 +545,15 @@ AS_IF([test "x$OCAMLOPT" != "xno" && test "x$enable_ocaml" !=
2019 Nov 04
3
[PATCH nbdkit v2 0/2] Implement fuzzing using Clang's libFuzzer.
v1 was here:
https://www.redhat.com/archives/libguestfs/2019-November/msg00003.html
This version depends on:
https://www.redhat.com/archives/libguestfs/2019-November/msg00004.html
and this series:
https://www.redhat.com/archives/libguestfs/2019-November/msg00009.html
The delta has been reduced slightly because of changes made possible
by cleaning up and fixing the quit path in nbdkit. It's
2019 Nov 02
2
[PATCH nbdkit 0/2] Implement fuzzing using Clang's libFuzzer.
libFuzzer is Clang's fuzzer, and alternative to using AFL:
https://llvm.org/docs/LibFuzzer.html
I implemented an alternative method of fuzzing for libnbd earlier
today and it's pretty simple:
https://github.com/libguestfs/libnbd/commit/c19a6fbae9a21a7d4693418706c59e81ed256875
However it's considerably more difficult to use libFuzzer with
non-library code -- in this case nbdkit.
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
2018 Jan 17
14
[PATCH 0/9] Add filters to nbdkit.
The first three patches are identical to:
https://www.redhat.com/archives/libguestfs/2018-January/msg00079.html
"[PATCH nbdkit v2 0/3] Refactor plugin_* functions into a backend"
The rest of the patches add filters using the new filter API
previously described here:
https://www.redhat.com/archives/libguestfs/2018-January/msg00073.html
This needs a lot more testing -- and tests --
2017 Feb 06
3
[PATCH nbdkit 0/2] Change .errno_is_reliable function to .errno_is_preserved constant.
See patch 1 for rationale.