Что означает ошибка 454

Обновлено май 2023: перестаньте получать сообщения об ошибках и замедлите работу вашей системы с помощью нашего инструмента оптимизации. Получить сейчас в эту ссылку

  1. Скачайте и установите инструмент для ремонта здесь.
  2. Пусть он просканирует ваш компьютер.
  3. Затем инструмент почини свой компьютер.

Если у вас возникли проблемы с производительностью при использовании пользовательских стандартных профилей пользователей в Windows 10, эта статья поможет.

В этой статье мы определим потенциальные причины ошибок Event ID 454 в профилях пользователей, которые вызывают проблемы с производительностью, и предоставим соответствующее решение для устранения ошибки.

Событие с кодом 454 — это общее событие, которое указывает на проблему либо во время операции восстановления, либо во время восстановления базы данных хранилища информации Exchange 2000. В общем, ID 454 ошибка события означает, что Exchange 2000 обнаружил это:

  • Файлы в группе запущенных баз данных отсутствуют.
  • Файлы базы данных Running Set были заменены разными версиями.
  • Файлы в базах данных, в которых запускается игра, повреждены.

Давайте рассмотрим типичный сценарий, в котором вы можете столкнуться с этой ошибкой.

Вы создаете новый стандартный профиль пользователя и активируете его. Новые пользователи входят в систему, используя профиль, созданный из профиля по умолчанию на компьютерах под управлением Windows 10, Windows Server 2016 или Windows Server 2019.

В этом случае возникает одна или несколько из следующих проблем:

  • Значки рабочего стола появляются долго.
  • Низкая производительность при загрузке или просмотре Internet Explorer или Microsoft Edge.
  • ESENT error (встроенный инструмент для транзакций с базой данных. Впервые он был выпущен под Microsoft Windows 2000 и с тех пор стал доступен для разработчиков), как зафиксировано событием. журнал:
    • EventLogID: 454 TaskHostW: (pid) WebCacheLocal: «Восстановление / восстановление базы данных завершилось неудачно с неожиданной ошибкой -1907»

Обновление за май 2023 года:

Теперь вы можете предотвратить проблемы с ПК с помощью этого инструмента, например, защитить вас от потери файлов и вредоносных программ. Кроме того, это отличный способ оптимизировать ваш компьютер для достижения максимальной производительности. Программа с легкостью исправляет типичные ошибки, которые могут возникнуть в системах Windows — нет необходимости часами искать и устранять неполадки, если у вас под рукой есть идеальное решение:

  • Шаг 1: Скачать PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista — Microsoft Gold Certified).
  • Шаг 2: Нажмите «Начать сканирование”, Чтобы найти проблемы реестра Windows, которые могут вызывать проблемы с ПК.
  • Шаг 3: Нажмите «Починить все», Чтобы исправить все проблемы.

скачать

Исправить ошибку с кодом 454 при использовании локальной групповой политики

Чтобы решить эту проблему, используйте процедуру, описанную в этом разделе, чтобы заново создать файл локальной групповой политики.

Важно. Реализация модели безопасности на контроллере домена может изменить настройки политики контроллера домена по умолчанию или политики домена по умолчанию. Применяемый шаблон может переопределять разрешения для новых файлов, разделов реестра и системных служб, созданных другими программами. Восстановление этих политик может быть необходимо после применения шаблона безопасности. Перед выполнением этих действий на контроллере домена сделайте резервную копию общего ресурса SYSVOL.

Примечание. Следующая процедура восстанавливает исходное состояние установки вашего компьютера, если локальная политика безопасности не установлена. Возможно, вам придется запустить компьютер в безопасном режиме, чтобы переименовать или переместить файлы. Для получения дополнительной информации см. Справку Windows 2000.

  • Откройте папку% SystemRoot% Security, создайте новую папку и назовите ее OldSecurity.
  • Переместите все файлы с расширением .log из папки% SystemRoot% Security в папку OldSecurity.
  • Найдите файл Secedit.sdb в папке% SystemRoot% Security Database и переименуйте его в Secedit.old.
  • Нажмите кнопку Пуск, выберите пункт Выполнить, введите mmc и нажмите кнопку ОК.
  • Нажмите «Консоль», нажмите «Добавить / удалить оснастку», а затем добавьте оснастку «Безопасность и настройка».
  • Щелкните правой кнопкой мыши Безопасность и настройка и сканирование, а затем выберите Открыть базу данных.
  • Перейдите в папку% TEMP%, введите Secedit.sdb в поле «Имя файла» и нажмите «Открыть».
  • Когда вам будет предложено импортировать шаблон, нажмите Configure Security.inf, а затем нажмите Open.
  • Скопируйте% TEMP% Secedit.sdb% SystemRoot% Security Database.

https://support.microsoft.com/en-us/help/278316/esent-event-ids-1000-1202-412-and-454-are-logged-repeatedly-in-the-app

Совет экспертов: Этот инструмент восстановления сканирует репозитории и заменяет поврежденные или отсутствующие файлы, если ни один из этих методов не сработал. Это хорошо работает в большинстве случаев, когда проблема связана с повреждением системы. Этот инструмент также оптимизирует вашу систему, чтобы максимизировать производительность. Его можно скачать по Щелчок Здесь

ed_moyes

CCNA, веб-разработчик, ПК для устранения неполадок

Я компьютерный энтузиаст и практикующий ИТ-специалист. У меня за плечами многолетний опыт работы в области компьютерного программирования, устранения неисправностей и ремонта оборудования. Я специализируюсь на веб-разработке и дизайне баз данных. У меня также есть сертификат CCNA для проектирования сетей и устранения неполадок.

Сообщение Просмотров: 660

Topic: SMTP error — Invalid response code received from server (Code: 454)  (Read 5992 times)

Hello
I got as far as being able to log on and receive mail. However, when I try to send mail, I get the error: (Authentication failure: Invalid response code received from server (Code: 454)).
I’m pretty sure it has to do with my SMTP settings, but I’m having trouble finding any solution, so if anyone could help, I would be very grateful.
Here is th content of my Roundcube error log:
  GNU nano 2.8.6                                           File: /var/www/html/lasserh.dk/roundcubemail/logs/errors                                                     

