Код ошибки 551

551 email error is normally ecountered when there is an attempted delivery to a mail server that doesn’t handle mail for the specified recipient.

You should receive a bounce-back message from the server with a variation of email error 551 in the subject, and the body should contain your original message that you attempted to deliver.

Example bounce-back message

Return-path: <>
Envelope-to: [email protected]
Delivery-date: Thu, 25 Oct 2012 11:19:59 -0700
Received: from mailnull by biz100.inmotionhosting.com with local (Exim 4.77)
id 1TRS2B-00033h-Fn
for [email protected]; Thu, 25 Oct 2012 11:19:59 -0700
X-Failed-Recipients: [email protected]
Auto-Submitted: auto-replied
From: Mail Delivery System <[email protected]>
To: [email protected]
Subject: Mail delivery failed: returning message to sender
Message-Id: <[email protected]>
Date: Thu, 25 Oct 2012 11:19:59 -0700

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

[email protected]
SMTP error from remote mail server after RCPT TO:<[email protected]>:
host RemoteDomain.com [123.123.123.123]:
551 not our customer

—— This is a copy of the message, including all the headers. ——

Return-path: <[email protected]>
Received: from bell.ca ([123.123.123]:42593 helo=Admin)
by biz100.inmotionhosting.com with esmtpa (Exim 4.77)
(envelope-from <[email protected]>)
id 1TRS1q-0002fq-S4; Thu, 25 Oct 2012 11:19:39 -0700
Date: Fri, 26 Oct 2012 00:03:21 +0600
From: Sender <[email protected]>
MIME-Version: 1.0
To: <[email protected]>
Subject: Meeting proposal

Common variations of the 551 email error

  • 551 5.1.1 recipient is not exist
  • 551 5.1.1 user does not exist
  • 551 Denied IVF
  • 551 not our customer
  • 551 [email protected] failed to route the address
  • 551 <[email protected]>… User not locali
  • 551 Relay request denied
  • 551 This is not a relay host – mail must be to or from host domain.
  • 551 Unknown user.
  • 551 User not local. Authentication required for relay
  • 551 User not local; please try <forward-path>

Resolving a 551 email error bounceback

The 551 series of errors would typically be a hard bounce. For an in-depth review on the differences between soft and hard bounces, and general email bounceback reasons you can read why does email bounce, bounceback, or error?

In our example bounce-back error above the reason the message has failed is because the server for RemoteDomains.com doesn’t control mail for the [email protected] e-mail address. 

InMotion Hosting Contributor

Content Writer

InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

More Articles by InMotion Hosting

This is currently a confirmed bug on the Facebook platform. Bug location: https://developers.facebook.com/bugs/465154327166499/ (as mentioned by @m90, Facebook developer account is required to view it).

Bug description and steps to reproduce:

  1. Have a new Facebook user (who never interacted with your app before)
  2. With that user, ask anything that normally produces automated response from the app

Expected result:
Bot should respond

Actual result:
For apps in development mode it is error code 551 as following:

