Displaying 20 results from an estimated 200 matches similar to: "How to log uid and keywords of delivered mail?"
2009 Apr 13
0
How can I skip EOH in headers?
Hello.
My callback for get_stream is called from mail_get_stream in
mail_storage_copy. Further, mbox_save_init is called and it called
mbox_save_get_input_stream.
backtrace (A) for my callback:
#0 i_stream_header_filter_read (stream=0x8147e00) at istream-header-
filter.c:314
#1 0x080cdbaa in parse_header (mstream=0x8147e00) at istream-header-
filter.c:356
#2 0x080cdc0c in
2007 Jan 31
2
Quota crashing w/ gdb backtrace
Hi,
I'm still running into consistent crashing when moving files between
folders when dirsize quotas are enabled. This is running Dovecot1.0rc19.
Please let me know if I'm posting this to the wrong list.
Here is the gdb backtrace:
#0 0x377fc in mbox_file_seek (mbox=0xc8560, view=0xc94c0, seq=1,
deleted_r=0xffbef157) at mbox-file.c:167
167 if (data == NULL) {
(gdb) bt
2015 Jan 03
0
dovecot-lda segfaults with replication
Hi,
I have set up replication, but dovecot-lda now fails with a segmentation
fault.
Problem seems to be in replication/replication-plugin.c line 253:
struct replication_user *ruser =
REPLICATION_USER_CONTEXT(ctx->ns->user);
resulting in ruser = 0x0
# 2.2.15: /usr/local/etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.6 (3e924b1b6c5c+)
# OS: FreeBSD 10.0-RELEASE amd64
gdb
2009 Mar 03
4
failed assertion in 1.1.8: istream.c: line 81
Hello,
We're having a problem in Dovecot 1.1.8 with a failed assertion on
certain mbox format mailboxes. It happens both with deliver when it
attempts to delier to the mailbox, and with IMAP connections for the
affected box (though I'm not sure what they're doing at the time).
Mar 3 12:55:26 <snip> dovecot: Panic: IMAP(<snip>): file istream.c:
line 81 (i_stream_read):
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
2005 Jun 08
2
Debugging test72
When attempting to save a message from the INBOX to a folder in a
collection (like, .projects.dovecot), I get behavior like this (in
GDB). Any clue what might be going wrong?
Here's where a SIGABRT happens:
280 return array->buffer->used / array->element_size;
This is the stack trace:
(gdb) where
#0 mail_index_map_get_ext_idx (map=0x1200c0db0, ext_id=0,
2006 Feb 16
1
ugly hack to make maildir quotas work
Timo encouraged me to forward this to the list. Basically it pokes
the right value into the right place to make quota deltas work properly
when saving mail to Maildirs.
It's a nasty hack workaround, so don't rely on it without understanding
that it should be superseded in future.
Without this, saving to a maildir doesn't increment quota.
---
2010 Sep 23
1
get MAIL_FETCH_UIDL_FILE_NAME after save a email
Hi Timo...
I Try to get the name from the saved email, you said to me, to get this with
the get_special, ok... thats work.
I get the name with this:
mail_get_special(t->save_ctx->dest_mail, MAIL_FETCH_UIDL_FILE_NAME, &fname);
By i got some mistake... when i save a email that exist in the same
directory, the email is rewrited with another name, but the get_special give
me the old one
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
2018 Mar 06
0
Coredump: Panic: file smtp-address.c: line 530 (smtp_address_write): assertion failed: (smtp_char_is_qpair(*p))
Op 3/5/2018 om 3:14 PM schreef Ralf Hildebrandt:
> Got a coredump:
>
> Mar 5 15:09:42 mail-cbf dovecot: lmtp(backup at backup.invalid)<15425><2B+kCaZPnVpBPAAAplP5LA>: Fatal: master: service(lmtp): child 15425 killed with signal 6 (core dumped)
Hmm, yes, I think this an unnecessary RFC5322 -> RFC5321 address
translation. Will look at making a fix tomorrow.
Regards,
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
2014 Mar 11
2
Panic: file mail-index-map.c: line 547 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)
Version: 2.2.12
OS: Debian wheezy x86_64
2014 Mar 11 20:06:53 ptb-test imap(flor_hardy): Panic: file mail-index-map.c: line 547 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)
2014 Mar 11 20:06:53 ptb-test imap(flor_hardy): Fatal: master: service(imap): child 2760 killed with signal 6 (core dumped)
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation,
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
2012 Apr 26
2
LDA crashes on delivery (using sieve)
Hello,
The current version of LDA can crash (seg fault 11) under certain
circumstances.
I don't know why it happens only with some accounts, but here is a
backtrace. The user has a sieve filter in place :
(gdb) bt full
#0 0x0000000800443434 in smtp_client_open () from
/usr/lib/dovecot/libdovecot-lda.so.0
No symbol table info available.
#1 0x00000008009943ab in
2015 Apr 11
0
Why are here ignore a simple question?
I've also looked at the source code. But my attempt to output the UID
fails because of the error message:
doveadm-mail save.c: 62: 36: error: dereferencing pointer to incomplete type
in the line:
printf("uid =%s\n", dec2str(save_ctx->dest_mail->uid));
Am 11.04.2015 um 08:46 schrieb Gedalya:
> Unfortunately this is not unique. Dovecot's documentation is at all
>
2018 Mar 05
3
Coredump: Panic: file smtp-address.c: line 530 (smtp_address_write): assertion failed: (smtp_char_is_qpair(*p))
Got a coredump:
Mar 5 15:09:42 mail-cbf dovecot: lmtp(backup at backup.invalid)<15425><2B+kCaZPnVpBPAAAplP5LA>: Fatal: master: service(lmtp): child 15425 killed with signal 6 (core dumped)
#0 0x00007fea19977428 in __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
resultvar = 0
pid = 15425
selftid = 15425
#1 0x00007fea1997902a in
2015 Aug 06
0
Segfaults after upgrade to Debian Jessie
What version of the extdata plugin are you using? This looks like a
version built for Dovecot v2.1/Pigeonhole 0.3.0. Keep in mind that the
extdata plugin is not part of the Pigeonhole distribution, so that will
not be upgraded along with Pigeonhole.
Since the extdata plugin is not part of the normal Debian packages (not
afaik anyway), you likely compiled and installed the extdata plugin
2018 Mar 04
0
LMTP delivery segfaults when user is over quota.
On 04.03.2018 16:25, Reio Remma wrote:
> Hello!
>
> I'm having crashes with LMTP delivery when user is over quota on the
> latest CentOS 7.4 with the latest Dovecot 2.3.0.1 from Dovecot repo.
>
> I see the issue has been fixed on January 17, but it doesn't seem to
> have made it into 2.3.0.1 (I compared with the source from
>
2008 Jan 26
2
dovecot HEAD, assertion failed after 7193:e5af14239137 changeset
Hi!
Using HEAD, and after the 7193:e5af14239137 changeset (Store physical
message sizes also to dovecot-uidlist if needed.) I'm getting this:
(gdb) bt full
#0 0x0a0a80dd in kill () from /usr/lib/libc.so.41.0
No symbol table info available.
#1 0x0a0e04a7 in abort () at /usr/src/lib/libc/stdlib/abort.c:65
p = (struct atexit *) 0x84992000
cleanup_called = 0
mask =
2015 Aug 06
3
Segfaults after upgrade to Debian Jessie
On Thu, 2015-08-06 at 09:49 +0200, Stephan Bosch wrote:
> You have no debug symbols installed. Could you install dovecot-dbg
> package and try again?
Sorry, how's this:
#0 sieve_validator_find_command_registration (valdtr=0xffffffff, command=0x7fc573c4bcd8 "extdata") at sieve-validator.c:309
No locals.
#1 sieve_validator_register_command (valdtr=0xffffffff,