[03-Jan-2018 21:36:50 Europe/Berlin] ERROR: Connection timed out (110)
[03-Jan-2018 21:36:50 Europe/Berlin] ERROR: Failed to connect socket: Connection timed out ()
[03-Jan-2018 21:40:35 +0100]: <9ogf28oi> IMAP Error: Login failed for lasse@lasserh.dk from 80.210.69.55. Could not connect to ssl://mail.lasserh.dk:993: Connection tim$
[03-Jan-2018 21:41:27 Europe/Berlin] ERROR: Invalid response code received from server (454)
[03-Jan-2018 21:42:21 Europe/Berlin] ERROR: Invalid response code received from server (454)
[03-Jan-2018 21:42:45 +0100]: <9ogf28oi> IMAP Error: Login failed for lasse@lasserh.dk from 80.210.69.55. AUTHENTICATE PLAIN: Authentication failed. in /var/www/html/la$
[03-Jan-2018 21:43:22 +0100]: <551r1q7c> IMAP Error: Login failed for root from 80.210.69.55. AUTHENTICATE PLAIN: Authentication failed. in /var/www/html/lasserh.dk/rou$
[03-Jan-2018 21:43:38 +0100]: <551r1q7c> IMAP Error: Login failed for root from 80.210.69.55. AUTHENTICATE PLAIN: Authentication failed. in /var/www/html/lasserh.dk/rou$
[03-Jan-2018 21:44:07 Europe/Berlin] ERROR: Invalid response code received from server (454)
[03-Jan-2018 21:44:07 +0100]: <1bs3ck2m> SMTP Error: Authentication failure: Invalid response code received from server (Code: 454) in /var/www/html/lasserh.dk/roundcub$
[03-Jan-2018 21:45:38 Europe/Berlin] ERROR: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)
[03-Jan-2018 21:45:38 Europe/Berlin] ERROR: Failed to connect socket: php_network_getaddresses: getaddrinfo failed: Name or service not known ()
[03-Jan-2018 21:49:19 Europe/Berlin] ERROR: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)
[03-Jan-2018 21:49:19 Europe/Berlin] ERROR: Failed to connect socket: php_network_getaddresses: getaddrinfo failed: Name or service not known ()
[03-Jan-2018 21:49:32 Europe/Berlin] ERROR: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)
[03-Jan-2018 21:49:32 Europe/Berlin] ERROR: Failed to connect socket: php_network_getaddresses: getaddrinfo failed: Name or service not known ()
[03-Jan-2018 21:55:22 Europe/Berlin] ERROR: Connection timed out (110)
[03-Jan-2018 21:55:22 Europe/Berlin] ERROR: Failed to connect socket: Connection timed out ()
[03-Jan-2018 21:57:29 Europe/Berlin] ERROR: Connection timed out (110)
[03-Jan-2018 21:57:29 Europe/Berlin] ERROR: Failed to connect socket: Connection timed out ()
[03-Jan-2018 21:58:12 Europe/Berlin] ERROR: Invalid response code received from server (454)
[03-Jan-2018 21:58:22 Europe/Berlin] ERROR: Connection timed out (110)
[03-Jan-2018 21:58:22 Europe/Berlin] ERROR: Failed to connect socket: Connection timed out ()
[03-Jan-2018 21:58:22 +0100]: <1bs3ck2m> SMTP Error: Connection failed: Failed to connect socket: Connection timed out in /var/www/html/lasserh.dk/roundcubemail/program$
[03-Jan-2018 21:58:26 Europe/Berlin] ERROR: Invalid response code received from server (454)
[03-Jan-2018 22:05:55 Europe/Berlin] ERROR: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)
[03-Jan-2018 22:05:55 Europe/Berlin] ERROR: Failed to connect socket: php_network_getaddresses: getaddrinfo failed: Name or service not known ()
[03-Jan-2018 22:22:19 Europe/Berlin] ERROR: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)
[03-Jan-2018 22:22:19 Europe/Berlin] ERROR: Failed to connect socket: php_network_getaddresses: getaddrinfo failed: Name or service not known ()
[03-Jan-2018 22:29:17 Europe/Berlin] ERROR: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)
[03-Jan-2018 22:29:17 Europe/Berlin] ERROR: Failed to connect socket: php_network_getaddresses: getaddrinfo failed: Name or service not known ()
[03-Jan-2018 22:30:11 Europe/Berlin] ERROR: Connection refused (111)
[03-Jan-2018 22:30:11 Europe/Berlin] ERROR: Failed to connect socket: Connection refused ()
[03-Jan-2018 22:31:02 Europe/Berlin] ERROR: Connection refused (111)
[03-Jan-2018 22:31:02 Europe/Berlin] ERROR: Failed to connect socket: Connection refused ()
[03-Jan-2018 22:31:44 Europe/Berlin] ERROR: Connection refused (111)
[03-Jan-2018 22:31:44 Europe/Berlin] ERROR: Failed to connect socket: Connection refused ()
[03-Jan-2018 22:32:14 Europe/Berlin] ERROR: Invalid response code received from server (454)
[03-Jan-2018 22:32:29 Europe/Berlin] ERROR: Invalid response code received from server (454)
[03-Jan-2018 22:33:17 Europe/Berlin] ERROR: fsockopen(): unable to connect to ssl://localhost:25 (Unknown error) (0)
[03-Jan-2018 22:33:17 Europe/Berlin] ERROR: Failed to connect socket: fsockopen(): unable to connect to ssl://localhost:25 (Unknown error) ()
[03-Jan-2018 22:41:24 Europe/Berlin] ERROR: Invalid response code received from server (454)

Thank you for any help.


Logged


You should look at your mail server log to see what that error code means.


Logged


Hi and thanks for helping out.

The mail server logs final lines  say (nothing about the error 454 in the entire /var/log/mail.log):

Jan  4 10:15:24 Blacknight postfix/smtpd[21084]: cannot load Certification Authority data, CAfile=»/etc/postfix/ssl/cakey.pem»: disabling TLS support
Jan  4 10:15:24 Blacknight postfix/smtpd[21084]: connect from localhost[127.0.0.1]
Jan  4 10:15:24 Blacknight postfix/smtpd[21084]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Jan  4 10:15:24 Blacknight postfix/smtpd[21084]: warning: localhost[127.0.0.1]: SASL LOGIN authentication failed: generic failure
Jan  4 10:15:24 Blacknight postfix/smtpd[21084]: disconnect from localhost[127.0.0.1] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4

I don’t know why the CAfile cant be loaded, the path seems correct. Is it a permissions problem maybe?
Any help is much appreciated :)

**Update**
I can send mail using telnet, which I asume proves it’s something wrong with my settings in Roundcube.

« Last Edit: January 04, 2018, 08:16:29 AM by lruneh »


Logged


So the problem is with your mail server being unable to saslauthd, you should investigate further into why that is happening.


Logged



Logged


Roundcube is a free and open source webmail tool. That’s why it’s adopted by many admins as part of email management practice. But as with other tools, you’re likely to come across a few errors from time to time. And one of them is the SMTP (454) Error. You’ll get this error when trying to send emails using Roundcube. If you’re stuck with this error, you might be looking for ways to fix it. In this article, learn how to solve the SMTP authentication failed error in Roundcube.

Why this Error Occurs?

Before fixing the error, it’s worth learning about the cause.

When you see this error, you’ll receive a message that reads, “SMTP Error: Authentication failure: Invalid response code received from server (Code: 454)”

If you get the following error, then you can access it at /var/log/maillog:

Code:

“Jun 20 21:10:02 postfix/smtpd[28890]: warning: SASL authentication failure: no secret in database
Jun 20 21:10:03 postfix/smtpd[28890]: warning: localhost[::1]: SASL DIGEST-MD5 authentication failed: authentication failure”

The two main reasons behind this error are:

  • Postfix configuration is broken
  • Pc-remote service is stopped

How to Fix the Error?

How to fix the error will depend on the reason behind the error. So you need to follow the appropriate solution.

  • Fixing the Broken Postfix config

