Re: Mail with single \r, partial fetch, error "Broken virtual size in mailbox"

2025-01-14 Thread Ewald Dieterich via dovecot
On 14.01.25 11:23, Aki Tuomi via dovecot wrote: This has been fixed with https://github.com/dovecot/core/compare/fc88314aa45ca751d7d83d1307d46e11cfbe263c%5E...3a72c176923058a7d1876d224dcdd0c50044bd41.patch Thank you very much! ___ dovecot mailing li

Mail with single \r, partial fetch, error "Broken virtual size in mailbox"

2025-01-07 Thread Ewald Dieterich via dovecot
I run Dovecot 2.3.21 with the mdbox mailbox format. If I do a certain partial fetch on a mail with a single carriage return \r Dovecot closes the connection and logs the following error: Error: Mailbox INBOX: Deleting corrupted cache record uid=1: UID 1: Broken virtual size in mailbox INBOX:

Re: Mail gone when recreating a folder in a second IMAP session

2024-12-13 Thread Ewald Dieterich via dovecot
On 13.12.24 13:11, Ewald Dieterich via dovecot wrote: On 13.12.24 11:42, Aki Tuomi via dovecot wrote: Thank you for your bug report, we'll take a look. Does the folder recover if you run doveadm force-resync? Yes, I can recover the mail in the folder with doveadm force-resync. T

Re: Mail gone when recreating a folder in a second IMAP session

2024-12-13 Thread Ewald Dieterich via dovecot
On 13.12.24 11:42, Aki Tuomi via dovecot wrote: Thank you for your bug report, we'll take a look. Does the folder recover if you run doveadm force-resync? Yes, I can recover the mail in the folder with doveadm force-resync. ___ dovecot mailing lis

Mail gone when recreating a folder in a second IMAP session

