Hello. I have several mail-in-a-box servers. Everyone passed the 10/10 test on the mail tester. Letters arrive normally. Also, letters normally go to gmail and other public servers.
Problem - I can’t send an email to a client on his mail server. It gives an error - “SPF fail - not authorized”
If your receiver gets an error “spf fail – not authorized send“, it means your server IP is not authorized to send email for your domain.
For example you have a email called dummy@staging.cyberpanel.net (hosted on 198.168.100.100) and you are sending email to hello@gmail.com now Gmail will check if your SPF records allow 198.168.100.100 to send emails for staging.cyberpanel.net. For this to work your SPF record should look like
v=spf1 a mx ip4:198.168.100.100 ~all
But if your SPF records does not looks like this you will keep getting an error, all you need to do is update or add your SPF record to allow your server to send emails on your domains behalf.