sending in behalf of client / spf and dkim

patuks

Member
Hello,

Are these both usually added to client domain settings ?
how much delivery rate percent is roughly if both are missing.
Sometimes is hard to teach what are spf and dkim and how to set them up.

How does other mailwizz users do, do you always tell customer to add spf and dkim ?
Or should i buy new domain which i use for sending in behalf of customer.

Would like to hear some opinions :)
 

twisted1919

Administrator
Staff member
Ideally your delivery server would sign the outgoing emails but it would be impossible to sign for all domains.
Now, lets say your mail server is mail.domain.com and handles/signs the emails for domain.com. If a customer will send a campaign and in the FROM field of the campaign will set an email like marketing@otherdomain.com then that email will not be signed by your email server.
In order to make your email server sign it, you'll have to create a bounce server and associate it with this delivery server. In the bounce server email, use something like bounces@domain.com which later will become the Return-Path header for the emails and in this case, your email server will sign the email with dkim because it recognizes the domain.

Another option would be to force all your customers to use sending domains and have mailwizz sign the emails for them after they add proper dns records, but this is, as you have noticed, not that easy on your customers.

Anyway, you could test various combinations at http://www.mail-tester.com/ and see which one gets you highest score :)

Hope the above helps :)
 

patuks

Member
I added my another domain, which doesen't have DKIM or SPF for my Mailwizz server
Got only one error from Mail-Tester

You have more than one DKIM signature in your message.
Please enable only one signature, you should let your mail server sign the message and disable DKIM on your Newsletter software.

-2 You have more than one DKIM signature in your message.

How i can disable DKIM for the domain which i added, so my mailwizz domain can only DKIM this.
I turned DKIM Signing off, but do i have to wipe out also Dkim private key: from the domain.
 

twisted1919

Administrator
Staff member
You have more than one DKIM signature in your message.
Please enable only one signature, you should let your mail server sign the message and disable DKIM on your Newsletter software.
It knows what it says :)

So you'll have to disable signing from one of the two, either mailwizz or the email server.
To help you consider, think that mailwizz is written in PHP and PHP is doing a terrible slow job at signing emails.

Thanks.
 

patuks

Member
Nice, thank you again.
I made settings so DKIM check will come from mailserver.
I think now every mail gets signed by my mailserver domain.

got 9.8/10 score from domain which didnt have any DKIM SPF settings for my mailwizz :-D
This bounce@ trick is very nice!
 

Faermark

New Member
Hello! I have created a special emeil to bounce, tied it to the SMTP server.
When I do the test newsletter to their email, the title Return-path: email sender.
And the title X-Sender, email to bounce.
The bounce will not be processed.
Tell me what am I doing wrong?

Why when you add email adresses to bounce it does not appear to return the title pass?


Delivered-To: my-mail@mail.ru
Return-path: <no-reply@zaym-club.ru>
Authentication-Results: mxs.mail.ru; spf=(invalid) () smtp.mailfrom=no-reply@zaym-club.ru smtp.helo=mail1.re.pm15.ru;
dkim=pass header.i=mail1.re.pm15.ru
Received-SPF: none
Received: from mail1.re.pm15.ru ([1.1.1.1]:57381)
by mx25.mail.ru with esmtp (envelope-from <no-reply@zaym-club.ru>)
id 1bI0NS-0003Xs-F8
for my-mail@mail.ru; Wed, 29 Jun 2016 00:17:05 +0300
Date: Tue, 28 Jun 2016 21:17:01 +0000
To: "my-mail@mail.ru" <my-mail@mail.ru>
From: =?utf-8?B?0JHQsNC90LrRgdC/0YDQvg==?= <no-reply@zaym-club.ru>
Reply-To: =?utf-8?B?0JHQsNC90LrRgdC/0YDQvg==?= <no-reply@zaym-club.ru>
Subject: test
Message-ID: <f2cb244693ff0f74e6531d488ce43078@mail.mail1.re.pm15.ru>
...
List-Unsubscribe: <link>
List-Id: =?utf-8?B?dm02NDJtcTB3cTFkZSA80JHQsNC90LrRgdC/0YDQviAjND4=?=
X-Report-Abuse: Please report abuse for this campaign here: link
Feedback-ID: ep395hmq82153:so64466nmoc93:vm642mq0wq1de:gh5698ak62359
X-Postmaster-Msgtype: ep395hmq82153
X-Sender: bounce@mail.mail1.re.pm15.ru
X-Receiver: my-mail@mail.ru
X-Mw-Mailer: PHPMailer - 5.2.14
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_5171e0e29680ad885b8217151052f081"
X-Mru-Authenticated-Sender: no-reply@zaym-club.ru
 

twisted1919

Administrator
Staff member
Is your smtp server exim? If that's the case, then this is the issue, exim needs special configuration in order to allow address spoofing.
 

twisted1919

Administrator
Staff member
I see, while i do think mailwizz sends proper data, i think we can do one more test.
What mailer are you using from backend > settings > common ? Can you switch the mailers and see if this gets fixed ?
 

Niko

Active Member
Hello
I want set the delivery as on behalf of
What file and row i need to edit for set our pool ips?
Thx
/home/app/public_html/apps/customer/views/sending_domains/_verify-domain.php:
/home/app/public_html/apps/backend/views/sending_domains/_verify-domain.php:

Thx
 
Top