The original message was received перевод

Содержание:

Workaround

Even if you don’t want to send a response, always return a promise
in your callback:

// background.js
browser.runtime.onMessage.addListener(message => {
  console.log("background: onMessage", message);

  // Add this line:
  return Promise.resolve("Dummy response to keep the console quiet");
});

You can also make the callback to implicitly return a Promise (resolving to in the below example).

// background.js
// Notice the `async` keyword.
browser.runtime.onMessage.addListener(async message => {
  console.log("background: onMessage", message);
});

Files

Copied over for convenience from:https://github.com/lydell/webextension-polyfill-messaging-issue

{
  "manifest_version": 2,
  "version": "0.0.0",
  "name": "Test",
  "background": {
    "scripts": 
  },
  "content_scripts": ,
      "js": 
    }
  ]
}
// background.js

browser.runtime.onMessage.addListener(onMessage);

function onMessage(message) {
  console.log("background: onMessage", message);

  // 1: Causes the following to be logged in content:
  // "The message port closed before a response was received."
  return undefined;

  // 2: Causes this response to be logged in content, as expected.
  // return Promise.resolve("response from background");

  // 3: Causes this error to be logged in content, as expected.
  // return Promise.reject(new Error("Could not respond"));

  // 4: Causes nothing at all to be logged in content!
  // I guess it is waiting for the deprecated `sendResponse` parameter to be
  // called.
  // return true;
}
// content.js

// 1: Unless background returns a Promise in its onMessage, this promise is
// rejected with:
// "The message port closed before a response was received."
browser.runtime
  .sendMessage("hello from content")
  .then(console.log, console.error);



// 2: This does not seem to cause any errors:
// chrome.runtime.sendMessage("hello from content");
// console.log("content: after chrome.runtime.sendMessage", chrome.runtime.lastError);



// 3: Inside the callback, `chrome.runtime.lastError` will be:
// "The message port closed before a response was received."
// It seems like if `sendMessage` defines a callback but the other end doesn't
// respond, Chrome is treating that as an error. Which makes sense.
// The question is how this should be handled in a Promise based API.
// chrome.runtime.sendMessage("hello from content", response => {
//   console.log("content: callback", response, chrome.runtime.lastError);
// });
// console.log(
//   "content: after chrome.runtime.sendMessage with callback",
//   chrome.runtime.lastError
// );

Почему мне пришло неожиданное сообщение?Why did I receive an unexpected message?

Ниже приведены возможные причины.Here are some possible reasons:

  • сообщение было отправлено из карантина;The message was released from quarantine.
  • сообщение ожидало разрешения модератора и было отправлено;The message was awaiting moderator approval and was released.
  • сообщение являлось нежелательным, что не было обнаружено;The message was spam that was not detected.
  • сообщение соответствовало правилу, согласно которому вы были добавлены к сообщению;The message matched a rule that added you to the message.
  • сообщение было отправлено в список рассылки, в котором указаны ваши данные.The message was sent to a distribution list of which you are a member.

Чтобы узнать, что произошло:To find out what happened:

.. Использование максимально возможного количества условий поиска для сужения результатов.Use as many search criteria as possible to narrow down the results. Например, укажите получателя, который получил сообщение, присвойте ему значение » доставлено», а затем задайте период времени, зависящий от того, когда было получено сообщение.For example, specify the recipient who received the message, set the delivery status to Delivered, and set the time period based on when the message was received.

Просмотрите результаты, найдите сообщение, а затем просмотрите конкретные сведения об этом сообщении (см. раздел или ).View the results, locate the message, and then view specific details about the message (see or ).

Что бы это значило?

Точный перевод этой английской фразы звучит как «Статус у сообщения: «доставлено», и этим раскрывается почти вся тайна его назначения. Получается, данное неожиданное уведомление пугать не должно, так как оно является всего-навсего отчетом о том, что абонент, которому вы отправили не так давно сообщение, получил его. Система оператора самостоятельно оправляет такое смс, если становится активной соответствующая опция.

Обратите внимание:

Ошибка 28 при отправке смс Теле2 на номер 900.

То есть, это сигнал об итоге операции – получении переданного смс или ММС сообщения. У прочих операторов данная опция может послать информацию «Сообщение доставлено», но суть одна и та же.

Structure of the message tracking log files

By default, the message tracking log files exist in . The folder contains log files that have different names, but they all follow the naming convention . The different log file names are described in the following table.

File name Servers Description
Mailbox servers and Edge Transport servers Log files for the Transport service.
Mailbox servers Log files for the approvals and rejections in moderated transport. For more information, see Manage message approval.
Mailbox servers Log files for messages delivered to mailboxes by the Mailbox Transport Delivery service.
Mailbox servers Log files for messages sent from mailboxes by the Mailbox Transport Submission service.

The other placeholders in the log file names represent the following information:

  • yyyymmdd is the coordinated universal time (UTC) date when the log file was created. yyyy = year, mm = month, and dd = day.

  • nnnn is an instance number that starts at the value 1 every day for each log.

Information is written to the log file until the file reaches its maximum size. Then, a new log file that has an incremented instance number is opened (the first log file is -1, the next is -2, and so on). Circular logging deletes the oldest log files for a service when either of the following conditions are true:

  • A log file reaches its maximum age.

  • The message tracking log folder reaches its maximum size.

    Notes:

    • The maximum size of the message tracking log folder is calculated as the total size of all log files that have the same name prefix. Other files that do not follow the name prefix convention are not counted in the total folder size calculation. Renaming old log files or copying other files into the message tracking log folder could cause the folder to exceed its specified maximum size.

    • On Mailbox servers, the maximum size of the message tracking log folder is three times the specified value. Although the message tracking log files are generated by the four different services and have four different name prefixes, the amount and frequency of data written to the moderated transport log () is negligible compared to the other three logs.

The message tracking log files are text files that contain data in the comma-separated value (CSV) format. Each message tracking log file has a header that contains the following information:

  • #Software: The value is .

  • #Version: Version number of the Exchange server that created the message tracking log file. The value uses the format .

  • #Log-Type: The value is .

  • #Date: The UTC date-time when the log file was created. The UTC date-time is represented in the ISO 8601 date-time format: yyyy-mm-ddThh:mm:ss.fffZ, where yyyy = year, mm = month, dd = day, T indicates the beginning of the time component, hh = hour, mm = minute, ss = second, fff = fractions of a second, and Z signifies Zulu, which is another way to denote UTC.

  • #Fields: Comma-delimited field names that are used in the message tracking log files.

Как это отключить?

Есть несколько способов отключения навязанной услуги:

  • Один звонок оператору связи решит обозначенную проблему в режиме онлайн, это самый быстрый вариант решения задачи.
  • Обращение в сервисный центр займет больше времени, но придется это сделать, если дозвониться или найти общий язык с консультантом по телефону не получается.
  • Если вы владелец сим-карты Мегафона, можно набрать 89272909090 и отправить сообщение «Mute» (выключить / заблокировать). О положительном исходе дела вас оповестит смс-отчет.

Если вы жалеете, что расстались с данной опцией и хотите ее вернуть или впервые подключить, то действовать нужно по тому же плану. Единственное различие – когда набираем 89272909090, то печатаем и отправляем «ack» (подключить или активировать).

Таким образом, перевод «status message to delivered at» или «status delivered message to» говорит о том, что сообщение доставлено. Самый простой способ – просто забыть про эту опцию, она не доставляет особых хлопот.

Search the message tracking log

Message tracking logs contain vast amounts of data as messages move through a Mailbox server or Edge Transport server. When it comes to searching the message tracking logs, you have options:

  • Get-MessageTrackingLog: Administrators can use this Exchange Management Shell cmdlet to search the message tracking log for information about messages using a wide range of filter criteria. For more information, see Search message tracking logs.

  • Delivery reports for administrators: Administrators can use the Delivery reports tab in the Exchange admin center or the underlying Search-MessageTrackingReport and Get-MessageTrackingReport cmdlets in the Exchange Management Shell to search the message tracking logs for information about messages sent by or received by a specific mailbox in the organization. For more information, see Delivery reports for administrators.

Почему приходят такие сообщения?

Чаще других отчеты о доставке приходят абонентам компании Мегафон, потому что эта услуга включена практически во все тарифные планы вышеупомянутого мобильного оператора.

Это не дает повода для переживаний пользователям других сетей, которые не предлагают дополнительно такую услугу по причине ее устаревания и низкого к ней интереса. Загружать систему автоотправки действием такого рода становится нецелесообразно.

Многим людям не совсем ясен смысл такого послания по причине его неожиданности – на самом деле сталкиваться с подобными отчетами приходится редко, а может и вообще не было ничего подобного.

Я ничего не подключал, почему мне пришло? Причин несколько:

  • Если абоненту отправили SMS-сообщение, но он в тот момент не находился в сети или был недоступен. В результате текстовая информация была доставлена лишь тогда, когда устройство включили или, появился доступ к сети, о чем система и оповестила отправителя.
  • Вы поменяли недавно тариф и неожиданно для себя получили бонус в виде непривычной информационной опции.
  • Если телефон автора сообщения был на момент его отправления в местах с неустойчивым приемом сигнала сотовой связи – такие подвохи знакомы всем путешествующим в загородных поездках.

Впрочем, нет ничего плохого в том, что вас удостоверяют: всю переданную ценную информацию адресат получил, независимо от нелепых ситуаций со связью и технических неполадок. Но поскольку многие хотят освободить себя от просмотра подобного легального смс-спама, всегда есть выбор, и удалить самостоятельно ненужные отчеты на своем мобильном устройстве несложно.

Обратите внимание:

2037 проверка сим-карты: что это?

Сколько времени требуется для просмотра результатов при выполнении трассировки сообщения?How long does it take to see results when running a message trace?

  • В классическом центре администрирования Exchange (классический центр администрирования Exchange) результаты поиска немедленно отображаются для сообщений старше 7 дней.In the classic Exchange admin center (classic EAC), the search results appear immediately for messages that are less than 7 days old.

  • В центре безопасности & соответствия требованиям и современном центре администрирования Exchange (современного центра администрирования Exchange) результаты поиска немедленно отображаются для сообщений, которые старше 10 дней.In the Security & Compliance center and the modern Exchange admin center (modern EAC), the search results appear immediately for messages that are less than 10 days old.

При выполнении трассировки сообщений для старых сообщений результаты возвращаются в течение нескольких часов в виде файла CSV, который можно скачать.When you run a message trace for older messages, the results are returned within a few hours as a downloadable CSV file.

Обнаружена ли в сообщении вредоносная программа?Was a message detected to contain malware?

Сообщения определяются как вредоносные программы, если их свойства, либо в тексте письма, либо во вложении, совпадают с сигнатурой в одном из модулей защиты от вредоносных программ.Messages are detected as malware when its properties, either in the message body or in an attachment, match a malware definition in of one of the anti-malware engines. Более подробные сведения о фильтрации вредоносных программ можно найти в разделе Защита от вредоносных программ.For more detailed information about malware filtering, see Anti-Malware protection.

Чтобы узнать, почему сообщение было обнаружено вредоносным программным обеспечением, .To find out why a message was detected to contain malware, . Использование максимально возможного количества условий поиска для сужения результатов.Use as many search criteria as possible to narrow down the results. Установите для параметра состояние доставки значение Failed.Set the delivery status to Failed.

Просмотрите результаты, найдите сообщение, а затем просмотрите конкретные сведения об этом сообщении (см. раздел или ).View the results, locate the message, and then view specific details about the message (see or ).

Если сообщение не было доставлено, так как оно было определено как содержащее вредоносные программы, эта информация будет представлена в разделе Events.If the message was not delivered because it was determined to contain malware, this information will be provided in the events section. Например, ниже приведен пример сведений овредоносной программе: «зипбомб» в файлевложения. ZIP.For example, the following is a sample Detail: Malware: «ZipBomb» was detected in attachment file.zip. Вы также узнаете о действии, которое произошло в результате сообщения с вредоносной программой, например, если сообщение было заблокировано или все вложения были удалены и заменены текстовым файлом оповещения.You will also be informed of the action that occurred as a result of the message containing malware, for example if the entire message was blocked or if all attachments were deleted and replaced with an alert text file.

Change global settings

If you made changes to specific people already, these changes won’t apply. .

  1. Open the Messages app .
  2. Tap More Settings.
    • Change your default messaging app: Tap Default SMS app.
    • Stop getting message notifications outside Messages: Tap Notifications Turn off Notifications.
    • Change what happens on your phone when you get a message: Tap Notifications Importance.
    • Stop playing sounds when you send messages: Turn off Hear outgoing message sounds.

Get notifications on your phone while using Messages for web

  1. Go to your settings app.
  2. Tap Apps & notifications Messages App notifications.
  3. Turn on Get notifications while using web. You can also tap to change how important you want the notifications.

Было ли сообщение помечено как нежелательное?Was a message marked as spam?

