Displaying 14 results from an estimated 14 matches for "mail_vfuncs".
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.
2017 Aug 24
2
vacation problem with SRS
...(&edmail->wrapped->mail, field, reason);
* ^*
*edit-mail.c:* At top level:
*edit-mail.c:1694:2:* *warning: *initialization from incompatible pointer
type [enabled by default]
edit_mail_get_backend_mail,
* ^*
*edit-mail.c:1694:2:* *warning: *(near initialization for '
*edit_mail_vfuncs.get_real_mail*') [enabled by default]
*edit-mail.c:1701:2:* *warning: *initialization from incompatible pointer
type [enabled by default]
edit_mail_set_cache_corrupted,
* ^*
*edit-mail.c:1701:2:* *warning: *(near initialization for '
*edit_mail_vfuncs.set_cache_corrupted*') [enab...
2010 Feb 08
2
Plugin question
Hi All.
I am developing plugin for Dovecot. And I needs for read some
configuration file at startup
and store configuration in application wide variable. As I see the
plugin_init() method calls
multiple times and allocates plugin's variables each time. Could you
suggest better way to
store variable in application context.
Thank you
Valery Gorbunov
2014 Feb 11
1
Order of istream and ostream chains
...ts[2];
input = *stream;
*stream = scrambler_istream_create(input);
i_stream_unref(&input);
return mmail->super.istream_opened(_mail, stream);
}
static void scrambler_mail_allocated(struct mail *_mail) {
struct mail_private *mail = (struct mail_private *)_mail;
struct mail_vfuncs *v = mail->vlast;
union mail_module_context *mmail;
mmail = p_new(mail->pool, union mail_module_context, 1);
mmail->super = *v;
mail->vlast = &mmail->super;
v->istream_opened = scrambler_istream_opened;
MODULE_CONTEXT_SET_SELF(mail, scrambler_mail_module, mmail);
}
H...
2017 Aug 27
0
vacation problem with SRS
...^*
>
> *edit-mail.c:* At top level:
>
> *edit-mail.c:1694:2:* *warning: *initialization from incompatible
> pointer type [enabled by default]
>
> edit_mail_get_backend_mail,
>
> * ^*
>
> *edit-mail.c:1694:2:* *warning: *(near initialization for
> '*edit_mail_vfuncs.get_real_mail*') [enabled by default]
>
> *edit-mail.c:1701:2:* *warning: *initialization from incompatible
> pointer type [enabled by default]
>
> edit_mail_set_cache_corrupted,
>
> * ^*
>
> *edit-mail.c:1701:2:* *warning: *(near initialization for
> '*edit...
2017 Aug 30
2
Segmentation fault with doveadm search
Hi,
We have a Ubuntu 14.04 server with dovecot 2.2.9
If I try to run
/usr/bin/doveadm search -u email at exmaple.com mailbox Junk savedbefore 30d
It will dump a core file.
We have a similar config on an other server and there is no problem there.
Any ideas how to prevent the core dump?
root at triws2:~# gdb --args doveadm search -u email at example.com mailbox Junk savedbefore 30d
Reading
2005 Oct 14
0
1.0a3: assert and core dump
...ox_save_cancel>,
copy = 0x5b070 <mail_storage_copy>,
is_inconsistent = 0x44588 <index_storage_is_inconsistent>},
pool = 0xaed98, module_contexts = {buffer = 0xaef18, element_size = 4}},
storage = 0xa3200, index = 0xa9848, view = 0xb8720, cache = 0xaf638,
mail_vfuncs = 0x960f0, is_recent = 0x32810 <mbox_mail_is_recent>,
md5hdr_ext_idx = 1, notify_to = 0x0, notify_files = 0x0, notify_ios = 0x0,
notify_last_check = 0, notify_last_sent = 0, min_notify_interval = 0,
notify_callback = 0, notify_context = 0x0, next_lock_notify = 1129305608,
last...
2017 Aug 30
2
Segmentation fault with doveadm search
...he = 0x0,
index_pvt = 0x0, view_pvt = 0x0, _perm = {file_uid = 0, file_gid = 0,
file_create_mode = 0, dir_create_mode = 0, file_create_gid = 0,
file_create_gid_origin = 0x0, gid_origin_is_mailbox_path = false,
mail_index_permissions_set = false}, _path = 0x7ffff77450df "",
mail_vfuncs = 0x0, set = 0x0, open_error = MAIL_ERROR_NONE, input = 0x0,
index_prefix = 0x0, flags = MAILBOX_FLAG_IGNORE_ACLS, transaction_count = 0,
enabled_features = (unknown: 0), partial_cache = {uid = 0,
physical_start = 0, physical_pos = 0, virtual_pos = 0},
tmp_sync_view = 0x0, notify_callback...
2008 Mar 10
2
dovecot 1.1.rc3 assertion failed at index_mailbox_set_recent_uid while deleting message with thunderbird.
To some users happens this assertion failure while deleting a message.
dovecot: Mar 10 08:40:44 Panic: IMAP(user): file index-sync.c: line 39
(index_mailbox_set_recent_uid): assertion failed: (seq_range_exists
(&ibox->recent_flags, uid))
dovecot: Mar 10 08:40:44 Error: IMAP(user): Raw backtrace: [see bleow]
dovecot: Mar 10 08:40:44 Error: child 17683 (imap) killed with signal 6
And the
2017 Jul 20
3
vacation problem with SRS
I have this version with FIXME
/* FIXME: If From header of message has same address, we should use
that
* instead to properly include the phrase part.
*/
rfc2822_header_printf(msg, "To", "<%s>", reply_to);
This should be work ok? Or You must change something?
2017-07-20 15:51 GMT+02:00 Stephan Bosch <stephan at
2007 Nov 15
1
imap process consuming 100% CPU (Dovecot 1.0.3)
...> mbox_mail_get_stream(_mail = 0x200281a8, hdr_size = 0x2ff227a8, body_size = 0x2ff227b8), line 206 in "mbox-mail.c"
> > (dbx) list
> > 206 return index_mail_init_stream(mail, hdr_size, body_size);
> > 207 }
> > 208
> > 209 struct mail_vfuncs mbox_mail_vfuncs = {
> > 210 index_mail_free,
> > 211 index_mail_set_seq,
> > 212
> > 213 index_mail_get_flags,
> > 214 index_mail_get_keywords,
> > 215 index_mail_get_parts,
> > (dbx) dump
&g...
2006 Jan 16
7
1.0 beta1 released
As promised, here it is finally.
v1.0 is getting nearer and I want people to start looking at Dovecot's
sources. Getting some more help with development would be nice, but I'd
also like to hear if there are any hidden bugs in the code. So, one week
from now I'll start offering 1000 EUR for the first person to point out
a remotely exploitable security hole in Dovecot. See
2007 Mar 15
5
[PATCH 0/5] fix gcc warnings in CVS HEAD
Hi,
I have rewritten the patches I submitted earlier today for the CVS
HEAD. Some of the changes were already committed months ago.
On 2007/03/15 12:30, Timo Sirainen <tss at iki.fi> wrote:
> That's ok, but I'm not sure about bsearch_insert_pos(). It's the way it
> is mostly because I wanted to keep bsearch() API. If it can't return
> void * then maybe it could be
2017 Oct 18
2
dovecot-2.3 (-git) Warning and Fatal Compile Error
...ail.c:1662:2: error: too few arguments to function
?edmail->wrapped->v.set_cache_corrupted?
edmail->wrapped->v.set_cache_corrupted(&edmail->wrapped->mail, field);
^~~~~~
edit-mail.c: In function ?edit_mail_set_cache_corrupted_reason?:
edit-mail.c:1671:21: error: ?struct mail_vfuncs? has no member named
?set_cache_corrupted_reason?; did you mean ?set_cache_corrupted??
edmail->wrapped->v.set_cache_corrupted_reason
^~~~~~~~~~~~~~~~~~~~~~~~~~
set_cache_corrupted
edit-mail.c: At top level:
edit-mail.c:1701:2: warning: initializ...