Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #211400

Re: sending mail via a script

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: sending mail via a script
Date 2019-07-15 12:40 +0200
Message-ID <yk6yK-1IO-17@gated-at.bofh.it> (permalink)
References <yjP4S-7DY-5@gated-at.bofh.it> <yjPod-803-5@gated-at.bofh.it> <yjR6G-EL-13@gated-at.bofh.it> <yk5Ml-1cw-3@gated-at.bofh.it> <yk6p4-1FC-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Jul 15, 2019 at 06:21:28AM -0400, Dan Ritter wrote:
> Reco wrote: 
> > 	Hi.
> > 
> > On Sun, Jul 14, 2019 at 02:05:04PM -0400, Dan Ritter wrote:
> > > 
> > > That's not a problem sending mail via a script; that's a problem with
> > > Google's view of the reputation of the mail server that you are using.
> > > (Which may be the machine that you are typing on, or might not.)
> > > 
> > > In other words: you successfully sent mail, but Google rejected
> > > it because they think you are a spammer.
> > 
> > No. Google rejected it because of the reason stated above.
> > I.e. MTA's IP does not have a valid PTR record. Not required by RFC per
> > se, but is considered mandatory by some (included Google).
> 
> Why do you think they have that requirement?

Because their server says so. Quoting from this very thread [1]

  <<< 550-5.7.1 this message does not meet IPv6 sending guidelines regarding PTR
  <<< 550-5.7.1 records and authentication. Please review
  <<< 550-5.7.1  https://support.google.com/mail/?p=IPv6AuthError for more infor

And quoting from that Google link (eek, I clicked a Google link and
feel now... dirty):

    - The sending IP must have a PTR record (i.e. a reverse DNS
      of the sending IP) and match the IP obtained via the forward
      DNS resolution of the hostname specified in the PTR record.
    - The sending domain should pass either a SPF check or DKIM
      check.

So you need a PTR (for reverse name resolution) AND (SPF OR DKIM)
(so yeah, PTR alone ain't enough).

Cheers

[1] Message-ID: <alpine.DEB.2.21.1907141813050.13978@pfr2.frenkiel-hure.net>

-- t

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

sending amil via a script Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2019-07-14 18:00 +0200
  Re: sending amil via a script Carl Fink <carlf@panix.com> - 2019-07-14 18:10 +0200
  Re: sending mail  via a script Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2019-07-14 18:20 +0200
    Re: sending mail  via a script Dan Ritter <dsr@randomstring.org> - 2019-07-14 20:10 +0200
      Re: sending mail  via a script Reco <recoverym4n@enotuniq.net> - 2019-07-15 11:50 +0200
        Re: sending mail  via a script Dan Ritter <dsr@randomstring.org> - 2019-07-15 12:30 +0200
          Re: sending mail  via a script Reco <recoverym4n@enotuniq.net> - 2019-07-15 12:30 +0200
            Re: sending mail  via a script <tomas@tuxteam.de> - 2019-07-15 12:40 +0200
          Re: sending mail  via a script <tomas@tuxteam.de> - 2019-07-15 12:40 +0200
            Re: sending mail  via a script Dan Ritter <dsr@randomstring.org> - 2019-07-15 15:10 +0200
              Re: sending mail  via a script Joe <joe@jretrading.com> - 2019-07-15 15:40 +0200
          Re: sending mail  via a script Andrei POPESCU <andreimpopescu@gmail.com> - 2019-07-16 09:20 +0200
            Re: sending mail  via a script mick crane <mick.crane@gmail.com> - 2019-07-16 23:50 +0200
              Re: sending mail  via a script Dan Ritter <dsr@randomstring.org> - 2019-07-17 00:00 +0200
                Re: sending mail  via a script <tomas@tuxteam.de> - 2019-07-17 09:00 +0200
              Re: sending mail  via a script Joe <joe@jretrading.com> - 2019-07-17 09:40 +0200
              Re: sending mail  via a script Dave Sherohman <dave@sherohman.org> - 2019-07-17 10:40 +0200
                Re: sending mail  via a script <tomas@tuxteam.de> - 2019-07-17 11:00 +0200
                Re: sending mail  via a script Joe <joe@jretrading.com> - 2019-07-17 11:10 +0200
                Re: sending mail  via a script Jonathan Dowland <jon+debian-user@dow.land> - 2019-07-17 11:30 +0200
                Re: sending mail  via a script Joe <joe@jretrading.com> - 2019-07-17 13:00 +0200
                Re: sending mail  via a script Jonathan Dowland <jon+debian-user@dow.land> - 2019-07-17 16:00 +0200
              Re: sending mail  via a script Andy Smith <andy@strugglers.net> - 2019-07-17 17:40 +0200
                Re: sending mail  via a script mick crane <mick.crane@gmail.com> - 2019-07-17 23:00 +0200
                Re: sending mail  via a script Joe <joe@jretrading.com> - 2019-07-17 23:00 +0200
                Re: sending mail  via a script Dan Ritter <dsr@randomstring.org> - 2019-07-17 23:10 +0200
                Re: sending mail  via a script Joe <joe@jretrading.com> - 2019-07-18 09:30 +0200
                Re: sending mail  via a script Curt <curty@free.fr> - 2019-07-18 10:30 +0200
                Re: sending mail  via a script David Wright <deblis@lionunicorn.co.uk> - 2019-07-18 14:50 +0200
                Re: sending mail via a script Lee <ler762@gmail.com> - 2019-07-18 18:20 +0200
                Re: sending mail  via a script Andy Smith <andy@strugglers.net> - 2019-07-18 19:50 +0200
    Re: sending mail  via a script Andy Smith <andy@strugglers.net> - 2019-07-15 12:40 +0200
      Re: sending mail  via a script Joe <joe@jretrading.com> - 2019-07-15 12:50 +0200
  Re: sending amil via a script Brian <ad44@cityscape.co.uk> - 2019-07-14 19:30 +0200
  Re: sending amil via a script Lotek <lotek07@gmail.com> - 2019-07-15 04:10 +0200

csiph-web