Greetings to all!

Are there any Yahoo mail admins on this list? I have a question about
Yahoo's (& Verizon & AOL) outbound IP ranges.

I maintain postallow [0], a tool that builds Postfix Postscreen
allowlists by walking SPF records. It's a fork of the older Postwhite
[1]. For Yahoo specifically, it queries _spf1.yahoo.com,
_spf2.yahoo.com, and _spf3.yahoo.com, and separately scrapes the
outbound mail server list at
https://senders.yahooinc.com/outbound-mail-servers/.

I recently compared the two sources and found a discrepancy:

 - SPF records: 589 aggregated CIDR entries covering 23,723 IPs
 - senders.yahooinc.com: 974 entries covering 19,191 IPs

Every IP on the website is covered by the SPF records — the SPF ranges
are simply broader, publishing whole /24s and larger, where the website
lists specific hosts within these ranges. That direction seems
understandable to a lay-person; SPF records are authoritative and tend
to be conservative.

What puzzles me is the reverse: On the website I found four CIDR ranges
totalling approximately 7,680 IPs, but are absent from the SPF records:

  34.2.64.0/21
  34.2.72.0/22
  34.2.78.0/23
  34.2.80.0/20

WHOIS shows these are Yahoo Holdings Inc. addresses, and I found that
these seem to be provisioned on Google Cloud infrastructure.

For Postallow I've defaulted to using both sources, so users get the SPF
baseline plus anything on the website that isn't in SPF. But I'm
curious:

 1. Is the omission of the 34.2.x.x ranges from SPF intentional? Should
it be left out, since it is not in the SPF records?
 2. Is the website considered authoritative for allowlisting purposes,
or is SPF the preferred source?
 3. Should tools like Postallow be using something else entirely (a
published JSON/txt feed, for instance)?

To be clear about the stakes: Postscreen is only the first line of
defence. These allowlists skip Postscreen's early connection-phase
checks — DNSBLs, pipelining tests and so on — but mail still passes
through content filtering, DMARC evaluation, and spam scoring afterwards
(if set up by the mail admin). So this isn't a critical security gap,
just a question about the outbound IP ranges and which source is
authoritative.

Any insight is appreciated.

Many thanks!

    Edmund Lodewijks


[0]: https://github.com/edmundlod/postallow
[1]: Blame mwl for writing a book on mail servers and mentioning a
software tool in it...

-- 
Edmund Lodewijks <[email protected]>
TZ: UCT+2 / GMT+2
_______________________________________________
mailop mailing list
[email protected]
https://list.mailop.org/listinfo/mailop

Reply via email to