Moderator
Yui
(@fierevere)
永子
SPF records are DNS records, WordPress has nothing to do about them.
You can use this helper tool to construct SPF record for your domain:
https://www.spfwizard.net/
then edit your DNS zone (somewhere in your hosting control panel or even at domain registrar) and use whatever you have generated.
Be aware that changes are not immediately taking effect, you will need to wait some time (usually 1 day is typical, but really its as long as your DNS zone TTL)
I know that SPF records are DNS records. what I am asking about is WHO sends the password reset emails. Its not me, our my email server. WordPress uses an email farm that sends out password reset emails and I need to figure out what range of IP WP is using. My domain registrar/My Public IP is NOT where these emails are coming from.
The IP address would be the address of your web server.
@sterndata So you are saying when you install WordPress it also installs an email server on the WordPress Platform? From processing the email header information that I received from the password reset email It looks to me like WordPress uses an email Relay to send these emails. That is why when I received 3 different password reset emails they all came from 3 different IP Address which are used by WordPress.
https://whatismyipaddress.com/ip/23.253.183.221
https://whatismyipaddress.com/ip/23.253.183.214
https://whatismyipaddress.com/ip/23.253.183.219
Look at the hostname listed for these IP Addresses: Hostname: mail-183-221.wpengine.com
That is a WordPress Email server.
Looks like all IPs from 23.253.183.209-225 are all mail-183-X.wpengine.com (Hostname) IPs.
Test this yourself. Request a WordPress password reset email and observe the email header and IP address from where the email came from. I quarantee it will be from the same IP address or another block of IPs that WordPress uses
No, I’m not saying that at all. I’m saying that when WP sends a reset mail, it comes from the IP of your web server *unless* you’re using an SMTP plugin. Which makes me think an SMTP plugin might be the best bet for you as that will run all outgoing email from the server through a well-known email system.
It looks like YOUR site is set up already to use a mail server via the mailgun service.
Moderator
Yui
(@fierevere)
永子
WordPress uses an email farm that sends out
If you have SMTP plugin, WordPress delivers mail to SMTP server specified in its settings.
If you dont have SMTP plugins, WordPress just sends message to PHP mail() function, which uses php.ini settings and usually sends message to system MTA,
In both cases message route can be different, as MTA can use various settings,source IPs, backup relays.
Source IP shouldnt necessarily match your server IP, it can differ if your host will decide to make a “distributed” system.
For more info contact your webhost.
Interesting. I will have to reach out to the web developer and see what SMTP settings are defined right now. Thank you for the direction
Moderator
Yui
(@fierevere)
永子
You can just check your installed plugins.
Its possible to redefine WordPress’s PHPMailer rules via filters (i.e. in wp-config.php or functions.php), but i havent seen anyone been doing it in real.
But many people use plugins to reroute mail, WordPress’s own settings are very crude.