Email Receiving Problem: email not received in web but can be received via IMAP

Please provide next information:

logs of Community Server from:

/app/onlyoffice/CommunityServer/logs/mail
and
/app/onlyoffice/CommunityServer/logs/mail/mail-imapsync.errors.log

@Nikolas logs sent via private message. thank you.

@Nikolas were you able to get the logs? we’re still unable to check emails

logs have been successfully received.
I will notify you as soon as there is a result.

@rodster
Please specify, do you have users added via LDAP?

@Nikolas apologies for missing that detail. Yes, all users are authenticated via LDAP (except for the main admin user)

@rodster
Yes, it was important :slight_smile:
For some reason, I didn’t think to clarify this detail myself.

We managed to reproduce the issue on our side and we are trying to detect and fix the root cause.

I will inform you additionally about the result.

1 Like

@Nikolas just want to ask if there are procedures to fix this. thank you

@rodster
Recently we managed to release an update, it is already available. (12.5.2)
Please make a snapshot of the server and try to update the installations.

Let me know the result of the update and if the issue is resolved.

@Nikolas Confirming that this is fixed. Thank you.
though the team decided not to continue with OnlyOffice email. Good to know though that this feature is working again.

1 Like

Sorry for the inconvenience caused. :pensive:
We tried to fix this problem as quickly as possible.

1 Like

I’d like to possibly reopen this. Same thing happened to me except restarting the docker containers did fix the problem for me. However, this is the 2nd or 3rd time this has happened.

I’m not positive but this error may have something to do with it:

2025-07-16 18:42:36,329 ERROR [65] ASC.Mail.MainThread - QueueManager -> LoadQueue()
Exception: 
 Autofac.Core.DependencyResolutionException: An exception was thrown while activating ASC.Mail.Core.Engine.MailboxEngine -> ASC.Core.TenantManager -> ASC.Mail.Core.Storage.DbMailQuotaService
 -> ASC.Mail.Core.Dao.Context.MailDbContext -> λ:Microsoft.EntityFrameworkCore.DbContextOptions`1[[ASC.Mail.Core.Dao.Context.MailDbContext, ASC.Mail.Core, Version=1.0.0.0, Culture=neutral, P
ublicKeyToken=null]].
 ---> MySqlConnector.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.
   at MySqlConnector.Core.ServerSession.ConnectAsync(ConnectionSettings cs, MySqlConnection connection, Int32 startTickCount, ILoadBalancer loadBalancer, Activity activity, IOBehavior ioBeha
vior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 448
   at MySqlConnector.Core.ConnectionPool.ConnectSessionAsync(MySqlConnection connection, String logMessage, Int32 startTickCount, Activity activity, IOBehavior ioBehavior, CancellationToken 
cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 403
   at MySqlConnector.Core.ConnectionPool.ConnectSessionAsync(MySqlConnection connection, String logMessage, Int32 startTickCount, Activity activity, IOBehavior ioBehavior, CancellationToken 
cancellationToken) in /_/src/MySqlConnector/Core/ConnectionPool.cs:line 408
   at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /
_/src/MySqlConnector/Core/ConnectionPool.cs:line 98
   at MySqlConnector.Core.ConnectionPool.GetSessionAsync(MySqlConnection connection, Int32 startTickCount, Activity activity, IOBehavior ioBehavior, CancellationToken cancellationToken) in /
_/src/MySqlConnector/Core/ConnectionPool.cs:line 128
   at MySqlConnector.MySqlConnection.CreateSessionAsync(ConnectionPool pool, Int32 startTickCount, Activity activity, Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/My
SqlConnector/MySqlConnection.cs:line 929
   at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlConnection.cs:line 423
   at MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 382
   at Microsoft.EntityFrameworkCore.ServerVersion.AutoDetect(String connectionString)
   at ASC.Core.Common.EF.InstallerOptionsAction.OptionsAction(IServiceProvider sp, DbContextOptionsBuilder optionsBuilder)
   at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.CreateDbContextOptions[TContext](IServiceProvider applicationServiceProvider, Action`2 optionsAction
)
   at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.<>c__DisplayClass17_0`1.<AddCoreServices>b__0(IServiceProvider p)
   at Autofac.Extensions.DependencyInjection.AutofacRegistration.<>c__DisplayClass3_0.<Register>b__0(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Activators.Delegate.DelegateActivator.<ConfigurePipeline>b__2_0(ResolveRequestContext ctxt, Action`1 next)
   at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   --- End of inner exception stack trace ---
   at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.Middleware.SharingMiddleware.<>c__DisplayClass5_0.<Execute>b__0()
   at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid id, Func`1 creator)
   at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid primaryId, Nullable`1 qualifyingId, Func`1 creator)
   at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
   at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
   at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
   at Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.ResolveOptional(IComponentContext context, Type serviceType, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.ResolveOptional(IComponentContext context, Type serviceType)
   at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
   at ASC.Mail.Aggregator.Service.Queue.QueueManager.LoadQueue() in /home/jenkins/workspace/release.mail.precompiled/Services/ASC.Mail.Aggregator.Service/Queue/QueueManager.cs:line 417 
root@myserver:/app/onlyoffice/CommunityServer/logs/mail# 

I’m also using Docker but unlike OP, my users are not authenticating through LDAP. Mine are just using the local auth.

Hello @austin3410
This is really old thread, the mentioned bug was fixed. Let’s start from scratch.
Please confirm that you faced exact issue as topicstarter:
send email to a recipient, then recipient checks the email via onlyoffice web, the email is not there. but if checking via imap, the email is there.

If so, please let us know your Workspace components versions (you can check it in the Control Panel) > reproduce the issue one more time and record a video file > collect entire logs folders (Mail server and Community server logs).

Sorry for the delay, unfortunately this issue happens randomly and I can’t knowingly trigger the issue. I agree this thread is incredibly old, if you’d rather, I can just start a new thread with this info the next time I notice the issue.

Austin

Hello @austin3410
Yes, please try to reproduce the issue and start a new thread. We will check it out.