is there an easy way to get the IP ranges of T-mobile?

Have a question or want to start a discussion? Post it! No Registration Necessary.  Now with pictures!

Threaded View
Here's the scenario. I want to send email from my T-mobile phone and
have SPF verification[*]: that is I want to have an IP range or an
include with an IP range for an email SPF record that can end with
"-all".

How do I get that range or ranges?  

[*] https://en.wikipedia.org/wiki/Sender_Policy_Framework

(I'm willing to ignore wifi IP addresses, because I can more easily
ssh out, and I'm willing to ignore roaming.)

Elijah
------
wants to host his own email again

Re: is there an easy way to get the IP ranges of T-mobile?
On Sun, 2 Dec 2018 21:55:39 +0000 (UTC), Eli the Bearded

Quoted text here. Click to load it

I don't know how accurate this might be, but it claims to be all the
IPv4 and IPv6 address ranges owned by T-Mobile:
<https://myip.ms/view/ip_owners/1779/T_Mobile_Usa_Inc.html
<https://myip.ms/browse/ip_ranges/1/ownerID/1779/ownerID_A/1
--  
Jeff Liebermann     jeffl@cruzio.com
150 Felker St #D    http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
Skype: JeffLiebermann     AE6KS    831-336-2558

Re: is there an easy way to get the IP ranges of T-mobile?
Quoted text here. Click to load it

You may not need them.  SPF has include:domain which allows one SPF
record to include all of another's ranges (if T-Mobile has an SPF
record; I didn't look).

As to -all, just a caution: If you send email to an old-style mailing
list or forwarder that simply forwards your message as received, it will
have your address as sender, but come from the mailing list's host, and
thus will violate your -all rules, unless you also include the list's
hosts in your SPF record.
 -WBE

Re: is there an easy way to get the IP ranges of T-mobile?
Quoted text here. Click to load it

Jeff Liebermann's answer is interesting, but great. It's how to find  
all the IP blocks T-mobile owns, but not how to find out which ones
they'll assign to customers. (And they are very unlikely to assign
customers IPs from the same range as say, their web site or their
corporate offices.)

Quoted text here. Click to load it

I did mention that. "I want to have an IP range or an include". (The
include gives the range(s), if you read it.) I just don't know if they
publish one for this use case.

Quoted text here. Click to load it

I'm aware of the meaning of -all and have been around long enough to
know the many diverse ways of implementing mailing lists. The
distinguishing factor to identify lists like that is "Do you get the
bounce messages when someone's email address goes bad?"  

Elijah
------
does not plan to use this for mailing lists

Re: is there an easy way to get the IP ranges of T-mobile?
Quoted text here. Click to load it

I replied, in part:
Quoted text here. Click to load it

Eli replied:
Quoted text here. Click to load it

Sounds like you're trying to do what I used to do ...

I used to send outgoing mail via my ISP's outbound mail server, and,
like you, I wanted -all.  My ISP's SPF record used ~all, so I used their
SPF record to find their mail hosts/addresses, and then put those
directly into my SPF record rather than using include:ISP.

I just checked...  t-mobile.com's SPF "TXT" record is:

"v=spf1 mx a:mail1.t-mobile.com a:mail3.t-mobile.com a:maila.t-mobile.com
 a:mailc.t-mobile.com include:aspmx.pardot.com include:_spf.q4press.com ~all"

mail1.t-mobile.com: 206.29.177.243 206.29.177.244 206.29.177.245
   206.29.177.246 206.29.177.247  

mail3.t-mobile.com: 208.54.102.78 208.54.102.81 208.54.102.80
   208.54.102.79 208.54.102.77  

maila.t-mobile.com: 206.29.177.252 206.29.177.253 206.29.177.251
   206.29.177.250

mailc.t-mobile.com: 208.54.102.83 208.54.102.76 208.54.102.75 208.54.102.82

but that doesn't include the SPF include's.

[There's also t-mobile. and maybe
 others, but Panix suggests you're in the U.S. and wouldn't care about
 those.]

Quoted text here. Click to load it


Indeed.  :)
 -WBE

Re: is there an easy way to get the IP ranges of T-mobile?
Quoted text here. Click to load it

I have regular email at panix, but I want a stripped down mobile email
that I read and send from, mostly connecting to my own mail hosts but
possibly sendind directly.

Quoted text here. Click to load it

That's probably corporate email. When I was on Sprint, the customer
pixmbl.com has a nice simple SPF record. I don't know what T-Mobile does
for this.

Quoted text here. Click to load it

True, but based on the Sprint example, I think it's the wrong tree.

Elijah
------
has gotten himself a nice very short domain for this mobile stuff

Re: is there an easy way to get the IP ranges of T-mobile?
Quoted text here. Click to load it

It's similar (PHONENUMBER@) for the others I know about, but I don't
happen to know what host name T-Mobile uses.

Can you send a message from your cellphone to some account that lets you
examine the message headers?
 -WBE

Site Timeline