Unable to save message in shared mailbox
Hello,
I have a curious problem. We are running a Debian bookworm server with dovecot 2.3.19.1. We have a lot of shared mailboxes and most of them are behaving just fine.
But we have a problem with one shared mailbox: Users aren't able to save messages in it even though they have the right to. This issue popped up, when a user This mailbox is set up like every other shared-mailbox, so I don't think it's a permission problem. We tried it with several users giving them the same access rights and always got an error when trying to save a mail in the shared mailbox.
I didn't find anything that could help in the log files. Even after
turning on mail_debug
I can't even see the try to save a message in
the logs.
Some of the things I've tried so far without any success:
- doveadm force-resync
- increasing the quota for the shared-mailbox
- disabling the quote for the shared-mailbox
- recreating the Sent folder in the shared-maiblox.
Does anybody have any idea how I can debug this further or where the issue could be?
Mit freundlichen Grüßen
Markus Bach IT-Administration
-- Telefon: +49 (30) 31 98 31 200 E-Mail: support@pegasusgmbh.de
PEGASUS GmbH Gesellschaft für soziale/gesundheitliche Innovation IT-Systemleistungen Brunowstr. 52 13507 Berlin
Datenschutzhinweise: https://www.pegasusgmbh.de/datenschutz Internet: http://www.pegasusgmbh.de
Sitz der Gesellschaft: PEGASUS GmbH Gesellschaft für soziale/gesundheitliche Innovation Potsdamer Str. 98 10785 Berlin
Geschäftsführer: Friedrich Kiesinger Registergericht: Amtsgericht Berlin Charlottenburg Registernummer: HRB 69935 B
I found this very very old mailing list post: https://dovecot.dovecot.narkive.com/xBrr4hMG/save-failed-to-inbox#post39 It seems to be kind of similar to my problem but it's 18 years old and about dovecot 1.x.
On a whim I tried temporarily disabling the quota (and imap_quota) plugin. And I was able to save messages! So it looks like it's related to the quote plugin, just like it in the 18 year old mail thread.
But I still have no clue how to properly debug or fix this.
Any help or ideas would be appreciated!
Sincerly,
Markus Bach IT-Administration
-- Telefon: +49 (30) 31 98 31 200 E-Mail: support@pegasusgmbh.de
PEGASUS GmbH Gesellschaft für soziale/gesundheitliche Innovation IT-Systemleistungen Brunowstr. 52 13507 Berlin
Datenschutzhinweise: https://www.pegasusgmbh.de/datenschutz Internet: http://www.pegasusgmbh.de
Sitz der Gesellschaft: PEGASUS GmbH Gesellschaft für soziale/gesundheitliche Innovation Potsdamer Str. 98 10785 Berlin
Geschäftsführer: Friedrich Kiesinger Registergericht: Amtsgericht Berlin Charlottenburg Registernummer: HRB 69935 B
On 4/16/25 12:15, Markus Bach via dovecot wrote:
Hello,
I have a curious problem. We are running a Debian bookworm server with dovecot 2.3.19.1. We have a lot of shared mailboxes and most of them are behaving just fine.
But we have a problem with one shared mailbox: Users aren't able to save messages in it even though they have the right to. This issue popped up, when a user This mailbox is set up like every other shared-mailbox, so I don't think it's a permission problem. We tried it with several users giving them the same access rights and always got an error when trying to save a mail in the shared mailbox.
I didn't find anything that could help in the log files. Even after turning on
mail_debug
I can't even see the try to save a message in the logs.Some of the things I've tried so far without any success:
- doveadm force-resync
- increasing the quota for the shared-mailbox
- disabling the quote for the shared-mailbox
- recreating the Sent folder in the shared-maiblox.
Does anybody have any idea how I can debug this further or where the issue could be?
Mit freundlichen Grüßen
Markus Bach IT-Administration
Oh and I think I didn't mention it: copying and deleting works. It's just saving mail that's affected.
Markus Bach IT-Administration
-- Telefon: +49 (30) 31 98 31 200 E-Mail: support@pegasusgmbh.de
PEGASUS GmbH Gesellschaft für soziale/gesundheitliche Innovation IT-Systemleistungen Brunowstr. 52 13507 Berlin
Datenschutzhinweise: https://www.pegasusgmbh.de/datenschutz Internet: http://www.pegasusgmbh.de
Sitz der Gesellschaft: PEGASUS GmbH Gesellschaft für soziale/gesundheitliche Innovation Potsdamer Str. 98 10785 Berlin
Geschäftsführer: Friedrich Kiesinger Registergericht: Amtsgericht Berlin Charlottenburg Registernummer: HRB 69935 B
On 4/17/25 12:29, Markus Bach via dovecot wrote:
I found this very very old mailing list post: https://dovecot.dovecot.narkive.com/xBrr4hMG/save-failed-to-inbox#post39 It seems to be kind of similar to my problem but it's 18 years old and about dovecot 1.x.
On a whim I tried temporarily disabling the quota (and imap_quota) plugin. And I was able to save messages! So it looks like it's related to the quote plugin, just like it in the 18 year old mail thread.
But I still have no clue how to properly debug or fix this.
Any help or ideas would be appreciated!
Sincerly,
Markus Bach IT-Administration
I think I finally found out what's going wrong.
The problem seems to be that the shared mailbox uses more storage space than the users limit. It looks like dovecot is comparing shared_mailbox.usage + message.size with user.limit.
This was already posted on this mailing list 11 years ago: https://dovecot.dovecot.narkive.com/NMG8xbaD/quota-using-wrong-limits-in-use...
At least I think it's the same problem because after increasing the users quota they were able to save the message. I don't really know why saving worked when we first looked at the issue. It wasn't when I tried today.
Mit freundlichen Grüßen
Markus Bach IT-Administration
-- Telefon: +49 (30) 31 98 31 200 E-Mail: support@pegasusgmbh.de
PEGASUS GmbH Gesellschaft für soziale/gesundheitliche Innovation IT-Systemleistungen Brunowstr. 52 13507 Berlin
Datenschutzhinweise: https://www.pegasusgmbh.de/datenschutz Internet: http://www.pegasusgmbh.de
Sitz der Gesellschaft: PEGASUS GmbH Gesellschaft für soziale/gesundheitliche Innovation Potsdamer Str. 98 10785 Berlin
Geschäftsführer: Friedrich Kiesinger Registergericht: Amtsgericht Berlin Charlottenburg Registernummer: HRB 69935 B
On 4/17/25 12:32, Markus Bach via dovecot wrote:
Oh and I think I didn't mention it: copying and deleting works. It's just saving mail that's affected.
Markus Bach IT-Administration
On 7. May 2025, at 13.38, Markus Bach via dovecot <dovecot@dovecot.org> wrote:
I think I finally found out what's going wrong.
The problem seems to be that the shared mailbox uses more storage space than the users limit. It looks like dovecot is comparing shared_mailbox.usage + message.size with user.limit.
This was already posted on this mailing list 11 years ago: https://dovecot.dovecot.narkive.com/NMG8xbaD/quota-using-wrong-limits-in-use...
At least I think it's the same problem because after increasing the users quota they were able to save the message. I don't really know why saving worked when we first looked at the issue. It wasn't when I tried today.
Would be good to test if it's fixed in v2.4 releases, since there have been quite a lot of changes. Or if not, it might be logging more debug output with log_debug=category=debug
Would be good to test if it's fixed in v2.4 releases, since there have been quite a lot of changes. Or if not, it might be logging more debug output with log_debug=category=debug Thanks for the tip. Tested it with 2.4 and everything works as expected.
Looks like we'll be upgrading sooner then expected...
Mit freundlichen Grüßen
Markus Bach IT-Administration
-- Telefon: +49 (30) 31 98 31 200 E-Mail: support@pegasusgmbh.de
PEGASUS GmbH Gesellschaft für soziale/gesundheitliche Innovation IT-Systemleistungen Brunowstr. 52 13507 Berlin
Datenschutzhinweise: https://www.pegasusgmbh.de/datenschutz Internet: http://www.pegasusgmbh.de
Sitz der Gesellschaft: PEGASUS GmbH Gesellschaft für soziale/gesundheitliche Innovation Potsdamer Str. 98 10785 Berlin
Geschäftsführer: Friedrich Kiesinger Registergericht: Amtsgericht Berlin Charlottenburg Registernummer: HRB 69935 B
On 5/7/25 21:59, Timo Sirainen via dovecot wrote:
On 7. May 2025, at 13.38, Markus Bach via dovecot <dovecot@dovecot.org> wrote:
I think I finally found out what's going wrong.
The problem seems to be that the shared mailbox uses more storage space than the users limit. It looks like dovecot is comparing shared_mailbox.usage + message.size with user.limit.
This was already posted on this mailing list 11 years ago: https://dovecot.dovecot.narkive.com/NMG8xbaD/quota-using-wrong-limits-in-use...
At least I think it's the same problem because after increasing the users quota they were able to save the message. I don't really know why saving worked when we first looked at the issue. It wasn't when I tried today. Would be good to test if it's fixed in v2.4 releases, since there have been quite a lot of changes. Or if not, it might be logging more debug output with log_debug=category=debug
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
participants (2)
-
Markus Bach
-
Timo Sirainen