scanner / as_email_service

A Django app and smtp relay service for working with 3rd party email services and asimap
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

aiosmtpd should add `Received:` headers since it is an SMTP relay #94

Open scanner opened 11 months ago

scanner commented 11 months ago

to be a proper step in the SMTP world relaying messages we should add:

Received: from <foo> by mail.apricot.com with SMTP TLS .. for <> <date>

scanner commented 11 months ago

see: https://www.rfc-editor.org/rfc/rfc5321.html#section-4.4

scanner commented 11 months ago

Also note that we require TLS for all connections so everything is received with SMTPS https://en.wikipedia.org/wiki/SMTPS

If we were doing ESMTP with TLS it would be ESMTPS (see https://www.rfc-editor.org/rfc/rfc3848 )