{"error":{"message":"(#551) This person isn't available right now.","type":"OAuthException","code":551,"error_subcode":1545041, ...

For apps in production mode (already submitted and public) it is error 200 as following:

{"error":{"message":"(#200) This person isn't available right now.","type":"OAuthException","code":200,"error_subcode":1545041,...

Note: if the user sends more messages, bot starts to reply normally after the 2nd message from the same user.

Based on the information from the Facebook Platform bug page, the bug has appeared in the end of May 2017. On our side, we have been noticing this for the last week (since around June 5), important to note that new app submissions are also failing because of this issue.

UPDATE June 09, 2017 Bug is marked as fixed and works on our side now. If you still experience issues, Facebook asks to comment on the bug page.

Icon Ex Номер ошибки: Ошибка 551
Название ошибки: 551 Delivery not allowed to non-local recipient
Описание ошибки: 551 Delivery not allowed to non-local recipient. This is due to the server checks the sender address for the e-mail sender’s address is not provided by the server not been sent.
Разработчик: Tencent
Программное обеспечение: Foxmail
Относится к: Windows XP, Vista, 7, 8, 10, 11

Сводка «551 Delivery not allowed to non-local recipient

Эксперты обычно называют «551 Delivery not allowed to non-local recipient» «ошибкой времени выполнения». Разработчики, такие как Tencent, обычно проходят через несколько контрольных точек перед запуском программного обеспечения, такого как Foxmail. Как и во всем в жизни, иногда такие проблемы, как ошибка 551, упускаются из виду.

После первоначального выпуска пользователи Foxmail могут столкнуться с сообщением «551 Delivery not allowed to non-local recipient. This is due to the server checks the sender address for the e-mail sender’s address is not provided by the server not been sent.» во время запуска программы. Во время возникновения ошибки 551 конечный пользователь может сообщить о проблеме в Tencent. Затем Tencent будет иметь знания, чтобы исследовать, как и где устранить проблему. Таким образом при выполнении обновления программного обеспечения Foxmail, он будет содержать исправление для устранения проблем, таких как ошибка 551.

Когда происходит ошибка 551?

Вполне вероятно, что при загрузке Foxmail вы столкнетесь с «551 Delivery not allowed to non-local recipient». Мы можем определить происхождение ошибок ошибки 551 во время выполнения следующим образом:

Ошибка 551 Crash — она называется «Ошибка 551», когда программа неожиданно завершает работу во время работы (во время выполнения). Обычно это происходит, когда Foxmail не может распознать, что ему дается неправильный ввод, или не знает, что он должен производить.

Утечка памяти «551 Delivery not allowed to non-local recipient» — ошибка 551 утечка памяти приводит к тому, что Foxmail использует все больше памяти, что делает ваш компьютер запуск медленнее и замедляет вывод системы. Возможные причины из-за отказа Tencent девыделения памяти в программе или когда плохой код выполняет «бесконечный цикл».

Ошибка 551 Logic Error — Вы можете столкнуться с логической ошибкой, когда программа дает неправильные результаты, даже если пользователь указывает правильное значение. Это происходит, когда исходный код Tencent вызывает уязвимость при обработке информации.

Tencent проблемы файла 551 Delivery not allowed to non-local recipient в большинстве случаев связаны с повреждением, отсутствием или заражением файлов Foxmail. Обычно, установка новой версии файла Tencent позволяет устранить проблему, из-за которой возникает ошибка. Кроме того, некоторые ошибки 551 Delivery not allowed to non-local recipient могут возникать по причине наличия неправильных ссылок на реестр. По этой причине для очистки недействительных записей рекомендуется выполнить сканирование реестра.

Типичные ошибки 551 Delivery not allowed to non-local recipient

Частичный список ошибок 551 Delivery not allowed to non-local recipient Foxmail:

  • «Ошибка приложения 551 Delivery not allowed to non-local recipient.»
  • «Недопустимая программа Win32: 551 Delivery not allowed to non-local recipient»
  • «Извините, 551 Delivery not allowed to non-local recipient столкнулся с проблемой. «
  • «К сожалению, мы не можем найти 551 Delivery not allowed to non-local recipient. «
  • «551 Delivery not allowed to non-local recipient не найден.»
  • «Проблема при запуске приложения: 551 Delivery not allowed to non-local recipient. «
  • «551 Delivery not allowed to non-local recipient не работает. «
  • «Отказ 551 Delivery not allowed to non-local recipient.»
  • «Ошибка в пути к программному обеспечению: 551 Delivery not allowed to non-local recipient. «

Обычно ошибки 551 Delivery not allowed to non-local recipient с Foxmail возникают во время запуска или завершения работы, в то время как программы, связанные с 551 Delivery not allowed to non-local recipient, выполняются, или редко во время последовательности обновления ОС. Запись ошибок 551 Delivery not allowed to non-local recipient внутри Foxmail имеет решающее значение для обнаружения неисправностей электронной Windows и ретрансляции обратно в Tencent для параметров ремонта.

Истоки проблем 551 Delivery not allowed to non-local recipient

Проблемы 551 Delivery not allowed to non-local recipient могут быть отнесены к поврежденным или отсутствующим файлам, содержащим ошибки записям реестра, связанным с 551 Delivery not allowed to non-local recipient, или к вирусам / вредоносному ПО.

В частности, проблемы с 551 Delivery not allowed to non-local recipient, вызванные:

  • Недопустимая или поврежденная запись 551 Delivery not allowed to non-local recipient.
  • Вирус или вредоносное ПО, которые повредили файл 551 Delivery not allowed to non-local recipient или связанные с Foxmail программные файлы.
  • 551 Delivery not allowed to non-local recipient ошибочно удален или злонамеренно программным обеспечением, не связанным с приложением Foxmail.
  • Другое программное приложение, конфликтующее с 551 Delivery not allowed to non-local recipient.
  • Поврежденная установка или загрузка Foxmail (551 Delivery not allowed to non-local recipient).

Продукт Solvusoft

Загрузка
WinThruster 2023 — Проверьте свой компьютер на наличие ошибок.

Совместима с Windows 2000, XP, Vista, 7, 8, 10 и 11

Установить необязательные продукты — WinThruster (Solvusoft) | Лицензия | Политика защиты личных сведений | Условия | Удаление

Email Error 551 is an SMTP error commonly seen in MailEnable servers, and is seen in two forms:

551 Sender address is not valid for your login

and

551 This mail server requires authentication before sending mail from a locally hosted domain

MailEnable is widely used in Plesk web hosting servers, and these errors are often reported to web hosting providers. As part of our Outsourced Web Hosting Support services, we use multiple strategies to resolve Error 551.

But before we get into the details, let’s see what this error means:

What is SMTP Email Error 551?

In SMTP protocol, Error 551 is shown when a sender is not found to be authorized to relay mail through the server. This is a strategy to combat spam. It can be implemented in two forms:

1. Sender or Recipient mail address not authorized

For an SMTP server to accept a mail into the queue, either the Sender’s Mail Address or the Recipient’s Mail Address should be hosted in the SMTP server.

In MailEnable servers, this is controlled by a setting called “Authenticated senders must use valid sender address“.

[ Use your time to build your business. We’ll take care of your customers. Hire Our Hosting Support Specialists at $10.94/hr. ]

2. Sender not authenticated

A mail is accepted by the server only if the sender is authenticated using a password.

In MailEnable servers, the setting “Senders from local domains must authenticate to send email” is used to enable this feature.

RELATED : How to fix email error “554 5.7.1 : Relay access denied”

How to fix Error 551 in MailEnable servers

Mail sending through SMTP authentication is a powerful way to block spammers. So, we recommend web hosting providers to keep the setting “Senders from local domains must authenticate to send email” enabled at all times.

However, the setting “Authenticated senders must use valid sender address” is seen to cause more harm than good. So, for servers in which Error 551 is common, we recommend disabling this option.

It can be done by going to SMTP Properties >> Security tab.

[ Running a hosting business doesn’t have to be hard, or costly. Get world class Hosting Support Specialists at $10.94/hour (bulk discounts available) ]

Fixing Error 551 in mail clients like Outlook, Thunderbird, Eudora, etc.

Some web hosts value the additional security of the default MailEnable settings. In those cases, we (as the web host’s support team) help web masters configure their mail clients.

Here’s how:

1. How to fix “551 Sender address is not valid for your login”

This error is returned by the mail server while sending mail, and is displayed by in email clients such as Outlook Express.

Email error 551 - Sender address is not valid for your login

Email error 551 – Sender address is not valid for your login

This error is caused by an anti-spoofing feature in MailEnable servers, which can be set by enabling “Authenticated senders must use valid sender address” in order to prevent spoofing.

The best solution is to disable this setting in MailEnable. However, if it cannot be done, mail client settings need to be reviewed. Here’s how:

Verify the login details of the email account configured in the email client and confirm that it matches the actual email account.

For instance, if your email account is bob@bobcares.com, then it should be specified in the logon information and all the e-mail address fields in Outlook.

Email error 551 - How to solve in Outlook Express

Verify the email account settings in Outlook

2. How to fix “551 This mail server requires authentication before sending mail from a locally hosted domain”

This is another error 551 that happens when you try to send email from the email client using MailEnable email server, without properly authenticating it.

The error message shown in the email client, say Outlook, would be as:

The server rejected the sender address. The server response was: 551 This mail server requires authentication before sending mail from a locally hosted domain. Please reconfigure your mail client to authenticate before sending mail.

This error 551 occurs when “SMTP authentication” is not enabled in your email client. The solution is to configure your mail client to use SMTP authentication.

In Outlook, the option ‘My server requires authentication‘ in the ‘Outgoing Server‘ section should be checked to enable authentication.

Before sending email, authenticate the account by providing the mail account username and password.

Email Error 551 - Enable SMTP authentication in email client

Enable SMTP authentication in Outlook

Email Error 551 - SMTP authentication in Thunderbird mail client

SMTP authentication in Thunderbird mail client

There are two other workarounds for this error in the MailEnable server, which are not commonly recommended due to security reasons:

  1. This 551 error occurs because MailEnable security feature doesn’t permit spoofing. Disabling this security feature by selecting the option: “Anyone can spoof sender addresses“, will prevent this error.
  2. Another workaround is to allow relaying for trusted IP addresses. The setting “Allow relay for privileged IP ranges” in MailEnable can be used to permit relaying for certain IP addresses and to prevent such error messages.

The 551 error message ‘This mail server requires authentication before sending mail from a locally hosted domain‘ has many variants:

  1. 551 User not local or invalid address – Relay denied.
  2. 551 Relay request denied
  3. 551 This is not a relay host
  4. 551 Authentication required for relay
  5. 551 User not local; please try

We’ve been able to prevent server incidents by up to 15% by using our proactive server checks (click here to see how we improve web hosting support).

Other reasons for Email Error 551

Today we’ve seen the two major 551 errors in MailEnable and the fixes for that. But there maybe cases like mailbox records missing or email client setting errors, that cause the error.

Another common error 551 is “551 Mailhost is on our global blacklist” or “551 Sender is on domain’s block list“. This happens when the recipient mail server bounces email from the sender, which is in its blacklist.

551 email errors can happen in a variety of ways. Messages such as “551 No valid recipients“, “551 not our customer“, “551 Unknown user“, “551 user does not exist“, etc. shows that the recipient email address does not exist in the mail server.

The settings to fix may vary based on the email client used. Outlook Express, Thunderbird, Eudora, Microsoft Outlook, etc. are some of the commonly used email clients by our customers.

STOP SPENDING TIME ON SUPPORT!

Do you spend all day answering technical support queries?

Wish you had more time to focus on your business? Let us help you.

We free up your time by taking care of your customers and servers. Our engineers monitor your servers 24/7, and support your customers over help desk, live chat and phone.

HIRE SUPPORT SPECIALISTS AT $9.99/HR

Bobcares provides Outsourced Hosting Support and Outsourced Server Management for online businesses. Our services include Hosting Support Services, server support, help desk support, live chat support and phone support.

#java #apache #groovy #ftp

#java #apache #groovy #ftp

Вопрос:

Я использую apache org.apache.commons.net.ftp.FTPClient для загрузки файлов на Apache FtpServer. Когда я вызываю org.apache.commons.net.ftp.FTPClient.storeFile, он всегда завершается ошибкой «Ошибка 551 в выходном файле».

Это моя программа

 public class FileOperations {

   def ftp (params) {
         def ftp = new FTPClient()
         try {
            ftp.connect(params.host, params.port)
            println ftp.getReplyString()

            int reply = ftp.getReplyCode();

            if(!FTPReply.isPositiveCompletion(reply)) {
               ftp.disconnect();
               System.err.println("FTP server refused connection.");
               return
            }

            boolean successLogin = ftp.login(params.username, params.password)
            println ftp.getReplyString()
            if(!successLogin) {
                println "FTP login unsuccessful " params.username
                return
            }

            ftp.setFileType(FTPClient.BINARY_FILE_TYPE)
            println ftp.getReplyString()
            ftp.setFileTransferMode(FTPClient.STREAM_TRANSFER_MODE)
            println ftp.getReplyString()

            String absoluteFilename=params.file
            def isSuccessful = ftp.storeFile(params.file,new FileInputStream(absoluteFilename))

            println ftp.getReplyString()

            ftp.logout()

    } finally {
        if(ftp.isConnected())
            ftp.disconnect()
    }
}

   static main(args) {
     def operations = new FileOperations();
     def params = [:]
     params.put "host","localhost"
     params.put "port",2121
     params.put "username","test"
     params.put "password","test"
     params.put "file","C:/tmp/sample.txt"

     operations.ftp(params)
   }
}
  

Вывод

220 Сервис готов для нового пользователя.

230 пользователь вошел в систему, продолжайте.

200 ВВЕДИТЕ команду ok.

200 Командный режим в порядке.

551 /C:/tmp/sample.txt : Ошибка в выходном файле.

Я не в состоянии понять, что означает эта ошибка. Кто-нибудь, пожалуйста, может помочь мне решить эту проблему?

Ответ №1:

Существует

 params.put "file","C:/tmp/sample.txt"
  

и вы используете это как удаленное имя файла, которое должно быть абсолютным или относительным путем, относительным к корневому каталогу пользователя FTP на стороне FTP, возможно, просто «sample.txt «. (На FTP-сервере нет такого устройства, как C: ).

Для чтения локального имени файла вам придется использовать полный путь, который у вас есть сейчас:

 String localFilename = "C:/tmp/sample.txt".
def isSuccessful = ftp.storeFile(params.file,new FileInputStream(localFilename))
  

Понравилась статья? Поделить с друзьями:

Не пропустите эти материалы по теме:

  • Яндекс еда ошибка привязки карты
  • Код ошибки 550 при отправке почты
  • Код ошибки 546
  • Код ошибки 542 роблокс
  • Код ошибки 54100 мтс банк

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии