Piaware outage message rejected by postmaster

My feeder 205212 sent a feeder outage message as configured, but the postmaster of the email service web.de rejected it because ill-formatted headers. Missing outage messages may leed to loosing a streak, which is what might have happened to my feeder 36563 2117 days streak. Here is the error message of the postmaster:

554 Nemesis ESMTP Service not available Transaction failed Reject due to policy restrictions.

Reason
Please note that, if your email header is not RFC 5322 compliant, your message will be rejected by our system.

In your case, the information in the date header is syntactically incorrect or the time information deviates too much from the actual time.

Solution

Ensure that your server and client have the correct time configuration (date, time, time zone) to prevent any significant difference from the actual time appearing in the date header

Please also check the date header field for correct syntax, according to the RFCs.

As soon as the corrections have been made by you, you can deliver emails to our system again.

Do you have a copy of the message that was rejected?

This may be useful too

The policy is unfortunately not useful without a copy of the message (to check if there’s anything obviously wrong) or a specific reason for rejection. AFAIK nothing has changed on our side and we regularly send out a high volume of email with no significant problems.

I’d point out that requiring a close-to-current-time Date header is a losing strategy unless the bounds are very large; SMTP is a store-and-forward protocol, so in cases where the mail isn’t immediately deliverable, the Date header could be hours – or even days, in extreme cases – old.

I included it so that you can see if there is anything straight away which falls foul of it, based on how FlightAware constructs its outage notification emails.

It seems to me to be an overly strict policy, over and above RFC obligations, which would result in a lot of rejected email for their customers and making their email service not very practical.

Sorry, I do not have a copy of the message as it was not delivered to me, but rejected by postmaster. It should be a standard, automated feeder outage message delivered when the ADSB receiver does not send data for the past 6 our 12 hours.

Below is the indication of non-delivery on the flightaware messages page. Perhaps someone can retrieve the sent email from the FA email system.

I doubt there’s much we can do here without more specific details. I note that your ISP definitely did receive the contents of the email before choosing to reject it, because the Subject: line is contained within the main DATA phase, not part of the envelope. Can you go back to them and find out what specific problem there was (i.e. if it was rejected based on the Date header, what was the contents of the Date header?)

I will try to get a copy of a rejected email but this may take some days.

I got the message header of a message which would have been rejected:

Received: from PAVPR10MB7467.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:2f6::9)
by DU0PR10MB7120.EURPRD10.PROD.OUTLOOK.COM with HTTPS; Thu, 28 Sep 2023
10:00:44 +0000

Received: from localhost (localhost [127.0.0.1])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
(No client certificate requested)
by ppump.hou.flightaware.com (Postfix) with ESMTPS id 364B526080D
for forrest.g@hotmail.de; Thu, 28 Sep 2023 10:00:42 +0000 (UTC)

Content-ID: 26.1695895242.8274793@ppump.hou.flightaware.com
Message-ID: 6c6e86347ed7cb5f7c9a62c065a5b2e76ed9a32fedd2899f4a44359b1537b87f.1695895242@alerts.flightaware.com
Date: Do, 28 Sep 2023 12:00:42 +0200
From: “FlightAware Alerts” alerts@flightaware.com
To: “Georg Forster” forrest.g@hotmail.de
Subject: PiAware Receiver Site 205212 Rebooted
X-FlightAware-flight_id:
X-FlightAware-random_hash: 6c6e86347ed7cb5f7c9a62c065a5b2e76ed9a32fedd2899f4a44359b1537b87f
X-Auto-Response-Suppress: DR, OOF, RN, NRN, AutoReply
Sender: alerts@flightaware.com
Content-Type: multipart/alternative;
boundary=“----- =_RjI4NUVGNDVENjlGOUM5OUMyMkVENDhERkFGMzA3MDk=”
X-IncomingHeaderCount: 15
Return-Path: bounces+forrest.g=hotmail.de@bounces.flightaware.com
X-MS-Exchange-Organization-ExpirationStartTime: 28 Sep 2023 10:00:43.4750
(UTC)

The “day” in the date header seems to be not conforming to RFC 5322,
it is “Do” (german abbreviation for Donnerstag = Thursday), RFC 5322 states to use “Thu”.
My Flightware account language is set to german, that might trigger the use of german weekdays. A similar problem might exist for the month abbreviations, where some, but not all are different from the english ones, e.g. “Dez” instead of “Dec”.

Thanks – that’s very odd. I’ll check with ops to see what went wrong.

edit: identified the probable cause, looking at a fix; thanks for the report!

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