CiviMail fails to deliver some emails to specific domain servers: @wp.pl. Each time I send a mailing I receive a bounce message which reads like this:
This is the mail system at host stpuk-org.nazwa.pl. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system <email@example.com>: host mx.wp.pl[22.214.171.124] said: 550 SPF Error: Senders are required to provide correct SPF records. If you are a poczta.wp.pl user check SMTP configuration: http://poczta.wp.pl/autoryzacja/ (in reply to MAIL FROM command) Final-Recipient: rfc822; firstname.lastname@example.org Original-Recipient: rfc822;email@example.com Action: failed Status: 5.0.0 Remote-MTA: dns; mx.wp.pl Diagnostic-Code: smtp; 550 SPF Error: Senders are required to provide correct SPF records. If you are a poczta.wp.pl user check SMTP configuration: http://poczta.wp.pl/autoryzacja/
The original message header is:
Return-Path: <firstname.lastname@example.org> Received: from mydomain.nazwa.pl (unknown [126.96.36.199]) by stpuk-org.nazwa.pl (Postfix) with ESMTP id 2CE5F2411C0 for <email@example.com>; Sun, 8 May 2016 23:28:11 +0200 (CEST) To: <firstname.lastname@example.org> Subject: =?utf-8?Q?=5BSzkic_CiviMail=5D_Og=C5=82oszenia_STP?= MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_7bef5881a1e24565cf35e4ad4b65e26c" Reply-To: =?utf-8?Q?Stowarzyszenie_Technik=C3=B3w_Polskich?= <email@example.com> From: =?utf-8?Q?Stowarzyszenie_Technik=C3=B3w_Polskich?= <firstname.lastname@example.org> List-Unsubscribe: <mailto:email@example.com> job_id: 215 Precedence: bulk X-CiviMail-Bounce: firstname.lastname@example.org Date: Sun, 08 May 2016 23:28:11 +0200 X-HTTP-Posting-URI: http://www.stpuk.org:80/civicrm/ajax/rest X-HTTP-Client: 188.8.131.52 Message-Id: <20160508212811.2CE5F2411C0@stpuk-org.nazwa.pl>
I spent some time testing various approaches but without success. Few additional comments:
- Civimail is successful delivered to main providers such as gmail, yahoo
For gmail I get a spf=softfail (txt below) but still delivers:
(google.com: domain of transitioning email@example.com does not designate 184.108.40.206 as permitted sender) client-ip=220.127.116.11
My DNS configuration has spf: "v=spf1 ip4:18.104.22.168 ~all"
- I use Google apps to handle my mail, hosting to handle website and CiviCRM and gmail for bounce processing
I believe I am missing something but I have no idea what.