News for hackers. Stuff that matters.
Re:Email is tough: Major European Payment Processor's Emails... by jcelerier on Thursday February 12, 2026 @06:27PM (#46996752)
I just don't understand how you get from the text you pasted to "required". Nowhere does it say that anything is effectively required. Words have meaning.
Re:Email is tough: Major European Payment Processor's Emails... by nerdsniper on Thursday February 12, 2026 @08:10PM (#46997663)
> the full implications must be understood and carefully weighed before choosing a different course.

In this case, the full implication is that your email might be undeliverable. "Should" indicates that the consequences for this fall on the entity that is deviating from the thing they "should" be doing.

Re:Email is tough: Major European Payment Processor's Emails... by prennert on Friday February 13, 2026 @06:02AM (#47001378)
Is that what the spec says? Or is this something that Google decided, by making an optional feature a requirement when interoperating with their systems?
Re:Email is tough: Major European Payment Processor's Emails... by yakikka on Friday February 13, 2026 @06:45AM (#47001652)
It is something Google decided. SHOULD means the other party should anticipate may not. The party examining a SHOULD and deciding not to do something is obviously not required to consider incompetence of other RFC readers as a reason to global replace SHOULD with SHALL before examining requirements.
Re:Email is tough: Major European Payment Processor's Emails... by roenxi on Friday February 13, 2026 @06:25AM (#47001531)
But the RFC language clearly anticipates there are situations and good reasons leading to a message that does not include a message-id. Google therefore would be rejecting RFC-compliant emails, and they are the ones who have to justify themselves.

Theoretically, anyway, I expect in practice they'll just ignore the issue or have their own good reason. But they should accept emails with no message-id; there it does strain the imagination to see why lacking an ID would make a message unreadable or undeliverable.

Re:Email is tough: Major European Payment Processor's Emails... by Arnt on Friday February 13, 2026 @07:23AM (#47001914)
There are indeed such situations. Two situations AFAICR, and neither of them apply to when you connect to someone else's MX.

Gmail rejects the vast majority of compliant messages, I think they've stated in public that they reject >99.9% of messages, and hearsay has it that the percentage for with minor errors like this is even higher.

There are good reasons why a message might be unreadable. For example, message-id is often used by the threading algorithms in MUAs and IMAP servers, and many don't test whether their threading code handles ID-less messages. I use one that deduplicates by ID, what do you think it does when the ID is empty or missing? I don't know, I haven't tested and I'm not going to.

Re:Email is tough: Major European Payment Processor's Emails... by merlindru on Friday February 13, 2026 @07:00AM (#47001749)
if you apply that logic every recommendation becomes mandatory no?

if the alternative to [not doing a recommended thing] is [failure] then what's the difference between "should" and "must"?

"we recommend you leave the keys in the ignition while putting your car in park"

"or what?"

"or your car may blow up, killing everyone inside. just a recommendation though!"

Re:Email is tough: Major European Payment Processor's Emails... by zamadatix on Friday February 13, 2026 @09:51AM (#47003367)
It makes more sense when you read all of the definitions together https://datatracker.ietf.org/doc/html/rfc2119:

- `MUST: This word, or the terms "REQUIRED" or "SHALL", mean that the definition is an absolute requirement of the specification.`

- `SHOULD: This word, or the adjective "RECOMMENDED", mean that there may exist valid reasons in particular circumstances to ignore a particular item, but the full implications must be understood and carefully weighed before choosing a different course.`

- `MAY: This word, or the adjective "OPTIONAL", mean that an item is truly optional.`

In practical terms:

- MUST: It's always a failure to do this. E.g. you MUST have some form of stored energy in your car for it to propel itself down the highway.

- SHOULD: If you don't do this, it's likely to cause failures unless you really know the situation is one of great exception and have thought about what else this change may affect. E.g. you SHOULD maintain a large distance between yourself and then next vehicle on the highway (an example of an exceptional case might be a standstill backup on the highway).

- MAY: This is something which is actually optional and has negligible impacts to successful operation if you do/don't. E.g. you MAY activate cruise control instead of always manually operating the accelerator.

For your car example as-is it'd probably best be MUST unless there is expectation one might reasonably consider their car exploding a valid scenario. In the real world where the car doesn't actually blow, it'd probably be that you MAY leave your keys in the ignition rather than SHOULD/MUST.

Re:Email is tough: Major European Payment Processor's Emails... by merlindru on Sunday February 15, 2026 @07:03PM (#47029174)
ah! thank you for that excerpt. that does change the meaning a bit in my opinion, yeah
Re:Email is tough: Major European Payment Processor's Emails... by zdragnar on Thursday February 12, 2026 @06:42PM (#46996915)
> the full implications must be understood and carefully weighed before choosing a different course.

Note the use of the word "must" used twice there. Barring a sufficiently good reason and accepting the consequences, this becomes a very poorly worded "required".

The spec would have been far better starting with SHALL and then carving out the allowance for exceptions.

Re:Email is tough: Major European Payment Processor's Emails... by shakna on Thursday February 12, 2026 @06:53PM (#46997014)
No, its not a "required"... It means someone may have reasons not to use something, and so spec implementors need to allow for circumstances where it is not present.

Those reasons can be anything. Legal, practical, technological, ideaological. You don't know. All you know is not using it is explicitly permitted.

Re:Email is tough: Major European Payment Processor's Emails... by zephen on Thursday February 12, 2026 @08:23PM (#46997776)
> You don't know. All you know is not using it is explicitly permitted.

In theory, if they are truly following the specification, you know they thought hard about all the consequences.

I think the pushback in the comments comes from the commonsense feeling that this... didn't happen here.

Re:Email is tough: Major European Payment Processor's Emails... by nosianu on Friday February 13, 2026 @03:12AM (#47000231)
"permitted" is a pretty empty word in the given context. Because dropping such emails is equally "permitted". Sure, there will be no arrests made, but there will be consequences. And those are what this article is about.
Re:Email is tough: Major European Payment Processor's Emails... by shakna on Friday February 13, 2026 @03:19AM (#47000281)
If that's your line, then I am equally permitted to send random binary blobs along the way. Not a crime, so totally permitted. They'll just drop the connection.

Buuut I don't think that is at all relevant to the discussion at hand.

Re:Email is tough: Major European Payment Processor's Emails... by WJW on Thursday February 12, 2026 @07:16PM (#46997186)
I don't even know how you got to "used twice" tbh. Both your own comment AND the post you quoted from only have a single "must".

The only thing that text demands is understanding and carefully weighing the implications. If, having done that, you conclude that you don't want to then there is absolutely nothing in the spec stopping you. Maybe the spec would have been better off putting more stuff in SHALL and less in SHOULD, but as written that is definitely not the case.

Re:Email is tough: Major European Payment Processor's Emails... by vel0city on Thursday February 12, 2026 @09:09PM (#46998073)
You should wear sunscreen to the beach. Its recommended as a good way to prevent sunburn. However, the beach police aren't going to come get you for not wearing it. You just might get a sunburn if you don't plan accordingly with other sun countermeasures.
Re:Email is tough: Major European Payment Processor's Emails... by stdbrouw on Friday February 13, 2026 @05:50AM (#47001303)
So if I send an email that lacks a feature that MUST be there, will the email police come get me? At a certain point, looking for an analogy stops making sense I think.
Re:Email is tough: Major European Payment Processor's Emails... by ForHackernews on Friday February 13, 2026 @05:52AM (#47001318)
It sounds like Google won't deliver your mails. Presumably they read the spec and are aware of the consequences.
Re:Email is tough: Major European Payment Processor's Emails... by vel0city on Sunday February 22, 2026 @06:21PM (#47115936)
I mean, kind of, yeah? If you're sending traffic that fails to meet the MUST requirements, you're probably going to be marked as malicious traffic and eventually wind up on spam/bot lists. If you fail to do the SHOULD things, you might find yourself in some odd edge cases of your peers and experience behavior you didn't expect.
Re:Email is tough: Major European Payment Processor's Emails... by ForHackernews on Friday February 13, 2026 @05:51AM (#47001311)
"there may exist valid reasons in particular circumstances" means effectively required in my common sense understanding of American English.