Anthony Sorace <a...@9srv.net> 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 why i had to invent a *smtp-hostname* variable for the mailer i maintain in order to address the SMTP FROM:<> content directly: |?0[steffen@sherwood nail.git]$ echo bla|s-nail -vvdAsn_sf -s du t...@bo.org |>>> EHLO yandex.com |>>> AUTH PLAIN |>>> ... |>>> MAIL FROM:<sdao...@yandex.com> |>>> RCPT TO:<t...@bo.org> |>>> DATA |>>> Date: Wed, 05 Nov 2014 19:11:33 +0100 |>>> From: sdao...@users.sf.net (Steffen Nurpmeso) |>>> To: t...@bo.org |>>> Subject: du |>>> Message-ID: <20141105181133.j3jtd1iu%sdao...@yandex.com> |>>> User-Agent: s-nail v14.7.8-70-g9310369 |>>> MIME-Version: 1.0 |>>> Content-Type: text/plain; charset=US-ASCII |>>> Content-Transfer-Encoding: 7bit |>>> |>>> bla |>>> . |>>> QUIT |?0[steffen@sherwood nail.git]$ echo bla|s-nail -vvdAsn_gm -s du t...@bo.org |>>> EHLO gmail.com |>>> STARTTLS |>>> EHLO gmail.com |>>> AUTH PLAIN |>>> ... |>>> MAIL FROM:<sdao...@gmail.com> |>>> RCPT TO:<t...@bo.org> |>>> DATA |>>> Date: Wed, 05 Nov 2014 19:11:45 +0100 |>>> From: Steffen Nurpmeso <sdao...@gmail.com> |>>> To: t...@bo.org |>>> Subject: du |>>> Message-ID: <20141105181145.kun5nikj%sdao...@gmail.com> |>>> User-Agent: s-nail v14.7.8-70-g9310369 |>>> MIME-Version: 1.0 |>>> Content-Type: text/plain; charset=US-ASCII |>>> Content-Transfer-Encoding: 7bit |>>> |>>> bla |>>> . |>>> QUIT) --steffen