From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 6 Nov 2014 08:41:40 -0500 To: 9fans@9fans.net Message-ID: <409298f02a8624e94fa9d7bc8c979921@ladd.quanstro.net> In-Reply-To: <20141105181920.r9S5I4BQ%sdaoden@yandex.com> References: <64562eef8a41a3bf4522cd750ac9d1a5@quintile.net> <20141031130919.PTgJzDSl%sdaoden@yandex.com> <00f41dd88b47a3c64637a4e184cbc332@ladd.quanstro.net> <20141031180930.b3WeLqGt%sdaoden@yandex.com> <20141105181920.r9S5I4BQ%sdaoden@yandex.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Setting up Mail in Acme on the Raspberry Pi. Topicbox-Message-UUID: 23a160ee-ead9-11e9-9d60-3106f5b1d025 On Wed Nov 5 13:20:02 EST 2014, sdaoden@yandex.com wrote: > Anthony Sorace wrote: > |> I've been looking through the documentation and > |> the 9fans archive but I can't get a clear answer on > |> what to replace localhost.localdomain with. > | > |If the recipient's mail server is being strict (but within > |the bounds of the RFCs), that name is expected to be > |the real, externally-resolvable DNS name of the > |system you're sending from. The RFCs used to be more > |lax on that point, and some servers still are, but you > |shouldn't assume you'll be able to send to arbitrary > |endpoints unless you satisfy that. > > gmail.com shouldn't care at all, so it must be his own SMTP server. > (All i know in respect to this is Yandex.(ru|com), which requires > that the hostname in the SMTP FROM:<> command _is_ a Yandex > address, i.e., _no mismatch_ with _who_ you claim to be, which is that's not what anthony claimed. he said that if you say HELO example.com that the following must be true (a) dns return an a record for the query example.com, and (b) the ip returned must have a ptr record pointing to example.com (this is less enforced these days due to the difficulty of maintaining pointer records.) i think this is compatible with what you're saying. this doesn't make sense to me. i don't do this: > why i had to invent a *smtp-hostname* variable for the mailer > i maintain in order to address the SMTP FROM:<> content directly: perhaps you're conflating the envelope with the message? - erik