I'm trying to get my email server up and running. www.mail-tester.com gives me a score of 10 out of 10, but the problem is a SPF record SOFTFAIL. My SPF record is:
v=spf1 mx ~all
In my /etc/postfix/main.cf I have:
myhostname = mail.my-hostname.com
policyd-spf_time_limit = 3600
smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination,
check_policy_service unix:private/policyd-spf
In my /etc/postfix/master.cf:
policyd-spf unix - n n - 0 spawn
user=policyd-spf argv=/usr/bin/policyd-spf
What can I do?