2024-12-12 Thread Ewald Dieterich via dovecot
I'm running Dovecot 2.3.21 with the mdbox mailbox format. I lose mails (with an asterisk, see below) when I'm doing the following in 2 IMAP sessions: Session 1: Create a folder, save a mail and select it: . create folder . append folder {1} . select folder * 1 EXISTS * OK [UIDVALIDITY 17340135

Re: "doveadm altmove -r" not working ?

2023-03-21 Thread Ewald Dieterich
I had the same problem and solved it by reverting this commit: https://github.com/dovecot/core/commit/2795f6183049a8a4cc489869b3e866dc20a8a732 Here's my original mail to this mailing list: https://dovecot.org/pipermail/dovecot/2021-February/121329.html On 20.03.23 23:26, Benoit Branciard wrote

Slow IMAP SORT

2022-08-15 Thread Ewald Dieterich
The following IMAP SORT with 2 sort criteria is very slow on an mdbox mailbox with lots of mails (more than 10,000) and an empty cache: . SORT (ARRIVAL DATE) UTF-8 ALL Each mail is opened when the SORT is executed, which is slow, given the number of mails in the mailbox. Debug: Mailbox INBOX

Re: BUG report: dbox movealt doesn't move reverse (to default location)

2021-02-05 Thread Ewald Dieterich
On 09.07.20 14:12, Vitalii wrote: However, to move it back to default storage I add '-r' by manual: #sudo doveadm -D altmove -u v...@vito.pp.ua -r all That seems behave like the original command ignoring '-r'. Same problem here with Dovecot 2.3.13, "doveadm altmove -r" is not moving anything f

Re: [Dovecot] Separate log file for Sieve

2013-04-03 Thread Ewald Dieterich
On 03/31/13 14:43, Stephan Bosch wrote: Op 3/31/2013 10:34 AM, Timo Sirainen schreef: On 27.3.2013, at 16.57, Ewald Dieterich wrote: Is it possible to configure a separate log file for Sieve? No, unless you use some syslog feature. There are some plans to reduce the number of errors that

[Dovecot] Separate log file for Sieve

2013-03-27 Thread Ewald Dieterich
I use log_path = /var/log/dovecot/error.log info_log_path = /var/log/dovecot/info.log debug_log_path = /var/log/dovecot/debug.log to log to different files. Since I don't consider Sieve errors as severe as "real" Dovecot errors I would like to keep them away from the error log. Is it possibl

[Dovecot] pop3_lock_session and mdbox format

2013-01-09 Thread Ewald Dieterich
Setting "pop3_lock_session = yes" in the configuration has no effect when I use Dovecot 2.1.13 with the mdbox format. A second POP3 connection to the same mailbox is still allowed. Grepping for MAILBOX_FLAG_KEEP_LOCKED in the source code shows that POP3 session locking only works for the Maildi

Re: [Dovecot] Deleting metadata smashes file dovecot.dict

2012-08-28 Thread Ewald Dieterich
On 08/08/12 14:23, Andre Gröbe wrote: I am using dovecot (see dovecot -n output below) with metadata plugin in my own plugin. I want to insert and delete some large metadata (>4KiB). It seems, that the delete in a second call of my plugin smashes the file dovecot.dict in users dir: That's an er

Re: [Dovecot] Append with literal+ and mailbox over quota

2012-07-19 Thread Ewald Dieterich
On 07/19/12 13:16, Ewald Dieterich wrote: I'm appending a mail with literal+ to a mailbox that is over quota: 1 APPEND INBOX {127+} [...] 1 NO [OVERQUOTA] Quota exceeded (mailbox for user is full) 2 NOOP 1 BAD Error in IMAP command APPEND: Invalid arguments. 3 NOOP 3 OK NOOP comp

[Dovecot] Append with literal+ and mailbox over quota

2012-07-19 Thread Ewald Dieterich
I'm appending a mail with literal+ to a mailbox that is over quota: 1 APPEND INBOX {127+} From: To: Subject: Quota-Test Message-ID: Quota-Test 1 NO [OVERQUOTA] Quota exceeded (mailbox for user is full) 2 NOOP 1 BAD Error in IMAP command APPEND: Invalid arguments. 3 NOOP 3 OK NOOP completed.

Re: [Dovecot] mail_log plugin logs UTF-8 mailbox name

2012-07-11 Thread Ewald Dieterich
On 07/11/12 19:11, Timo Sirainen wrote: On 11.7.2012, at 15.42, Ewald Dieterich wrote: A small bug in the mail_log plugin: [...] copy from INBOX: box=INBOX.Euro €, [...] I think the UTF8 name is more correct here [...] copy from Euro &IKw-: box=INBOX, [...] and I should change

[Dovecot] mail_log plugin logs UTF-8 mailbox name

2012-07-11 Thread Ewald Dieterich
A small bug in the mail_log plugin: When I copy a mail from the inbox to a mailbox with special characters, the mailbox name is logged in UTF-8: [...] copy from INBOX: box=INBOX.Euro €, [...] I guess the name should be in mUTF-7, like it is done when I copy the other way round: [...] copy from

Re: [Dovecot] UTF-8 mailbox name STATUS response

2012-07-02 Thread Ewald Dieterich
On 07/02/12 11:25, Timo Sirainen wrote: > On 2.7.2012, at 12.07, Ewald Dieterich wrote: >> STATUS in Dovecot 2.1.7 returns the UTF-8 decoded folder name in a >> string literal: >> >> . CREATE "INBOX.Euro &IKw-" >> . OK Create completed. >> .

[Dovecot] UTF-8 mailbox name STATUS response

2012-07-02 Thread Ewald Dieterich
STATUS in Dovecot 2.1.7 returns the UTF-8 decoded folder name in a string literal: . CREATE "INBOX.Euro &IKw-" . OK Create completed. . LIST "" "INBOX.Euro &IKw-" * LIST (\HasNoChildren) "." "INBOX.Euro &IKw-" . STATUS "INBOX.Euro &IKw-" (MESSAGES) * STATUS {14} INBOX.Euro € (MESSAGES 0) . OK Sta

[Dovecot] Notify plugin: segmentation fault

2012-01-20 Thread Ewald Dieterich
I'm trying to develop a plugin that uses the hooks provided by the notify plugin. The notify plugin segfaults if you don't set the mailbox_rename hook. I attached a patch to notify-plugin.c from Dovecot 2.0.16 that should fix this. Ewald --- dovecot-2.0.16/src/plugins/notify/notify-plugin.c.or