diff --git a/src/drv_maildir.c b/src/drv_maildir.c index 18ebbaf..2797d8a 100644 --- a/src/drv_maildir.c +++ b/src/drv_maildir.c @@ -1365,6 +1365,7 @@ maildir_store_msg( store_t *gctx, msg_data_t *data, int to_trash, } box = gctx->path; } else { + uid = 0; box = ctx->trash; }