When the postfix configuration is broken, you’d have to reinstall Postfix. You can do this by first moving to Qmail briefly and then jump back to Postfix. This can be done in a couple of ways.

Use Plesk Installer

Here are the steps to follow:

  • Go to Plesk and then take Tools & Settings
  • Then navigate into Updates.

plesk1.png

  • Take Add/Remove Components and then navigate into Mail hosting.

plesk2.png

  • Take SMTP servers and then select Qmail server
  • Select “Continue” to initiate the installation process
  • After the process is done, click on OK
  • Navigate into Add/Remove Components and take Mail hosting
  • Then navigate into SMTP servers to select Postfix mail
  • Click on Continue to begin the installation process
  • Once done, click on OK

Using CLI

You can use the Command Line Interface as well. Here are the steps involved:

  • Connect to your server using SSH terminal
  • Run the below commands:

Code:

# plesk installer --select-release-current --install-component qmail
# plesk installer --select-release-current --install-component postfix

Pc-remote Service is Stopped

If this is the reason, then you have to start the service.

Another thing to note is that there will be a difference in the error message you get. If you open the /var/log/maillog file, you’ll notice the following message:

Code:

warning: connect to Milter service inet:127.0.0.1:12768: Connection refused NOQUEUE: milter-reject: CONNECT from example.com[203.0.113.2]: 451 4.7.1 Service unavailable – try again later; proto=SMTP

To fix this, you’d have to follow these steps:

  • Log in to your Plesk account
  • Open Tools & Settings and then Scheduled Tasks

plesk3.png

  • Take Add Task

plesk4.png

  • Select Task Type as Run a Command
  • When you see the Command* section, paste this line —

Code:

/usr/sbin/service pc-remote start

  • For the section “System User” select “root” from the drop down menu
  • Tap on the “Run Now” button to start the service

So that’s how you fix the SMTP (454) error.

Pages 1

You must login or register to post a reply

1 2019-09-06 06:31:44

  • romfeo
  • Member
  • Offline
  • Registered: 2018-04-05
  • Posts: 17

Topic: SMTP Error (454): Authentication failed.

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
— iRedMail version (check /etc/iredmail-release):  0.9.9 MARIADB edition.
— Deployed with iRedMail Easy or the downloadable installer? Downloadable Installer
— Linux/BSD distribution name and version:  Ubuntu 18.04.3 LTS bionic
— Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
— Web server (Apache or Nginx): NGINX
— Manage mail accounts with iRedAdmin-Pro? NO
— [IMPORTANT] Related original log or error message is required if you’re experiencing an issue.
====

Its a fresh installation. Not my first either.

I am testing email in roundcube.

I can receive fine.

When I try to send I get the following error in Roundcube:

SMTP Error (454): Authentication failed.

I then receive an email in my inbox with this content:

Transcript of session follows.

Out: 220 webserver.bio-olives.com ESMTP Postfix
In:  EHLO bio-olives.com
Out: 250-webserver.bio-olives.com
Out: 250-PIPELINING
Out: 250-SIZE 15728640
Out: 250-ETRN
Out: 250-STARTTLS
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250-DSN
Out: 250 SMTPUTF8
In:  STARTTLS
Out: 454 4.7.0 TLS not available due to local problem
In:  RSET
Out: 530 5.7.0 Must issue a STARTTLS command first
In:  QUIT
Out: 221 2.0.0 Bye

For other details, see the local mail logfile

Finally my relevant maillog is:

Sep  6 00:28:58 webserver postfix/submission/smtpd[29362]: warning: cannot get RSA private key from file «/etc/letsencrypt/live/bio-olives.com.com/privkey.pem»: disabling TLS support
Sep  6 00:28:58 webserver postfix/submission/smtpd[29362]: warning: TLS library problem: error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:290:fopen(‘/etc/l     etsencrypt/live/bio-olives.com.com/privkey.pem’,’r’):
Sep  6 00:28:58 webserver postfix/submission/smtpd[29362]: warning: TLS library problem: error:20074002:BIO routines:file_ctrl:system lib:../crypto/bio/bss_file.c:292:
Sep  6 00:28:58 webserver postfix/submission/smtpd[29362]: warning: TLS library problem: error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib:../ssl/ssl_rsa.c:540:
Sep  6 00:28:58 webserver postfix/submission/smtpd[29362]: connect from localhost[127.0.0.1]
Sep  6 00:28:58 webserver roundcube: ERROR: Invalid response code received from server (454)
Sep  6 00:28:58 webserver roundcube: ERROR: Invalid response code received from server (530)
Sep  6 00:28:58 webserver postfix/cleanup[29364]: 46Pb2L127Kz20Tk: message-id=<46Pb2L127Kz20Tk@webserver.bio-olives.com>
Sep  6 00:28:58 webserver postfix/qmgr[29183]: 46Pb2L127Kz20Tk: from=<double-bounce@webserver.bio-olives.com>, size=938, nrcpt=1 (queue active)
Sep  6 00:28:58 webserver postfix/submission/smtpd[29362]: disconnect from localhost[127.0.0.1] ehlo=1 starttls=0/1 rset=0/1 quit=1 commands=2/4
Sep  6 00:28:58 webserver roundcube: <t6ctp3k2> SMTP Error: Authentication failure: Invalid response code received from server (Code: 454) in /opt/www/roundcubemail-1.3.8/program/lib/Roundcube/     rcube.php on line 1667 (POST /mail/?_task=mail&_unlock=loading1567722537184&_lang=en_US&_framed=1&_action=send)
Sep  6 00:28:58 webserver postfix/cleanup[29364]: 46Pb2L1W6Hz20Tm: message-id=<46Pb2L127Kz20Tk@webserver.bio-olives.com>
Sep  6 00:28:58 webserver postfix/qmgr[29183]: 46Pb2L1W6Hz20Tm: from=<double-bounce@webserver.bio-olives.com>, size=1099, nrcpt=1 (queue active)
Sep  6 00:28:58 webserver postfix/local[29368]: 46Pb2L127Kz20Tk: to=<postmaster@webserver.bio-olives.com>, orig_to=<postmaster>, relay=local, delay=0.08, delays=0.03/0.03/0/0.02, dsn=2.0.0, sta     tus=sent (forwarded as 46Pb2L1W6Hz20Tm)
Sep  6 00:28:58 webserver postfix/qmgr[29183]: 46Pb2L127Kz20Tk: removed
Sep  6 00:28:58 webserver postfix/pipe[29370]: 46Pb2L1W6Hz20Tm: to=<postmaster@bio-olives.com>, orig_to=<postmaster>, relay=dovecot, delay=0.05, delays=0/0.02/0/0.03, dsn=2.0.0, status=sent (de     livered via dovecot service (doveconf: Warning: SSLv2 not supported by OpenSSL. Please consider removing it from ssl_protocols.))
Sep  6 00:28:58 webserver postfix/qmgr[29183]: 46Pb2L1W6Hz20Tm: removed

—-

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Stable release is out.

2 Reply by ZhangHuangbin 2019-09-06 10:46:42

  • ZhangHuangbin
  • ZhangHuangbin
  • iRedMail Developers
  • Offline
  • Registered: 2009-05-06
  • Posts: 30,036

