Opened 8 days ago
Last modified 7 days ago
#446 new defect
Mail system writes routed addresses into Internet mail headers as RFC 822 source routes
| Reported by: | Eric Swenson | Owned by: | Eric Swenson |
|---|---|---|---|
| Priority: | minor | Milestone: | MR12.10 |
| Component: | Networking | Version: | MR12.9 |
| Keywords: | Cc: |
Description
When a message is sent to an Internet address that has an explicit route (user at host via relay), the mail system writes that address into the message header as an RFC 822 source route, for example @VPS-GHM.SWENSON.ORG:root@SWENSON.ORG. RFC 5322 (section 4.4) makes that syntax obsolete: it must not be generated. Current mail programs reject it in header fields.
This hits all mail that reaches Multics through a relay. smtp_listener_ adds the relay's HELO name to the sender, so on Multics the sender reads root at SWENSON.ORG via VPS-GHM. Replying to such a message from Multics delivers correctly, but the reply's header contains
cc: @VPS-GHM.SWENSON.ORG:root@SWENSON.ORG
When the recipient then does a "reply all", macOS Mail refuses it:
"@VPS-GHM.SWENSON.ORG:root@SWENSON.ORG" does not appear to be a valid email address.
The cause is FORMAT_ADDRESS (6) (foreign address) in mlsys_format_.pl1. When ifo.rfc822_format is set, it writes the address's route as <@relay,...,@relay:local@host>. The width calculation in COMPUTE_ADDRESS_WIDTH (6) counts the route the same way.
The header text plays no part in routing. The SMTP envelope is built separately, by format_address_for_ism, from the address's route. So the header can show just local@host while the message still goes through the relay. Addresses shown in Multics format (user at host via relay) are not affected.

https://s3.amazonaws.com/eswenson-multics/public/mcrs/MCR10219.pdf