Skip to content

Commit 3d535b5

Browse files
committed
updates outbound hostnames
1 parent d156a0e commit 3d535b5

File tree

1 file changed

+23
-19
lines changed

1 file changed

+23
-19
lines changed

src/content/docs/email-routing/postmaster.mdx

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,34 @@ example.com. 300 IN TXT "v=spf1 include:_spf.mx.cloudflare.net ~all"
9393

9494
[The MX (mail exchange) records](https://www.cloudflare.com/learning/dns/dns-records/dns-mx-record/) tell the Internet where the inbound servers receiving email messages for the zone are. In this case, anyone who wants to send an email to `example.com` can use the `amir.mx.cloudflare.net`, `linda.mx.cloudflare.net`, or `isaac.mx.cloudflare.net` SMTP servers.
9595

96+
### Outbound prefixes
97+
98+
Email Routing sends its traffic using both IPv4 and IPv6 prefixes, when supported by the upstream SMTP server.
99+
100+
If you are a postmaster and are having trouble receiving Email Routing's emails, allow the following outbound IP addresses in your server configuration:
101+
102+
**IPv4**
103+
104+
`104.30.0.0/19`
105+
106+
**IPv6**
107+
108+
`2405:8100:c000::/38`
109+
110+
_Ranges last updated: December 13th, 2023_
111+
96112
### Outbound hostnames
97113

98-
In addition to the outbound prefixes, Email Routing will use the domain `email.cloudflare.net` for the `HELO/EHLO` command.
114+
In addition to the outbound prefixes, Email Routing will use the following outbound domains for the `HELO/EHLO` command:
115+
116+
- `cloudflare-email.net`
117+
- `cloudflare-email.org`
118+
- `cloudflare-email.com`
99119

100120
PTR records (reverse DNS) ensure that each hostname has an corresponding IP. For example:
101121

102122
```sh
103-
dig a0-7.email.cloudflare.net +short
123+
dig a-h.cloudflare-email.net +short
104124
```
105125

106126
```sh output
@@ -112,25 +132,9 @@ dig -x 104.30.0.7 +short
112132
```
113133

114134
```sh output
115-
a0-7.email.cloudflare.net.
135+
a-h.cloudflare-email.net.
116136
```
117137

118-
### Outbound prefixes
119-
120-
Email Routing sends its traffic using both IPv4 and IPv6 prefixes, when supported by the upstream SMTP server.
121-
122-
If you are a postmaster and are having trouble receiving Email Routing's emails, allow the following outbound IP addresses in your server configuration:
123-
124-
**IPv4**
125-
126-
`104.30.0.0/20`
127-
128-
**IPv6**
129-
130-
`2405:8100:c000::/38`
131-
132-
_Ranges last updated: December 13th, 2023_
133-
134138
### Sender rewriting
135139

136140
Email Routing rewrites the SMTP envelope sender (`MAIL FROM`) to the forwarding domain to avoid issues with [SPF](#spf-record). Email Routing uses the [Sender Rewriting Scheme](https://en.wikipedia.org/wiki/Sender_Rewriting_Scheme) to achieve this.

0 commit comments

Comments
 (0)