Re: SMTP Error (454): Authentication failed.

romfeo wrote:

Sep  6 00:28:58 webserver postfix/submission/smtpd[29362]: warning: cannot get RSA private key from file «/etc/letsencrypt/live/bio-olives.com.com/privkey.pem»: disabling TLS support

See this? Postfix can not read the private key file.

Make sure Postfix daemon user can access /etc/letsencrypt/live/ and /etc/letsencrypt/archive/:

chmod +r /etc/letsencrypt/{live,archive}
service postfix restart

Pages 1

You must login or register to post a reply

I setup a mail server on VPS and I installed roundcube to manage webmail. when i send e-mail in intern it work’s but when i try to send an e-mail to another mail server (gmail) i get this error :

SMTP Error (454): Failed to add recipient «user@gmail.com» (4.7.1 : Relay access denied).

but when i send the same e-mail with thunderbird it works so here what i found at logs:

with roundcube:

Dec  4 18:44:09 vpsxxxxxx postfix/smtpd[3013]: connect from xxx.xxx.xxx.xxx
Dec  4 18:44:09 vpsxxxxxx postfix/smtpd[3013]: warning: connect to Milter service inet:127.0.0.1:8891: Connection refused
Dec  4 18:44:09 vpsxxxxxx postfix/smtpd[3013]: NOQUEUE: reject: RCPT from xxx.xxx.xxx.xxx: 454 4.7.1 <user@gmail.com>: Relay access denied; from=<user@domain.com> to=<user@gmail.com> proto=ESMTP helo=<mail.domain.com>
Dec  4 18:44:09 vpsxxxxxx postfix/smtpd[3013]: disconnect from xxx.xxx.xxx.xxx ehlo=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=4/5

with thunderbird :

Dec  4 18:44:55 vpsxxxxxx postfix/smtpd[3016]: connect from unknown[xxx.xxx.xxx.xxx]
Dec  4 18:44:55 vpsxxxxxx postfix/smtpd[3016]: warning: connect to Milter service inet:127.0.0.1:8891: Connection refused
Dec  4 18:44:58 vpsxxxxxx postfix/smtpd[3016]: 64DCD5EEC4: client=unknown[xxx.xxx.xxx.xxx], sasl_method=PLAIN, sasl_username=user@domain.com
Dec  4 18:44:58 vpsxxxxxx postfix/cleanup[3019]: 64DCD5EEC4: message-id=<9bf8a7ca-9d6a-847c-5350-0f5c4350951f@domain.com>
Dec  4 18:44:58 vpsxxxxxx postfix/qmgr[2865]: 64DCD5EEC4: from=<user@domain.com>, size=1810, nrcpt=1 (queue active)
Dec  4 18:44:58 vpsxxxxxx postfix/smtpd[3016]: disconnect from unknown[xxx.xxx.xxx.xxx] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8
Dec  4 18:44:59 vpsxxxxxx postfix/smtp[3020]: connect to gmail-smtp-in.l.google.com[2a00:1450:400c:c07::1b]:25: Cannot assign requested address
Dec  4 18:45:00 vpsxxxxxx postfix/smtp[3020]: 64DCD5EEC4: to=<user@gmail.com>, relay=gmail-smtp-in.l.google.com[66.102.1.27]:25, delay=1.7, delays=0.25/0.01/0.52/0.91, dsn=2.0.0, status=sent (250 2.0.0 OK 1543945500 f16si12703624wrt.428 - gsmtp)
Dec  4 18:45:00 vpsxxxxxx postfix/qmgr[2865]: 64DCD5EEC4: removed
Dec  4 18:45:01 vpsxxxxxx dovecot: imap-login: Login: user=<user@domain.com>, method=PLAIN, rip=xxx.xxx.xxx.xxx, lip=yyy.yyy.yyy.yyy, mpid=3025, TLS, session=<HDgM0zV8EcXE5dog>
Dec  4 18:45:01 vpsxxxxxx dovecot: imap-login: Login: user=<user@domain.com>, method=PLAIN, rip=xxx.xxx.xxx.xxx, lip=yyy.yyy.yyy.yyy, mpid=3026, TLS, session=<dIQM0zV8EsXE5dog>
Dec  4 18:45:01 vpsxxxxxx dovecot: imap(user@domain.com): Logged out in=1669 out=552

config.inc.php

<?php
$config['db_dsnw'] = 'mysql://databaseuser:password@localhost/database';
$config['default_host'] = 'localhost';
$config['smtp_server'] = 'mail.domain.com';
$config['support_url'] = '';
$config['ip_check'] = true;
$config['des_key'] = 'DES_KEY';
$config['username_domain'] = 'domain.com';
$config['product_name'] = 'domain Webmail';
$config['plugins'] = array(
  'acl', 'additional_message_headers', 'archive', 'attachment_reminder', 'autologon', 
  'debug_logger', 'emoticons', 'enigma', 'example_addressbook', 'help', 'hide_blockquote', 
  'http_authentication', 'identicon', 'identity_select', 'jqueryui', 'krb_authentication', 
  'managesieve', 'markasjunk', 'new_user_dialog', 'new_user_identity', 'newmail_notifier', 
  'password', 'redundant_attachments', 'show_additional_headers', 'squirrelmail_usercopy', 
  'subscriptions_option', 'userinfo', 'vcard_attachments', 'virtuser_file', 'virtuser_query', 'zipdownload'
);
$config['language'] = 'en_EN';
$config['enable_spellcheck'] = false;
?>

domain.com is my Domain name

Roundcube SMTP Error (454) Authentication Failed happens while trying to send emails via Roundcube. It generally occurs as a result of PostFix configuration issues.

Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to handle requests relating to Roundcube errors.

In this context, we shall look into how to resolve this SMTP Error.

Nature of Roundcube ‘SMTP error (454) authentication failed’

Roundcube ‘SMTP error (454) authentication failed’ error may look like the one given below:

SMTP Error: Authentication failure: Invalid response code received from server (Code: 454)

The following warnings will appear in the /var/log/maillog if we get this error :

Mar 20 22:13:01 postfix/smtpd[28890]: warning: SASL authentication failure: no secret in database
Mar 20 22:13:01 postfix/smtpd[28890]: warning: localhost[::1]: SASL DIGEST-MD5 authentication failed: authentication failure

The main causes for this error are:

  • Broken Postfix configuration.
  • The pc-remote service is stopped.

How to fix Roundcube ‘SMTP error (454) authentication failed’ ?

1. Fixing Broken Postfix configuration.

Here we will reinstall Postfix by switching to Qmail and back to Postfix.

This can the done in the following ways.

i. Using Plesk Installer:

The steps to follow are given below:

  • Firstly, go to Plesk and take Tools & Settings.
  • Then go to Updates and Upgrades.
  • And take Add/Remove Components then go to Mail hosting.
  • After that take SMTP servers and select the Qmail server.
  • Next, we have to click Continue to start the installation.
  • Once the installation is complete click Ok.
  • Now go to Add/Remove Components and take Mail hosting.
  • From Mail hosting go to SMTP servers.
  • Select Postfix mail server and click Continue to start the installation.
  • Once the installation is complete click Ok.

