I am having trouble with failing to deliver mails with my setup.
Server 1 -
example.com + Direct Admin IP:
22.214.171.124, default domain (provided by hosting company:
Server 2 -
126.96.36.199, 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:<firstname.lastname@example.org>: host mx.poczta.onet.pl [188.8.131.52]: 554 5.7.1 <email@example.com>: Recipient address rejected: Spf check: fail
Return-path: <firstname.lastname@example.org> Received: from dfault.return.serv2.dns ([184.108.40.206] helo=vps222222.company.com) by vps11111.company.com with esmtpa (Exim 4.82) (envelope-from <email@example.com>) id 1aILXy-00044d-K9 for firstname.lastname@example.org; 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:220.127.116.11 ~all"
A records for mail, smtp and pop are left to 18.104.22.168 (jira setup to use
A records for dev.example.com., ftp and www are set to 22.214.171.124.
I am confused about all this setup (my first time) and would appreciate any help.