9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Mats Olsson <plan9.meo@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
Date: Fri,  7 Nov 2014 10:27:11 +0100	[thread overview]
Message-ID: <CAEj9f0Lm99-sE+dXp3s6fjUr342hz2fi5_N9r86bkaHNHfr8Lg@mail.gmail.com> (raw)
In-Reply-To: <20141106191248.Lx0kZAYi%sdaoden@yandex.com>

Hi again!

The DNS problem only occurs when I try to send from the gmail account
I'm using now to the Swedish domain: "spray.se". An empty message
comes through ending with a dot . and that's it. Thanks for all your
effort to help me out!

Kind Greetings,
Mats

2014-11-06 20:12 GMT+01:00, Steffen Nurpmeso <sdaoden@yandex.com>:
> erik quanstrom <quanstro@quanstro.net> wrote:
>  |On Wed Nov  5 13:20:02 EST 2014, sdaoden@yandex.com wrote:
>  |> 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
>  |
>  |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
>
> Yes -- i think (or say, i'm sure that) gmail.com doesn't take care
> for that at all.  Neither does Yandex.  (Never tried any other
> free mail provider, i think they all depend on user
> authentication.)
>
>  |(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.)
>
> ..So reverse lookups don't even come into play here.
> I'm no longer sure wether old-school really hates not to be able
> to perform sender verification via DNS, today a lot of pretty
> prominent people use those providers themselve.
>
>  |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?
>
> Puh Erik, maybe -- you know, i'm a boche :)
> Flying over an official document is the maximum i can handle, just
> enough to hammer the most important facts into some long-time
> cells, so please excuse possible distortion of terms.
> Indeed, looking into RFC 5321 (i have it even in my arena):
>
>    o  The domain name given in the EHLO command MUST be either a primary
>       host name (a domain name that resolves to an address RR) or, if
>       the host has no name, an address literal, as described in
>       Section 4.1.3 and discussed further in the EHLO discussion of
>       Section 4.1.4.
>
>    o  The reserved mailbox name "postmaster" may be used in a RCPT
>       command without domain qualification (see Section 4.1.1.3) and
>       MUST be accepted if so used.
>
> So huch!  SMTP communication how it actually happens in between me
> and the public mail providers is invalid, evil and yuck.
> I think i just wanted to add some value to what Anthony said.
>
> Regarding *smtp-hostname*: i think one cannot expect from what
> i call a normal user to understand just about anything regarding
> any protocol etc. internals -- for no other reasons but missing
> context information and maybe add lack of interest.  In fact, like
> i said above, the same is true for me.  Given that this BSD Mail
> derivative already has a variable called *hostname*, and that BSD
> / Linux systems have a hostname(1) command (even though POSIX only
> specifies uname(1) and documents "the name of this node within an
> implementation-defined communications network"; but POSIX.. well)
> i decided to name the capability to overwrite the hostname that is
> used in the SMTP "MAIL FROM:<>" command *smtp-hostname* (but not
> that the manual is really user friendly sofar).
>
> So now i'm stuck with it.  But since Matt uses Google the address
> used in "MAIL FROM:<>" cannot be the problem anyway, since Google
> doesn't care wether the addresses in the messages' From: header
> and the SMTP "MAIL FROM:<>" command match or not (the last time
> i tried; i admit that the Google message i've posted doesn't
> really make sense in this context; oops..).
>
> --steffen
>
>



  reply	other threads:[~2014-11-07  9:27 UTC|newest]

Thread overview: 123+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-11 12:27 Mats Olsson
2014-10-11 13:31 ` Quintile
2014-10-12  7:28   ` Mats Olsson
2014-10-12  7:37     ` Quintile
2014-10-12 13:04       ` Mats Olsson
2014-10-12 14:18         ` Quintile
2014-10-12 14:23         ` Richard Miller
2014-10-12 18:18     ` Eduardo Alvarez
2014-10-12 18:36       ` Steve Simon
2014-10-12 18:58         ` Kurt H Maier
2014-10-13  0:53           ` kokamoto
2014-10-13 11:40             ` Mats Olsson
2014-10-13 14:28               ` p.d.finn
2014-10-13 16:07             ` erik quanstrom
2014-10-13 16:15         ` erik quanstrom
2014-10-13 16:46           ` Eduardo Alvarez
2014-10-13 23:55             ` Anthony Sorace
2014-10-14  2:41               ` Winston Kodogo
2014-10-14  2:51                 ` Kurt H Maier
2014-10-14  3:00                   ` Winston Kodogo
2014-10-14  3:08                     ` Skip Tavakkolian
2014-10-14  3:25                       ` Winston Kodogo
2014-10-14 19:09                       ` Wes Kussmaul
2014-10-14 20:03                         ` Skip Tavakkolian
2014-10-14 20:29                           ` Wes Kussmaul
2014-10-14 22:32                             ` Winston Kodogo
2014-10-14  9:09                 ` Steve Simon
2014-10-14 11:14                   ` Rudolf Sykora
2014-10-14 12:04                     ` Steve Simon
2014-10-14 12:23                     ` Anthony Sorace
2014-10-14 12:46                       ` Richard Miller
2014-10-14 15:20                       ` erik quanstrom
2014-10-14 15:22                     ` erik quanstrom
2014-10-14 16:08                       ` Rudolf Sykora
2014-10-14 17:29                         ` erik quanstrom
2014-10-14 18:40                         ` Anthony Sorace
2014-10-15  6:37                           ` Rudolf Sykora
2014-10-14 15:57                 ` erik quanstrom
2014-10-13 17:10           ` Bakul Shah
2014-10-13 19:01             ` Mats Olsson
2014-10-13 19:37             ` Steffen Nurpmeso
2014-10-15 12:21             ` trebol
2014-10-15 12:46               ` Steffen Nurpmeso
2014-10-15 13:00                 ` trebol
2014-10-19 19:43                   ` Mats Olsson
2014-10-19 22:26                     ` P. D. Finn
2014-10-20  7:04                       ` Mats Olsson
2014-10-20  7:28                         ` P. D. Finn
2014-10-20 11:11                           ` Mats Olsson
2014-10-20 11:34                             ` Steve Simon
2014-10-20 17:25                               ` Mats Olsson
2014-10-20 17:28                                 ` Mats Olsson
2014-10-20 17:32                                   ` Mats Olsson
2014-10-20 17:49                                     ` Quintile
2014-10-20 18:44                                       ` Mats Olsson
2014-10-21 12:21                                         ` Mats Olsson
2014-10-21 12:57                                           ` k0ga
2014-10-27 15:58                               ` erik quanstrom
2014-10-27 16:34                                 ` lucio
2014-10-27 19:10                                   ` erik quanstrom
2014-10-29 21:43                                     ` Mats Olsson
2014-10-29 21:48                                       ` Mats Olsson
2014-10-29 21:58                                       ` Steve Simon
2014-10-30 11:13                                         ` Mats Olsson
2014-10-30 14:08                                           ` Kurt H Maier
2014-10-30 14:18                                             ` Mats Olsson
2014-10-30 14:34                                               ` Kurt H Maier
2014-10-30 16:00                                           ` erik quanstrom
2014-10-30 16:11                                             ` Mats Olsson
2014-10-30 16:14                                               ` Mats Olsson
2014-10-31 10:26                                                 ` Mats Olsson
2014-10-31 10:51                                                   ` trebol
2014-10-31 10:59                                                   ` trebol
2014-10-31 12:04                                                     ` Mats Olsson
2014-10-31 13:09                                                   ` Steffen Nurpmeso
2014-10-31 13:30                                                     ` erik quanstrom
2014-10-31 14:29                                                       ` Mats Olsson
2014-10-31 18:09                                                       ` Steffen Nurpmeso
2014-11-04  4:24                                                         ` erik quanstrom
2014-11-04 14:27                                                           ` Steffen Nurpmeso
2014-11-05 18:21                                                             ` Mats Olsson
2014-11-05 18:26                                                               ` Mats Olsson
2014-11-05 18:38                                                                 ` Steffen Nurpmeso
2014-11-05 18:55                                                                   ` Mats Olsson
2014-11-05 18:31                                                               ` Steffen Nurpmeso
2014-11-05 17:30                                                           ` Mats Olsson
2014-11-05 17:40                                                             ` Anthony Sorace
2014-11-05 18:19                                                               ` Steffen Nurpmeso
2014-11-06 13:41                                                                 ` erik quanstrom
2014-11-06 19:12                                                                   ` Steffen Nurpmeso
2014-11-07  9:27                                                                     ` Mats Olsson [this message]
2014-10-31 19:35                                           ` Quintile
2014-10-31 20:19                                             ` Mats Olsson
2014-10-31 21:14                                               ` Richard Miller
2014-10-31 21:53                                                 ` Mats Olsson
2014-11-03  8:54                                                   ` Mats Olsson
2014-11-03 23:49                                                     ` trebol
2014-11-03  8:57                                                   ` Mats Olsson
2014-11-04  4:06                                                     ` erik quanstrom
2014-11-01  0:14                                                 ` Anthony Martin
2014-11-01  8:16                                                   ` Mats Olsson
2014-11-01  8:34                                                   ` Skip Tavakkolian
2014-11-01 10:32                                                   ` Charles Forsyth
2014-11-01 12:24                                     ` Charles Forsyth
2014-11-04  4:12                                       ` erik quanstrom
2014-10-21 12:58 Steve Simon
2014-10-22  9:06 ` Mats Olsson
2014-10-22 10:32   ` Charles Forsyth
2014-10-22 10:35     ` Charles Forsyth
2014-10-22 12:24       ` Mats Olsson
2014-10-22 13:29         ` Charles Forsyth
2014-10-22 13:59           ` Mats Olsson
2014-10-22 12:38   ` Steve Simon
2014-10-22 14:34   ` Kurt H Maier
2014-10-22 14:46     ` Charles Forsyth
2014-10-22 15:12       ` Kurt H Maier
2014-10-22 15:19         ` Mats Olsson
2014-10-22 18:14           ` Skip Tavakkolian
2014-10-22 20:04             ` Quintile
2014-10-23 20:45               ` Winston Kodogo
2014-10-23 20:57                 ` Charles Forsyth
2014-10-23 21:03                 ` Winston Kodogo
2014-10-24  6:50                   ` Mats Olsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEj9f0Lm99-sE+dXp3s6fjUr342hz2fi5_N9r86bkaHNHfr8Lg@mail.gmail.com \
    --to=plan9.meo@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).