ii. Using Command Line Interface (CLI):

We can use the following steps for fixing this via CLI:

a. First, we have to connect to the server via SSH;

b. Then execute the following commands:

# plesk installer --select-release-current --install-component qmail
# plesk installer --select-release-current --install-component postfix

2. Starting pc-remote service

This error can also occur if the pc-remote service is stopped. However, the error in the /var/log/maillog appears a little different as shown below:

warning: connect to Milter service inet:127.0.0.1:12768: Connection refused NOQUEUE: milter-reject: CONNECT from example.com[203.0.113.2]: 451 4.7.1 Service unavailable – try again later; proto=SMTP

To fix this SMTP Connection error:

i. First, we have to log in to Plesk.

ii. Then go to Tools & Settings and Scheduled Tasks.

iii. From there take Add Task.

iv. After that select Task Type as Run a command

v. In the Command * field paste the line below:

/usr/sbin/service pc-remote start

vi. . Now we have to select root from the drop-down menu System user.

vii. Finally click the Run Now button to start the pc-remote service.

[Need assistance in fixing SMTP errors? We can help you. ]

Я настраиваю почтовый сервер на VPS, и я установил roundcube для управления веб-почтой. когда я отправляю электронную почту в intern, но работает, но когда я пытаюсь отправить электронное письмо на другой почтовый сервер (gmail), я получаю эту ошибку:

Ошибка SMTP (454): Не удалось добавить получателя «user@gmail.com» (4.7.1: отказ в доступе к ретрансляции).

но когда я отправляю одно и то же электронное письмо с thunderbird, он работает так вот, что я нашел в журналах:

с круглым кубом:

Dec  4 18:44:09 vpsxxxxxx postfix/smtpd[3013]: connect from xxx.xxx.xxx.xxx
Dec 4 18:44:09 vpsxxxxxx postfix/smtpd[3013]: warning: connect to Milter service inet:127.0.0.1:8891: Connection refused
Dec 4 18:44:09 vpsxxxxxx postfix/smtpd[3013]: NOQUEUE: reject: RCPT from xxx.xxx.xxx.xxx: 454 4.7.1 <user@gmail.com>: Relay access denied; from=<user@domain.com> to=<user@gmail.com> proto=ESMTP helo=<mail.domain.com>
Dec 4 18:44:09 vpsxxxxxx postfix/smtpd[3013]: disconnect from xxx.xxx.xxx.xxx ehlo=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=4/5

с thunderbird:

Dec  4 18:44:55 vpsxxxxxx postfix/smtpd[3016]: connect from unknown[xxx.xxx.xxx.xxx]
Dec 4 18:44:55 vpsxxxxxx postfix/smtpd[3016]: warning: connect to Milter service inet:127.0.0.1:8891: Connection refused
Dec 4 18:44:58 vpsxxxxxx postfix/smtpd[3016]: 64DCD5EEC4: client=unknown[xxx.xxx.xxx.xxx], sasl_method=PLAIN, sasl_username=user@domain.com
Dec 4 18:44:58 vpsxxxxxx postfix/cleanup[3019]: 64DCD5EEC4: message-id=<9bf8a7ca-9d6a-847c-5350-0f5c4350951f@domain.com>
Dec 4 18:44:58 vpsxxxxxx postfix/qmgr[2865]: 64DCD5EEC4: from=<user@domain.com>, size=1810, nrcpt=1 (queue active)
Dec 4 18:44:58 vpsxxxxxx postfix/smtpd[3016]: disconnect from unknown[xxx.xxx.xxx.xxx] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8
Dec 4 18:44:59 vpsxxxxxx postfix/smtp[3020]: connect to gmail-smtp-in.l.google.com[2a00:1450:400c:c07::1b]:25: Cannot assign requested address
Dec 4 18:45:00 vpsxxxxxx postfix/smtp[3020]: 64DCD5EEC4: to=<user@gmail.com>, relay=gmail-smtp-in.l.google.com[66.102.1.27]:25, delay=1.7, delays=0.25/0.01/0.52/0.91, dsn=2.0.0, status=sent (250 2.0.0 OK 1543945500 f16si12703624wrt.428 - gsmtp)
Dec 4 18:45:00 vpsxxxxxx postfix/qmgr[2865]: 64DCD5EEC4: removed
Dec 4 18:45:01 vpsxxxxxx dovecot: imap-login: Login: user=<user@domain.com>, method=PLAIN, rip=xxx.xxx.xxx.xxx, lip=yyy.yyy.yyy.yyy, mpid=3025, TLS, session=<HDgM0zV8EcXE5dog>
Dec 4 18:45:01 vpsxxxxxx dovecot: imap-login: Login: user=<user@domain.com>, method=PLAIN, rip=xxx.xxx.xxx.xxx, lip=yyy.yyy.yyy.yyy, mpid=3026, TLS, session=<dIQM0zV8EsXE5dog>
Dec 4 18:45:01 vpsxxxxxx dovecot: imap(user@domain.com): Logged out in=1669 out=552

config.inc.php

<?php
$config['db_dsnw'] = 'mysql://databaseuser:password@localhost/database';
$config['default_host'] = 'localhost';
$config['smtp_server'] = 'mail.domain.com';
$config['support_url'] = '';
$config['ip_check'] = true;
$config['des_key'] = 'DES_KEY';
$config['username_domain'] = 'domain.com';
$config['product_name'] = 'domain Webmail';
$config['plugins'] = array(
'acl', 'additional_message_headers', 'archive', 'attachment_reminder', 'autologon',
'debug_logger', 'emoticons', 'enigma', 'example_addressbook', 'help', 'hide_blockquote',
'http_authentication', 'identicon', 'identity_select', 'jqueryui', 'krb_authentication',
'managesieve', 'markasjunk', 'new_user_dialog', 'new_user_identity', 'newmail_notifier',
'password', 'redundant_attachments', 'show_additional_headers', 'squirrelmail_usercopy',
'subscriptions_option', 'userinfo', 'vcard_attachments', 'virtuser_file', 'virtuser_query', 'zipdownload'
);
$config['language'] = 'en_EN';
$config['enable_spellcheck'] = false;
?>

domain.com — это мое доменное имя

Ниже перечислены сообщения об ошибках и коды ошибок, которые вы можете встретить при работе с Gmail и Google Workspace. Эти сообщения и коды помогают найти и устранить проблему с электронной почтой.

Чтобы обозначить источник ошибки, Gmail добавляет в конец сообщения один или оба из следующих фрагментов:

  • gsmtp (Google SMTP): добавляется во все сообщения об ошибках;
  • gcdp (Google Custom Domain Policies): добавляется в сообщения об ошибках, связанных с правилами, которые созданы администратором.

Например, сообщение 550 5.7.1 This message violates example.com email policy. – gcdp <sessionid> – gsmtp (Это сообщение нарушает политику example.com в отношении электронной почты. – gcdp <sessionid> – gsmtp) указывает, что ошибка связана с персонализированным правилом, созданным администратором.

