Nicolas Sebrecht

Results 230 comments of Nicolas Sebrecht

BTW, I wonder the update on emails is best done on the server at delivery time (MDA). I think most IMAP servers allow to do this kind of things. ,-)

> Solution 3 > > The mail client uses imapfw as an actual proxy and connects to it to get the emails, imapfw is the only one connecting to the...

I can't tell how much time this would require since it depends on contributions (myself included). Also, this depends on your own knwoledges of Python and how "production ready" you...

> What the users expects is to receive their messages in their email client and not changing their habits. They also have multiple devices (PCs, phone, ...) and use a...

![sanitize](https://cloud.githubusercontent.com/assets/90065/15465946/5e85c6de-20d7-11e6-9c87-fe122ec2207f.png)

Things are worse because the clients can connect more than once and this should not trigger twice the same checks.

The more I think about this, the more I'm convinced you should use both a proxy and a monitor. The proxy would only hides unchecked UIDs while the monitor (IDLE...

> Okay, my idea was to have no database at the proxy's level and just look at the content of each email passing through, but your approach is probably more...

You should look at the code. For IMAP sessions, see https://github.com/OfflineIMAP/imapfw/blob/master/imapfw/imap/imap.py#L108

Not yet because imapfw is still not at this stage of development.