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 <firstname.lastname@example.org>: host mx.wp.pl[188.8.131.52] 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; email@example.com Original-Recipient: rfc822;firstname.lastname@example.org 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: <email@example.com> Received: from mydomain.nazwa.pl (unknown [184.108.40.206]) by stpuk-org.nazwa.pl (Postfix) with ESMTP id 2CE5F2411C0 for <firstname.lastname@example.org>; Sun, 8 May 2016 23:28:11 +0200 (CEST) To: <email@example.com> 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?= <firstname.lastname@example.org> From: =?utf-8?Q?Stowarzyszenie_Technik=C3=B3w_Polskich?= <email@example.com> List-Unsubscribe: <mailto:firstname.lastname@example.org> job_id: 215 Precedence: bulk X-CiviMail-Bounce: email@example.com Date: Sun, 08 May 2016 23:28:11 +0200 X-HTTP-Posting-URI: http://www.stpuk.org:80/civicrm/ajax/rest X-HTTP-Client: 220.127.116.11 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 firstname.lastname@example.org does not designate 18.104.22.168 as permitted sender) client-ip=22.214.171.124
My DNS configuration has spf: "v=spf1 ip4:126.96.36.199 ~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.