Сообщения могут быть помечены как нежелательные по нескольким причинам. Например, IP-адрес отправителя может оказаться в списках заблокированных IP-адресов службы. Сообщение может быть помечено как нежелательное по причине содержания фактического сообщения, например если его параметры соответствуют правилу в фильтре содержимого нежелательной почты. Средство трассировки сообщений позволяет отслеживать только события фильтра содержимого нежелательной почты. Трассировка событий фильтра подключений, например блокирования IP-адресов, не производится. Дополнительные сведения о фильтрации нежелательной почты, в том числе и ее содержимого, см. в разделе Защита от нежелательной электронной почты в Office 365.Messages can be marked as spam for several reasons. For example, the sending IP address may appear on one of the service’s IP Block lists. A message can be marked as spam due to the content of the actual message, such as when it matches a rule in the spam content filter. The message trace tool only tracks spam content filter events; connection filter events (such as blocked IP addresses) are not traceable. For more information about spam filtering, including spam content filtering, see Anti-Spam Protection.

Чтобы узнать, почему сообщение было помечено как спам, выполните указанные ниже действия.To find out why a message was marked as spam:

, Поиск сообщения в результатах и просмотр определенных сведений о сообщении (см. раздел или )., locate the message in the results, and then view specific details about the message (see or ).

Какое правило для обработки почтового ящика (также известное как правило транспорта) или политика защиты от потери данных были применены к сообщению?Which mail flow rule (also known as a transport rule) or DLP policy was applied to a message?

Чтобы узнать, какое правило потока обработки почты (настраиваемое правило политики) или политика защиты от потери данных (DLP) было применено к сообщению, .To find out which mail flow rule (custom policy rule) or data loss prevention (DLP) policy (Exchange Online customers only) was applied to a message, . Использование максимально возможного количества условий поиска для сужения результатов.Use as many search criteria as possible to narrow down the results. Установите для параметра состояние доставки значение Failed.Set the delivery status to Failed.

Просмотрите результаты, найдите сообщение, а затем просмотрите конкретные сведения об этом сообщении (см. раздел или ).View the results, locate the message, and then view specific details about the message (see or ).

Source values in the message tracking log

The values in the source field in the message tracking log indicate the transport component that’s responsible for the message tracking event. The following table describes the values of the source field.

Source value Description
ADMIN The event source was human intervention. For example, an administrator used Queue Viewer to delete a message, or submitted message files using the Replay directory.
AGENT The event source was a transport agent.
APPROVAL The event source was the approval framework that’s used with moderated recipients. For more information, see Manage message approval.
BOOTLOADER The event source was unprocessed messages that exist on the server at boot time. This is related to the LOAD event type.
DNS The event source was DNS.
DSN The event source was a delivery status notification (also known as a DSN, bounce message, non-delivery report, or NDR).
GATEWAY The event source was a Foreign connector. For more information, see Foreign Connectors.
MAILBOXRULE The event source was an Inbox rule. For more information, see Inbox rules.
MEETINGMESSAGEPROCESSOR The event source was the meeting message processor, which updates calendars based on meeting updates.
ORAR The event source was an Originator Requested Alternate Recipient (ORAR). You can enable or disable support for ORAR on Receive connectors using the OrarEnabled parameter on the New-ReceiveConnector or Set-ReceiveConnector cmdlets.
PICKUP The event source was the Pickup directory. For more information, see Pickup Directory and Replay Directory.
POISONMESSAGE The event source was the poison message identifier. For more information about poison messages and the poison message queue, see Queues and messages in queues
PUBLICFOLDER The event source was a mail-enabled public folder.
QUEUE The event source was a queue.
REDUNDANCY The event source was Shadow Redundancy. For more information, see Shadow redundancy in Exchange Server.
ROUTING The event source was the routing resolution component of the categorizer in the Transport service.
SAFETYNET The event source was Safety Net. For more information, see Safety Net in Exchange Server.
SMTP The message was submitted by the SMTP send or SMTP receive component of the transport service.
STOREDRIVER The event source was a MAPI submission from a mailbox on the local server.

Я пытался отправить/принять письмо, но в ответ получил какую-то ошибку. Что она означает ?

1.
The original message was received at Sat, 7 Feb 2004 18:06:55 +0300 (MSK)
from pupkin.kaluga.ru
—— The following addresses had permanent fatal errors ——
@servernet.org>
(reason: 550 Host unknown)
—— Transcript of session follows ——
550 5.1.2 < Vladimir_nekto@servernet.org >… Host unknown (Name
server: p66.f11.n5023.z2.fidonet.org.: host not found)
Данное сообщение об ошибке указывает на то, что была попытка отослать письмо на адрес, доменное имя которого не существует (Host unknown). Вполне возможно, что Вы некорректно написали адрес (например, вместо nekto@kaluga.ru написали nekto@kalluga.ru или nekto@kauga.ru).

