Displaying 20 results from an estimated 46 matches for "dest_mail".
2008 Jul 18
2
quota vs. antispam issue
...er_run (ioloop=0x10154aa8) at ioloop-epoll.c:201
#9 0x10101514 in io_loop_run (ioloop=0x10154aa8) at ioloop.c:308
#10 0x1003094c in main (argc=1, argv=0xbfeaf4b4, envp=0xbfeaf4bc) at main.c:293
I'll keep digging but I don't see why
return quota_check(ctx->transaction, ctx->dest_mail != NULL ?
ctx->dest_mail : qt->tmp_mail);
should pass NULL in the second argument.
johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally...
2008 Feb 13
1
How to log uid and keywords of delivered mail?
...eliver_save+0x192) [0x80559ea] -> /usr/local/lib/dovecot/lda/lib90_cmusieve_plugin.so [0xaa16bf] ->
/usr/local/lib/dovecot/lda/lib90_cmusieve_plugin.so [0xaaea0d] -> /usr/local/lib/dovecot/lda/lib9
static int mail_log_save_finish(struct mail_save_context *ctx,
struct mail *dest_mail)
{
struct mail_log_mailbox *lbox = MAIL_LOG_CONTEXT(ctx->transaction->box);
int ret;
ret = lbox->super.save_finish(ctx, dest_mail);
if (ret < 0) {
return ret;
}
if (dest_mail != NULL) {
const char *const *kw_list;
i_info("dest...
2009 Apr 13
0
How can I skip EOH in headers?
...y_size=0x0, stream_r=0xbfbfe920)
at /home/pitman/work/rarules/src/rarules-plugin.c:181
#6 0x0809d830 in mail_get_stream (mail=0x8141860, hdr_size=0x0,
body_size=0x0, stream_r=0xbfbfe920) at mail.c:149
#7 0x0809d936 in mail_storage_copy (t=0x811b980, mail=0x8141860,
flags=0, keywords=0x0, dest_mail=0x0) at mail-copy.c:17
#8 0x080a0632 in mailbox_copy (t=0x811b980, mail=0x8141860, flags=0,
keywords=0x0, dest_mail=0x0) at mail-storage.c:763
#9 0x0805960d in deliver_save (namespaces=0x8121c68,
storage_r=0xbfbfeb94, mailbox=0x811a360 "Draft", mail=0x8141860,
flags=0, keywords...
2005 Sep 18
2
Maildir quota's
Hey,
is
http://www.dovecot.org/patches/1.0/quota.tar.gz
supposed to work with maildir quota's for virtual mailboxes? Using it
with dovecot-lda (cvs) results in DSN
Your message was automatically rejected by Sieve, a mail
filtering language.
The following reason was given:
Internal quota calculation error
Thanks,
Lieven
-------------- next part --------------
A non-text attachment was
2007 Jan 31
2
Quota crashing w/ gdb backtrace
...ctx=0xc9a58, mail=0xc73a8,
too_large_r=0xffbef397) at quota.c:434
#5 0x7f933654 in quota_try_alloc (ctx=0x0, mail=0xc73a8,
too_large_r=0xffbef397) at quota.c:301
#6 0x7f9370c8 in quota_check (t=0xc57f0, mail=0xc73a8) at quota-storage.c:120
#7 0x7f9374d0 in quota_save_finish (ctx=0xc7790, dest_mail=0xc73a8)
at quota-storage.c:222
#8 0x6cb64 in mailbox_save_finish (_ctx=0xffbef504, dest_mail=0xc73a8)
at mail-storage.c:538
#9 0x6ba2c in mail_storage_copy (t=0xc57f0, mail=0xc5c00, flags=MAIL_SEEN,
keywords=0x0, dest_mail=0xc73a8) at mail-copy.c:38
#10 0x7f9371e4 in quota_copy (t=0x...
2008 Jul 11
1
Dovecot-1.1.1 with quota and antispam plugin - segmentation fault
...uota_transaction_context *) 0x8128700
qbox = (struct quota_mailbox *) 0x81381e8
#4 0x1833212f in antispam_save_finish (ctx=0x8152028)
at antispam-storage-1.1.c:178
asbox = (struct antispam_mailbox *) 0x8138280
ast = (struct antispam_internal_context *) 0x812b270
dest_mail = (struct mail *) 0x4
ret = 0
#5 0x080ac4ed in mailbox_save_finish ()
No symbol table info available.
#6 0x08059caa in _start ()
No symbol table info available.
#7 0x080590f3 in _start ()
No symbol table info available.
#8 0x080ee05d in io_loop_handler_run ()
No symbol table info availa...
2009 Mar 03
4
failed assertion in 1.1.8: istream.c: line 81
...xbfbfe640, flags=0) at mbox-sync.c:151
#10 0x08075700 in mbox_sync (mbox=0x8103028, flags=0) at mbox-sync.c:1833
#11 0x08070001 in mbox_save_init (_t=0x80f2980, flags=0, keywords=0x0, received_date=1236108538, timezone_offset=0,
from_envelope=0x80e6100 "<snip>", input=0x80f6f28, dest_mail=0x8106028, ctx_r=0x0)
at mbox-save.c:318
#12 0x282ee17f in quota_save_init (t=0x80f2980, flags=0, keywords=0x0, received_date=-1, timezone_offset=0,
from_envelope=0x80e6100 "<snip>", input=0x80f6f28, dest_mail=0x8106028, ctx_r=0xbfbfe9f0)
at quota-storage.c:236
#13 0x080...
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
2005 Jun 08
2
Debugging test72
...4e00, seq=0,
keyword_idx=0x11ffe8f8) at mail-index-view.c:475
#4 0x12003e880 in index_mail_get_keywords (_mail=0x1200c0db0)
at index-mail.c:184
#5 0x120063238 in mail_get_keywords (mail=0x1301100d4) at mail.c:39
#6 0x120063550 in mail_storage_copy (t=0x1200c2880, mail=0x1200e7020,
dest_mail=0x0) at mail-copy.c:22
#7 0x12002a90c in maildir_copy (_t=0x1200c2880, mail=0x1200e7020,
dest_mail=0x0) at maildir-copy.c:155
#8 0x120064dac in mailbox_copy (t=0x1301100d4, mail=0x0, dest_mail=0x11ffe828)
at mail-storage.c:456
#9 0x120011b78 in fetch_and_copy (t=0x1200c2880, srcbox=0x0...
2006 Feb 16
1
ugly hack to make maildir quotas work
...path);
ctx->failed = TRUE;
}
+ if (fstat(ctx->fd, &st) < 0) {
+ ctx->failed = TRUE;
+ }
if (close(ctx->fd) < 0) {
mail_storage_set_critical(STORAGE(ctx->mbox->storage),
"close(%s) failed: %m", path);
@@ -297,6 +302,8 @@
if (mail_set_seq(dest_mail, ctx->seq) < 0)
return -1;
+
+ ((struct index_mail *)dest_mail)->data.physical_size = st.st_size;
}
t_pop();
/k
--
Josh "Koshua" Goodall "as modern as tomorrow afternoon"
joshua at roughtrade.net...
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 name.
Have another way to get the name from a saved email, after save it ?
after this:
ret = zb...
2015 Apr 11
2
Why are here ignore a simple question?
On 04/11/2015 02:39 AM, Hardy Flor wrote:
> I had been on 3/12/2015 pointed to the lack of documentation of "doveadm
> save". It was in the changelog of 2.2.16.
Unfortunately this is not unique. Dovecot's documentation is at all
times significantly lagging behind the code, this is the MO for this
project. I guess someone will say "contributions are welcome".
There
2018 Mar 05
3
Coredump: Panic: file smtp-address.c: line 530 (smtp_address_write): assertion failed: (smtp_char_is_qpair(*p))
...user = 0x56239bdcacb8,
lda_mailbox_autocreate = false,
lda_mailbox_autosubscribe = false
}
box = 0x56239be0e6b8
trans_flags = <optimized out>
t = 0x56239be10ce0
save_ctx = 0x0
headers_ctx = 0x0
kw = 0x0
dest_mail = <optimized out>
error = MAIL_ERROR_NONE
mailbox_name = 0x56239a9d0a54 "INBOX"
errstr = 0x0
guid = 0x6adf0aebb9aa5b00 <error: Cannot access memory at address 0x6adf0aebb9aa5b00>
changes = {
pool = 0x1,
uid_validity...
2009 Apr 03
2
Implementation of editheaders in dovecot
...parse_continue (_mail=0x8150060) at
index-mail.c:1316
#16 0x0807838d in mbox_save_continue (_ctx=0x811bb00) at mbox-save.c:582
#17 0x080a05a8 in mailbox_save_continue (ctx=0x811bb00) at mail-
storage.c:740
#18 0x0809d9df in mail_storage_copy (t=0x811b980, mail=0x8141860,
flags=0, keywords=0x0, dest_mail=0x0) at mail-copy.c:33
#19 0x080a0632 in mailbox_copy (t=0x811b980, mail=0x8141860, flags=0,
keywords=0x0, dest_mail=0x0) at mail-storage.c:763
#20 0x0805960d in deliver_save (namespaces=0x8121c68,
storage_r=0xbfbfee14, mailbox=0x811a370 "Draft", mail=0x8141860,
flags=0, keywords...
2012 Apr 26
2
LDA crashes on delivery (using sieve)
...800a0d840, dup_ctx = 0x800abf0c0, session_id = 0x0, src_mail =
0x800a34840, src_envelope_sender = 0x800a0d858 "mailtest at example.com",
dest_user = 0x800a89040, dest_addr = 0x7fffffffebfd "test at example.com",
final_dest_addr = 0x7fffffffebfd "test at example.com", dest_mailbox_name
= 0x40356b "INBOX", dest_mail = 0x0, var_expand_table = 0x0,
tried_default_save = false, saved_mail = false, save_dest_mail = false,
mailbox_full = false, dsn = false}
service_flags = 1027
user = (const __unknown__ *) 0x7fffffffebcc "test at example.com"...
2018 Mar 06
0
Coredump: Panic: file smtp-address.c: line 530 (smtp_address_write): assertion failed: (smtp_char_is_qpair(*p))
...ilbox_autocreate = false,
> lda_mailbox_autosubscribe = false
> }
> box = 0x56239be0e6b8
> trans_flags = <optimized out>
> t = 0x56239be10ce0
> save_ctx = 0x0
> headers_ctx = 0x0
> kw = 0x0
> dest_mail = <optimized out>
> error = MAIL_ERROR_NONE
> mailbox_name = 0x56239a9d0a54 "INBOX"
> errstr = 0x0
> guid = 0x6adf0aebb9aa5b00 <error: Cannot access memory at address 0x6adf0aebb9aa5b00>
> changes = {
> pool =...
2012 May 29
4
per-mailbox message limits
...extern struct mail_search_register *mail_search_register_imap;
extern struct mail_search_register *mail_search_register_human;
struct mail_storage_module_register mail_storage_module_register = { 0 };
struct mail_module_register mail_module_register = { 0 };
@@ -1620,22 +1621,28 @@
ctx->dest_mail = mail;
}
int mailbox_save_begin(struct mail_save_context **ctx, struct istream *input)
{
struct mailbox *box = (*ctx)->transaction->box;
+ struct mailbox_status status;
int ret;
if (mail_index_is_deleted(box->index)) {
mailbox_set_deleted(box);
return -1;
}
if (!(...
2015 Aug 06
3
Segfaults after upgrade to Debian Jessie
...t;8WveM2IVw1V5fgAAChoztw", src_mail = 0x7fc5761a5840,
src_envelope_sender = 0x7fc57617e778 "xx at hotmail.com", dest_user = 0x7fc5761abcd0,
dest_addr = 0x7fc57617edd0 "yy at xx.com", final_dest_addr = 0x7fc57617edd0 "yy at xx.com",
dest_mailbox_name = 0x7fc575af8ad0 "INBOX", dest_mail = 0x0, var_expand_table = 0x0, tempfail_error = 0x0,
tried_default_save = false, saved_mail = false, save_dest_mail = false, mailbox_full = false, dsn = false}
input = <optimized out>
mail_set = <optimized out...
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
> times significantly lagging behind the code, this is the MO for this
> project. I guess someone will say "contributions are welcome".
> There has...
2009 Feb 18
2
over quota + antispam crash
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I am using dovecot 1.1.11 , quota, imap_quota & antispam plugins.
Dovecot crashes when saving a message to the Sent maildir and the
account is over quota.
gdb trace attached.
St?phane Cottin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org