SMTP Server Denies Authentication

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): replace me
Operating system and version (eg, Ubuntu 20.04): replace me
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): replace me

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N):

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

PASTE HERE


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

PASTE HERE

NextCloud Server receives authentication error since today. It worked until today. I guess it's a problem on the mail-service-provider but I would like to be sure. Here is the error-protocol:

Fehler	mail	OCA\Mail\Exception\ServiceException: Sync failed for 5:INBOX: Mail server denied authentication.	
2023-02-28T10:29:18+0100
Fehler	mail	OCA\Mail\Exception\ServiceException: Sync failed for 3:INBOX: Mail server denied authentication.

    /var/www/html/nextcloud/apps/mail/lib/Service/Sync/SyncService.php - line 126:

    OCA\Mail\Service\Sync\ImapToDbSynchronizer->sync()

    /var/www/html/nextcloud/apps/mail/lib/Controller/MailboxesController.php - line 153:

    OCA\Mail\Service\Sync\SyncService->syncMailbox()

    /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 225:

    OCA\Mail\Controller\MailboxesController->sync()

    /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 133:

    OC\AppFramework\Http\Dispatcher->executeController()

    /var/www/html/nextcloud/lib/private/AppFramework/App.php - line 172:

    OC\AppFramework\Http\Dispatcher->dispatch()

    /var/www/html/nextcloud/lib/private/Route/Router.php - line 298:

    OC\AppFramework\App::main()

    /var/www/html/nextcloud/lib/base.php - line 1047:

    OC\Route\Router->match()

    /var/www/html/nextcloud/index.php - line 36:

    OC::handleRequest()

Verursacht durch Horde_Imap_Client_Exception: Mail server denied authentication.

    /var/www/html/nextcloud/apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Base.php - line 850:

    Horde_Imap_Client_Socket->_login("*** sensiti ... *")

    /var/www/html/nextcloud/apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Base.php - line 1610:

    Horde_Imap_Client_Base->login("*** sensiti ... *")

    /var/www/html/nextcloud/apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Base.php - line 4049:

    Horde_Imap_Client_Base->status()

    /var/www/html/nextcloud/apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Base.php - line 3644:

    Horde_Imap_Client_Base->_syncStatus()

    /var/www/html/nextcloud/apps/mail/lib/IMAP/Sync/Synchronizer.php - line 116:

    Horde_Imap_Client_Base->sync()

    /var/www/html/nextcloud/apps/mail/lib/IMAP/Sync/Synchronizer.php - line 72:

    OCA\Mail\IMAP\Sync\Synchronizer->getNewMessageUids()

    /var/www/html/nextcloud/apps/mail/lib/Service/Sync/ImapToDbSynchronizer.php - line 375:

    OCA\Mail\IMAP\Sync\Synchronizer->sync()

    /var/www/html/nextcloud/apps/mail/lib/Service/Sync/ImapToDbSynchronizer.php - line 235:

    OCA\Mail\Service\Sync\ImapToDbSynchronizer->runPartialSync()

    /var/www/html/nextcloud/apps/mail/lib/Service/Sync/SyncService.php - line 126:

    OCA\Mail\Service\Sync\ImapToDbSynchronizer->sync()

    /var/www/html/nextcloud/apps/mail/lib/Controller/MailboxesController.php - line 153:

    OCA\Mail\Service\Sync\SyncService->syncMailbox()

    /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 225:

    OCA\Mail\Controller\MailboxesController->sync()

    /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 133:

    OC\AppFramework\Http\Dispatcher->executeController()

    /var/www/html/nextcloud/lib/private/AppFramework/App.php - line 172:

    OC\AppFramework\Http\Dispatcher->dispatch()

    /var/www/html/nextcloud/lib/private/Route/Router.php - line 298:

    OC\AppFramework\App::main()

    /var/www/html/nextcloud/lib/base.php - line 1047:

    OC\Route\Router->match()

    /var/www/html/nextcloud/index.php - line 36:

    OC::handleRequest()

hey @w_ds and welcome to the community of NC.

Sadly your thread is a stub. Ok, you posted some Log.messages but other than that we don’t know nothing about your setup or your provider…

so guessing that today was a start of a new month you really could be right and it would be a problem of your internet-provider. Why not directly ask them, especially if you’re sure that you haven’t changed anything on your server and environment.

already created a ticket there - no answer so far. let’s see, usually they reply within 24h hours and I’m not really depending on the smtp-capabilities anyway.

1 Like

was a problem at the email provider as already anticipated.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.