Answer the question
In order to leave comments, you need to log in
How to prescribe SPF for a site so that mail is sent via smtp.mail.ru?
Hello, I have 2 php scripts on my site: password recovery and registration confirmation via e-mail, I need mail to be sent via smtp.mail.ru and my server ip was not visible, I wrote v=spf1 include:smtp.mail .ru redirect=_spf.mail.ru +a +mx, but it doesn't help, the mail is sent so that my server's ip is visible. All mx, dkim, spf entries for biz.mail.ru are configured correctly, only the standard spf setting is not suitable, because for the site, it does not cool down through smtp.mail.ru.
I also tried to use ssmtp for centos 7, but I didn’t find how to use it for mail.ru on the Internet, so it doesn’t work for me.
Please tell me how to correctly register spf so that it is really sent via smtp.mail.ru without the participation of my server. Thank you in advance.
Answer the question
In order to leave comments, you need to log in
IMHO, If you send letters on behalf of the user of your MX server, then you will not be able to hide the source IP. SMTP.mail.ru as an intermediate server is simply obliged to indicate the IP of the source server, that is, your SMTP.
If you send letters on behalf of [email protected], logging in to SMTP.mail.ru as user_name - then yes, the source of the letter will be SMPT.mail.ru itself, and it will itself provide an SPF record for the letter, the source of which himself is. And your IP will not appear.
API - if anything, use gmail, there is definitely a simple API there
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question