simonrob / email-oauth2-proxy

An IMAP/POP/SMTP proxy that transparently adds OAuth 2.0 authentication for email clients that don't support this method.
Apache License 2.0
863 stars 96 forks source link

Cannot Delete email in the mailbox #127

Closed StefKQ closed 1 year ago

StefKQ commented 1 year ago

Accessing the MS 365 mailbox through the email proxy works fine in our environment. There is only one situation where it does not work as expected. We are running a Perl script that is accessing the mailbox through the proxy. It can access the email but when it should delete an email in that mailbox it does not work (the delete command was working before when connecting directly to MS365 with the same script). Do you have an idea why the delete command would not work through the proxy?

Thanks a lot Stefan

simonrob commented 1 year ago

There should be no impact on normal IMAP operation - the proxy ignores further traffic once authentication is complete.

Please post the proxy's log including an attempt to delete a message with debug mode enabled (--debug).

simonrob commented 1 year ago

I'm going to assume this was resolved, but feel free to reopen if needed.

simonrob commented 1 year ago

There is a chance that this could be related to a regression in 4651993 (#121). It's worth trying the latest proxy version in the main branch to see whether this fixes your issue.