Подробнее о сообщениях об ошибках SMTP…

Примечание. Ошибка 2014 связана с расширением браузера Chrome. По очереди отключите расширения Chrome, чтобы определить, какое из них вызывает ошибку. Сообщение об ошибке 2014: В системе произошла ошибка (2014). Повторите попытку.

Сообщения об ошибках протокола SMTP

421, «4.3.0». Временные неполадки в системе. Повторите попытку позже
421, «4.4.5», Server busy, try again later. (Сервер занят. Повторите попытку позже.)
421, «4.7.0», IP not in whitelist for RCPT domain, closing connection. (Соединение прервано, так как IP-адрес отсутствует в белом списке домена RCPT.)
421, «4.7.0», Our system has detected an unusual rate of unsolicited mail originating from your IP address. To protect our users from spam, mail sent from your IP address has been temporarily blocked. For more information, visit Prevent mail to Gmail users from being blocked or sent to spam. (С вашего IP-адреса с необычной частотой поступают незапрашиваемые сообщения. Почта, отправляемая с вашего IP-адреса, временно заблокирована для защиты пользователей от спама. Дополнительная информация приведена в статье Как предотвратить блокировку почты, предназначенной пользователям Gmail, или ее отправку в папку «Спам».)
421, «4.7.0», Temporary System Problem. Try again later. (Временные неполадки в системе. Повторите попытку позже.)
421, «4.7.0», TLS required for RCPT domain, closing connection. (Соединение прервано, так как для домена RCPT требуется протокол TLS.)
421, «4.7.0», Try again later, closing connection. This usually indicates a Denial of Service (DoS) for the SMTP relay at the HELO stage. (Соединение прервано. Повторите попытку позже. Эта ошибка обычно указывает на атаку типа «отказ в обслуживании» (DoS) для ретрансляции SMTP на этапе HELO.)
450, «4.2.1», The user you are trying to contact is receiving mail too quickly. Please resend your message at a later time. If the user is able to receive mail at that time, your message will be delivered. For more information, visit Limits for sending & getting mail. (Пользователь, которому вы пытаетесь отправить письмо, получает почту слишком часто. Отправьте сообщение позже. Если к тому времени пользователь сможет получать почту, ваше письмо будет доставлено. Дополнительная информация приведена в статье Ограничения на отправку и получение писем.)
450, «4.2.1», The user you are trying to contact is receiving mail at a rate that prevents additional messages from being delivered. Please resend your message at a later time. If the user is able to receive mail at that time, your message will be delivered. For more information, visit Limits for sending & getting mail. (Пользователь, которому вы пытаетесь отправить письмо, получает почту со скоростью, которая не позволяет доставлять ему дополнительные сообщения. Отправьте сообщение позже. Если к тому времени пользователь сможет получать почту, ваше письмо будет доставлено. Дополнительная информация приведена в статье Ограничения на отправку и получение писем.)
450, «4.2.1», Peak SMTP relay limit exceeded for customer. This is a temporary error. For more information on SMTP relay limits, please contact your administrator or visit SMTP relay service error messages. (Превышено пиковое ограничение на ретрансляцию для клиента. Это временная ошибка. Чтобы получить подробную информацию об ограничениях, ознакомьтесь с этой статьей или свяжитесь с администратором.)
451, «4.3.0», Mail server temporarily rejected message. (Почтовый сервер временно отклонил сообщение.)
451, «4.3.0», Multiple destination domains per transaction is unsupported. Please try again. (Использование нескольких целевых доменов для одной операции не поддерживается. Повторите попытку.)
451, «4.4.2», Timeout — closing connection. (Время ожидания истекло – соединение прервано.)
451, «4.5.0», SMTP protocol violation, visit RFC 2821. (Нарушение протокола SMTP, см. RFC 2821.)
452, «4.2.2», The email account that you tried to reach is over quota. Please direct the recipient to Clear Google Drive space & increase storage. (В аккаунте получателя закончилось свободное место. Предложите получателю ознакомиться с этой статьей.)

452, «4.5.3», Domain policy size per transaction exceeded, please try this recipient in a separate transaction.
This message means the email policy size (size of policies, number of policies, or both) for the recipient domain has been exceeded. (Превышен максимальный размер правил домена для транзакции. Выполните отдельную транзакцию для этого получателя. Это сообщение указывает на превышение максимального размера и (или) количества правил электронной почты для домена получателя.)

