I am having trouble with failing to deliver mails with my setup.
Server 1 -
example.com + Direct Admin IP:
188.8.131.52, default domain (provided by hosting company:
Server 2 -
184.108.40.206, default domain (provided by hosting company:
A Jira instance runs on
dev.example.com, I am sending an invitation email being logged in as
SMTP error from remote mail server after RCPT TO:<email@example.com>: host mx.poczta.onet.pl [220.127.116.11]: 554 5.7.1 <firstname.lastname@example.org>: Recipient address rejected: Spf check: fail
Return-path: <email@example.com> Received: from dfault.return.serv2.dns ([18.104.22.168] helo=vps222222.company.com) by vps11111.company.com with esmtpa (Exim 4.82) (envelope-from <firstname.lastname@example.org>) id 1aILXy-00044d-K9 for email@example.com; Sun, 10 Jan 2016 20:21:02 +0100
I have set the TXT record on example.com Direct Admin of
"v=spf1 a mx ip4:22.214.171.124 ~all"
A records for mail, smtp and pop are left to 126.96.36.199 (jira setup to use
A records for dev.example.com., ftp and www are set to 188.8.131.52.
I am confused about all this setup (my first time) and would appreciate any help.