2.
The original message was received at Mon, 24 Mar 2003 19:42:51 +0300 (MSK)
from pupkin.kaluga.ru
—— The following addresses had permanent fatal errors ——
nechto@waterbyte.net
(reason: 550 Unknown local part nechto in @waterbyte.net>)
(expanded from: @kaluga.ru>)
550 5.1.1 nechto@waterbyte.net… User unknown

В данном случае ответ сервера указывает на несуществующий адрес, то есть на данном сервере (waterbyte.net) не зарегистрирован адрес nechto@waterbyte.net

4.
—— The following addresses had permanent fatal errors ——
@nyagan.wsnet.ru>
(reason: 552 @kaluga.ru>… Message size
exceeds fixed maximum message size (1000000))
—— Transcript of session follows ——
.. while talking to nyagan.wsnet.ru.:
>>>> MAIL From:< vasya_pupkin @kaluga.ru> SIZE=1099389
<fixed maximum message size (1000000)
554 5.0.0 Service unavailable
Ну здесь тоже все должно быть понятно. Размер письма слишком велик (в данное время предоставляется ящик объемом 10Мб), соответственно сервер отказался обрабатывать его.

5.
—— The following addresses had permanent fatal errors ——
@mama.msk.su>
—— Transcript of session follows ——
There is some antivirus check failed
Found the W32/Netsky.p@MM!zip virus !!!
554 5.0.0 Service unavailable
Это сообщение говорит о том, что сообщение содержало вирус и было отклонено сервером от приема. В таких случаях необходимо проверить свой компьютер на наличие вирусов или троянских программ, обновив перед этим антивирусные базы.
Еще похожий пример:
> —— The following addresses had permanent fatal errors —— >
@k-buv.ru>> >
(reason: 550 5.2.1 Mailbox unavailable. Your IP address 62.148.128.2 is blacklisted using PSBL. Details: Your mailserver spammed, see http://psbl.surriel.com/listing?ip=62.148.128.2 .)

Сообщение о том, что ваш адрес занесен в «черный список» как спамерский. Скорее всего это результат работы трояна или вируса, рассылающего спам в моменты сеансов связи с Интернет. Лечение как и в предыдущем случае.

6.
The original message was received at Sun, 8 Feb 2004 22:23:27 +0300 (MSK)
From pool.provider.ru
—— The following addresses had permanent fatal errors ——
<79141@server.com>
—— Transcript of session follows ——
<79141@server.com>… Deferred: Operation timed out with
server.com
Message could not be delivered for 5 days
Message will be deleted from queue
В данном случае после отправки сообщения на адрес 79141@server.com оно по каким-то причинам не было принято сервером и удалено из очереди по истечении 5 дней.

Успешной работы !!!

Почему мое сообщение так долго идет получателю? Как найти его в конвейере?Why is my message taking so long to arrive to its destination? Where is it in the pipeline?

К возможным причинам, помимо прочих, относятся следующие:Possible reasons include the following:

  • указанный получатель не отвечает. Это наиболее вероятный сценарий;The intended destination is not responsive. This is the most likely scenario.
  • это может быть большое сообщения, для обработки которого требуется длительное время;It may be a large message that is taking a long time to process
  • запаздывание в работе службы может приводить к задержкам;Latency in the service may be causing delays
  • Сообщение может быть заблокированоThe message may have been blocked

Чтобы узнать, что произошло:To find out what happened:

.. Использование максимально возможного количества условий поиска для сужения результатов.Use as many search criteria as possible to narrow down the results. Например, вам должен быть известен отправитель и предполагаемый получатель или получатели сообщения, а также общий период времени, когда сообщение было отправлено.For example, you should know the sender and the intended recipient or recipients of the message, and the general time period when the message was sent.

Просмотрите результаты, найдите сообщение, а затем просмотрите конкретные сведения об этом сообщении (см. раздел или ).View the results, locate the message, and then view specific details about the message (see or ).

Раздел Events сообщит вам, почему сообщение еще не доставлено.The events section will tell you why the message was not yet delivered. При просмотре событий сведения о временной метке позволяют выполнить обработку сообщения через канал обмена сообщениями и узнать, как долго служба обрабатывает каждое событие.When viewing the events, the timestamp information will let you follow the message through the messaging pipeline, and tell you how long the service takes to process each event. Кроме того, в сведениях о событии сообщается о том, является ли доставленное сообщение очень большим, или если назначение не отвечает.The event details will also inform you if the message being delivered is extremely large or if the destination is not responsive.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Adblock
detector