Skip to content

Message may not get saved into imapsql #795

Open

Description

@majkrzak

It happen me few times, that message did not get into the imapsql mailbox.
Delivery succeeded and not errors were reported in log.

I can see, those messages being saved in /data/messages directory as 9 copies.

Activity

  1. RadimEZ commented on Oct 4, 2025

    @RadimEZ

    Had this issue myself multiple times as well, but failed to reproduce for a while using newer Go releases. The reason seemed to be a lock race when saving the message to the IMAP storage backend while the mail is still being sent and resides in the outbound queue. My mail client shows an error saving the element. After retrying manually enough time has passed. Those operations don't play well together in parallel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions