You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have been trying to use gluon to implement an IMAP server, I really liked the library but I'm still struggling in how to make it work the way the intended way.
For what I understood by looking the code I need to implement a Connector interface and this connector will be the high-level API to main IMAP features(like creating mailboxes/messages/moving stuff etc) so I took the Dummy as base and implemented a version of the connector myself, the issue is: it works fine for creating new messages and so on but the moment I restart the server the connector loses its internal state making it desynchronized from the storage/database, so if I try to update a message flag it fails because the message exist in the storage/database but do not exist in the Connector.
Should I be populating the connector beforehand with messages from the database? This doesn't not seem right since it's not so straightforward and would make the server consume a lot of memory, am I doing something wrong?
The text was updated successfully, but these errors were encountered:
Hello, I have been trying to use
gluon
to implement an IMAP server, I really liked the library but I'm still struggling in how to make it work the way the intended way.For what I understood by looking the code I need to implement a
Connector
interface and this connector will be the high-level API to main IMAP features(like creating mailboxes/messages/moving stuff etc) so I took theDummy
as base and implemented a version of the connector myself, the issue is: it works fine for creating new messages and so on but the moment I restart the server the connector loses its internal state making it desynchronized from the storage/database, so if I try to update a message flag it fails because the message exist in the storage/database but do not exist in the Connector.Should I be populating the connector beforehand with messages from the database? This doesn't not seem right since it's not so straightforward and would make the server consume a lot of memory, am I doing something wrong?
The text was updated successfully, but these errors were encountered: