znuny / Znuny

Znuny/Znuny LTS is a fork of the ((OTRS)) Community Edition, one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management.
https://www.znuny.org
GNU General Public License v3.0
335 stars 82 forks source link

Bug - Failing Fetchmails - MailAccountFetch and MSOffice #453

Closed ThWelte closed 1 year ago

ThWelte commented 1 year ago

Environment

Expected behaviour

Fetch mails from Office365 INBOX and create new Tickets.

Actual behaviour

Process keeps active til 600sec timeout which kills this child process and starts anoher try -> No new Tickets because Mail INBOX is not fetched

How to reproduce

Steps to reproduce the behavior:

  1. Set up OAuth2 with MS Office -> valid Token
  2. Set up Znuny Postmaster with this OAuth Token
  3. Wait for Daemon trying to fetch Mails through MailAccountFetch
  4. Error TimeOut of MailAccountFetch

https://www.znuny.org/de/blog/modern-authentication-with-microsoft

Additional information

Other user get same problem like me https://community.znuny.org/viewtopic.php?f=62&t=43689&p=177308#p177308

Problem may come from MS Office Update "MC545914" Graph Connector Content Results Experience Switches to Results Inline in All Vertical

Tested Solutions:

OTRS-otrs.Console.pl-Maint::Email::MailQueue-42

There was an error executing Execute() in Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...

OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-42

There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: Timeout of 600 seconds reached, killing child process!

Screenshots

hanneshal commented 1 year ago

Hi,

does this problem occur since the 23rd?

Please also note that there is an incident pending on MS Side.

You can find it in the admin center:

image

You may be successful with switching to POP3S, but this only a short term solution. As far as we can tell the problem needs to be addressed on MS side.

ThWelte commented 1 year ago

Wow, thank you so much!!! Switching to POP3S worked for us.