452, «4.5.3», Your message has too many recipients. For more information regarding Google’s sending limits, visit Limits for sending & getting mail. (У вашего сообщения слишком много получателей. Дополнительная информация приведена в статье Ограничения на отправку и получение писем.)
454, «4.5.0», SMTP protocol violation, no commands allowed to pipeline after STARTTLS, visit RFC 3207. (Нарушение протокола SMTP, после STARTTLS для потока запрещены другие команды, см. RFC 3207.)
454, «4.7.0», Cannot authenticate due to temporary system problem. Try again later. (Не удалось выполнить аутентификацию из-за временных неполадок в системе. Повторите попытку позже.)
454, «5.5.1», STARTTLS may not be repeated. (Запрещено повторять команду STARTTLS.)
501, «5.5.2», Cannot Decode response. (Не удалось расшифровать ответ.)
501, «5.5.4», HELO/EHLO argument is invalid. For more information, visit HELO/EHLO email error. (Недопустимый аргумент HELO/EHLO. Дополнительная информация приведена в статье Ошибка HELO/EHLO.)
502, «5.5.1», Too many unrecognized commands, goodbye. (Слишком много нераспознанных команд.)
502, «5.5.1», Unimplemented command. (Незадействованная команда.)
502, «5.5.1», Unrecognized command. (Нераспознанная команда.)
503, «5.5.1», EHLO/HELO first. (Сначала команда EHLO/HELO.)
503, «5.5.1», MAIL first. (Сначала команда MAIL.)
503, «5.5.1», RCPT first. (Сначала команда RCPT.)
503, «5.7.0», No identity changes permitted. (Запрещены изменения идентификационных данных.)
504, «5.7.4», Unrecognized Authentication Type. (Нераспознанный тип аутентификации.)
530, «5.5.1», Authentication Required. For more information, visit Can’t sign in to your Google Account. (Необходима аутентификация. Дополнительная информация приведена в статье Не удается войти в аккаунт Google.)
530, «5.7.0», Must issue a STARTTLS command first. (Сначала необходима команда STARTTLS.)
535, «5.5.4», Optional Argument not permitted for that AUTH mode. (Для этого режима AUTH запрещен необязательный аргумент.)
535, «5.7.1», Application-specific password required. For more information, visit Sign in using App Passwords. (Требуется пароль приложения. Дополнительная информация приведена в статье Как войти в аккаунт с помощью паролей приложений.)
535, «5.7.1», Please log in with your web browser and then try again. For more information, visit Check Gmail through other email platforms. (Войдите через браузер и повторите попытку. Дополнительная информация приведена в статье Как настроить доступ к Gmail в сторонних почтовых клиентах.)
535, «5.7.1», Username and Password not accepted. For more information, visit Can’t sign in to your Google Account. (Имя пользователя и пароль не приняты. Дополнительная информация приведена в статье Не удается войти в аккаунт Google.)
550, «5.1.1», The email account that you tried to reach does not exist. Please try double-checking the recipient’s email address for typos or unnecessary spaces. For more information, visit Fix bounced or rejected emails. (Аккаунт электронной почты получателя не существует. Проверьте ещё раз, правильно ли указан адрес электронной почты и нет ли в нем пробелов. Дополнительная информация приведена в статье Что делать, если письмо отклонено.)
550, «5.2.1», The email account that you tried to reach is disabled. (Аккаунт электронной почты получателя отключен.)
550, «5.2.1», The user you are trying to contact is receiving mail at a rate that prevents additional messages from being delivered. For more information, visit Limits for sending & getting mail. (Пользователь, которому вы пытаетесь отправить письмо, получает почту со скоростью, которая не позволяет доставлять ему дополнительные сообщения. Дополнительная информация приведена в статье Ограничения на отправку и получение писем.)
550, «5.4.5», Daily sending quota exceeded. For more information, visit Email sending limits. (Исчерпан дневной лимит на отправку сообщений. Дополнительная информация приведена в статье Ограничения в Google Workspace на отправку электронных писем из Gmail.)
550, «5.4.5», Daily SMTP relay limit exceeded for user. For more information on SMTP relay sending limits please contact your administrator or visit SMTP relay service error messages. (Превышено суточное ограничение на ретрансляцию для клиента. Чтобы получить подробную информацию об ограничениях, ознакомьтесь с этой статьей или свяжитесь с администратором.)
550, «5.7.0», Mail relay denied. (Почтовый ретранслятор запрещен.)
550, «5.7.0», Mail Sending denied. This error occurs if the sender account is disabled or not registered within your Google Workspace domain. (Отправка почты запрещена. Эта ошибка возникает, если аккаунт отправителя заблокирован или не зарегистрирован в домене Google Workspace.)
550, «5.7.1», Email quota exceeded. (Превышена квота электронной почты.)
550, «5.7.1», Invalid credentials for relay. (Неверные учетные данные ретранслятора.)
550, «5.7.1», Our system has detected an unusual rate of unsolicited mail originating from your IP address. To protect our users from spam, mail sent from your IP address has been blocked. Review Prevent mail to Gmail users from being blocked or sent to spam. (C вашего IP-адреса с необычной частотой поступают незапрашиваемые сообщения. Почта, отправляемая с вашего IP-адреса, заблокирована для защиты пользователей от спама. Подробную информацию читайте в статье Как предотвратить блокировку почты, предназначенной пользователям Gmail, или ее отправку в папку «Спам».)
550, «5.7.1», Our system has detected that this message is likely unsolicited mail. To reduce the amount of spam sent to Gmail, this message has been blocked. For more information, visit Why has Gmail blocked my messages? (Это сообщение было классифицировано системой как вероятный спам и заблокировано в целях уменьшения количества спама, отправляемого в Gmail. Дополнительная информация приведена в статье Почему мои письма в Gmail заблокированы.)
550, «5.7.1», The IP you’re using to send mail is not authorized to send email directly to our servers. Please use the SMTP relay at your service provider instead. For more information, visit ‘The IP you’re using to send email is not authorized…’. (IP-адрес, который используется для отправки почты, не имеет разрешения на отправку сообщений непосредственно на наши серверы. Используйте для отправки ретранслятор SMTP своего поставщика услуг. Дополнительная информация приведена в этой статье.)
550, «5.7.1», The user or domain that you are sending to (or from) has a policy that prohibited the mail that you sent. Please contact your domain administrator for further details. For more information, visit Sorry, a policy is in place that prevents your message from being sent. (Для пользователя или домена, от которого или которому отправляются сообщения, установлено правило, запрещающее отправленную вами почту. Для получения дополнительной информации ознакомьтесь с этой статьей и обратитесь к своему администратору домена.)
550, «5.7.1», Unauthenticated email is not accepted from this domain. (Почта без аутентификации от этого домена не принимается.)
550, «5.7.1», Daily SMTP relay limit exceeded for customer. For more information on SMTP relay sending limits please contact your administrator or visit SMTP relay service error messages. (Превышено суточное ограничение на ретрансляцию для клиента. Чтобы получить подробную информацию об ограничениях, ознакомьтесь со статьей Сообщения об ошибках службы ретрансляции SMTP или свяжитесь с администратором.)
550, «5.7.26», Unauthenticated email from domain-name is not accepted due to domain’s DMARC policy. Please contact the administrator of domain-name domain. If this was a legitimate mail please visit Control unauthenticated mail from your domain to learn about the DMARC initiative. If the messages are valid and aren’t spam, contact the administrator of the receiving mail server to determine why your outgoing messages don’t pass authentication checks. (Электронное письмо от [доменное имя] не прошло аутентификацию и запрещено правилами DMARC домена. Обратитесь к администратору домена. Если письмо запрещено по ошибке, ознакомьтесь со сведениями об инициативе DMARC в статье «Проблемы с проверкой подлинности сообщений из вашего домена» и обратитесь к администратору почтового сервера получателя, чтобы определить, почему ваши исходящие письма не проходят аутентификацию.)

550, «5.7.26», «This message does not have authentication information or fails to pass authentication checks (SPF or DKIM). To best protect our users from spam, the message has been blocked. Please visit Prevent mail to Gmail users from being blocked or sent to spam for more information.» (Для этого письма нет информации о прохождении аутентификации (SPF или DKIM), или оно ее не прошло. Оно заблокировано, чтобы защитить наших пользователей. Более подробная информация приведена в статье «Как предотвратить блокировку почты, предназначенной пользователям Gmail, или ее отправку в папку «Спам».)

550, «5.7.26», «This message fails to pass SPF checks for an SPF record with a hard fail policy (-all). To best protect our users from spam and phishing, the message has been blocked. Please visit Prevent mail to Gmail users from being blocked or sent to spam for more information.» (Это письмо не прошло проверки SPF для записи со строгими правилами (-all). Оно заблокировано, чтобы защитить наших пользователей от спама и фишинга. Более подробная информация приведена в статье «Как предотвратить блокировку почты, предназначенной пользователям Gmail, или ее отправку в папку «Спам».)
552, «5.2.2», The email account that you tried to reach is over quota. (Для аккаунта электронной почты получателя превышена квота.)
552, «5.2.3», Your message exceeded Google’s message size limits. For more information, visit Send attachments with your Gmail message. (Превышен максимально допустимый размер сообщения. Дополнительная информация приведена в статье Прикрепление файлов к письмам в Gmail.)
553, «5.1.2», We weren’t able to find the recipient domain. Please check for any spelling errors, and make sure you didn’t enter any spaces, periods, or other punctuation after the recipient’s email address. (Не удалось найти домен получателя. Проверьте правильность адреса электронной почты получателя и убедитесь, что после него нет пробелов, точек и других знаков пунктуации.)
554, «5.6.0», Mail message is malformed. Not accepted. (Сообщение электронной почты не принято, так как имеет недопустимый формат.)
554, «5.6.0», Message exceeded 50 hops, this may indicate a mail loop. (Сообщение пересылалось более 50 раз, что может указывать на наличие почтового цикла.)
554, «5.7.0», Too Many Unauthenticated commands. (Слишком много команд без аутентификации.)
555, «5.5.2», Syntax error. (Синтаксическая ошибка.)

Эта информация оказалась полезной?

Как можно улучшить эту статью?

I have set up SMTP server with gmail account. It was working fine till few days back. When I checked the logs I found below entry in it:

SMTP Error: 454 4.7.0 Too many login attempts, please try again later.

I have restarted SMTP service twice. I have checked the configuration that was set up using this link. Everything is same as we have set up. I have restarted the SMTP server & the machine too.

I have checked for 2 step verification settings. It is not enabled. I have checked for «less secure» apps settings and it is set to Enabled as suggested here.

I have checked apps enabled as suggested here using below link.

https://security.google.com/settings/security/permissions?pli=1

But no apps are added. Can anyone suggest anything that I need to look for? Thanks in advance.

Community's user avatar

asked Nov 11, 2016 at 14:32

love thakker's user avatar

It is because you are attempting to create a new smtp connection for each email. You need to use SMTP pool.

Please see:

DELIVERING BULK MAIL

POOLED SMTP

Pooled smtp is mostly useful when you have a large number of messages that you want to send in batches or your provider allows you to only use a small amount of parallel connections.

If you are using Node-mailer:

const transporter = nodemailer.createTransport({
    host: 'smtp.gmail.com',
    port: 465,
    secure: true,
    pool: true, // This is the field you need to add
    auth: {
       user: 'test@test.com',
       pass: 'your_password' 
}});

Then, you need to close the pool once you send all the emails.

transporter.close();

answered Jan 22, 2019 at 0:36

Johnson's user avatar

JohnsonJohnson

3092 silver badges10 bronze badges

1

I had the same issue. When I checked the Mail queue there were many unprocessed mails in the queue.
So I deleted the bulk mails and restarted the instance. Once the Mail Queue is cleared then it started to send mails as usual.

Hope this will be useful for anybody to have the above issue.

answered Nov 15, 2019 at 15:43

kds's user avatar

kdskds

28.1k9 gold badges38 silver badges55 bronze badges

The Issue resolved with the TCP port changing to 587 from 25 in Outbound Connections settings in SMTP Server.

answered Jan 6, 2017 at 8:55

love thakker's user avatar

love thakkerlove thakker

4602 gold badges13 silver badges29 bronze badges

0

please follow the instructions below:

  • Open Gmail from a browser and only sign into the account you’re
    trying to add. Be sure to be signed out of all your other accounts

    Go to this link: https://accounts.google.com/b/0/displayunlockcaptcha and click
    Continue or confirm.

    Now Test your program it will work fine

answered Jan 31, 2017 at 17:31

Hassan Saeed's user avatar

Hassan SaeedHassan Saeed

6,2261 gold badge37 silver badges37 bronze badges

1

The Issue resolved change the password mail server password

answered Oct 20, 2019 at 15:25

Diego Cumbicus's user avatar

It may be because the mail’s size is greater than the allowed size (25MB).

answered Nov 13, 2021 at 14:44

hugholousk's user avatar

hugholouskhugholousk

1492 silver badges9 bronze badges

It worked for me only when I moved the pool key-value to the top of the object.

    const transporter = nodemailer.createTransport({
      pool: true,
      host: "smtp.gmail.com",
      port: 465,
      secure: true, 
      maxConnections: 11,
      maxMessages: Infinity,
      auth: {
        user: process.env.EMAIL_USER,
        pass: process.env.EMAIL_PASS
      }
    });

answered May 22 at 14:20

Wilhelm Mauch's user avatar

Wondering how to fix Roundcube SMTP error (454) authentication failed? We can help you!

This error is often seen while trying to send emails via Roundcube. Here at Bobcares, we often handle requests from our customers to fix similar Roundcube errors.

Today we will see how our support engineers fix this for our customers as a part of our Server Management Services.

What causes Roundcube ‘SMTP error (454) authentication failed’

Before going into the steps for fixing this error, we will see what causes this error and how it looks like.

A typical error may look like the one given below:

SMTP Error: Authentication failure: Invalid response code received from server (Code: 454)

The following warnings will appear in the /var/log/maillog if we get this error :

Mar 20 22:13:01 postfix/smtpd[28890]: warning: SASL authentication failure: no secret in database
Mar 20 22:13:01 postfix/smtpd[28890]: warning: localhost[::1]: SASL DIGEST-MD5 authentication failed: authentication failure

Following are the two main causes for this error:

  •  Broken Postfix configuration.
  •  The pc-remote service is stopped.

Methods to fix Roundcube ‘SMTP error (454) authentication failed’

Now we will see how our Support engineers fi this error for our customers.

1. Fixing Broken Postfix configuration.

Here we will reinstall Postfix by switching to Qmail and back to Postfix.

This can the done in the following ways.

Using Plesk Installer:

The steps to follow are given below:

  1. Firstly, go to Plesk and take Tools & Settings.
  2. Then go to Updates and Upgrades.
  3. And take Add/Remove Components then go to Mail hosting.
  4. After that take SMTP servers and select the Qmail server.
  5. Next, we have to click Continue to start the installation.
  6. Once the installation is complete click Ok.
  7. Now go to Add/Remove Components and take Mail hosting.
  8. From Mail hosting go to SMTP servers.
  9. Select Postfix mail server and click Continue to start the installation.
  10. Once the installation is complete click Ok.
Using Command Line Interface (CLI):

We can use the following steps for fixing this via CLI:

  1. First, we have to connect to the server via SSH;
  2. Then execute the following commands:
# plesk installer --select-release-current --install-component qmail
# plesk installer --select-release-current --install-component postfix

2. Starting pc-remote service

This error can also occur if the pc-remote service is stopped. However, the error in the /var/log/maillog appears a little different as shown below:

warning: connect to Milter service inet:127.0.0.1:12768: Connection refused NOQUEUE: milter-reject: CONNECT from example.com[203.0.113.2]: 451 4.7.1 Service unavailable – try again later; proto=SMTP

Following are the steps to fix this:

  1. First, we have to log in to Plesk.
  2. Then go to Tools & Settings and Scheduled Tasks.
  3. From there take Add Task.
  4. After that select Task Type as Run a command
  5. In the Command * field paste the line below:
/usr/sbin/service pc-remote start

6. Now we have to select root from the drop-down menu System user

7. Finally click the Run Now button to start the pc-remote service.

[Need assistance? We can help you]

Conclusion

In short, we saw how our Support Engineers fix Roundcube ‘SMTP error (454) authentication failed’ issue for our customers.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = «owonCMyG5nEQ0aD71QM»;

Понравилась статья? Поделить с друзьями:
  • Что означает ошибка 453 на кассе меркурий
  • Что означает ошибка 453 кассовый аппарат меркурий
  • Что означает ошибка 451
  • Что означает ошибка 4441 на терминале
  • Что означает ошибка 4406