Zentyal Forum, Linux Small Business Server

Zentyal Server => Email and Groupware => Topic started by: gcl on November 21, 2016, 03:24:44 pm

Title: DKIM with Zentyal development edition
Post by: gcl on November 21, 2016, 03:24:44 pm
I've seen this asked about a few times, but nobody ever answered. I got it working, in IMAP/SMTP, Openchange, and SoGo. Here's how

I followed this guide https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-dkim-with-postfix-on-debian-wheezy

Skip the parts of the guide which deal with modifications to /etc/postfix/main.cf. Instead, modify /usr/share/zentyal/stubs/mail/main.cf.mas

and add these 4 lines to the bottom

milter_protocol = 2
milter_default_action = accept
smtpd_milters = inet:localhost:12301
non_smtpd_milters = inet:localhost:12301

Make sure you set up the txt records in your public DNS record properly, then test using mail-tester.com or your favorite DKIM verifier.
Title: Re: DKIM with Zentyal development edition
Post by: al_nomad on July 03, 2018, 02:47:59 pm
That was very helpful,,,,,,,,,,,,, actually, it helped me a lot.

After following the steps and the link provided here, I managed to configure DKIM properly.
In my opinion, DKIM is a basic requirement for Zentyal mail server.

Thank you indeed.
Title: Re: DKIM with Zentyal development edition
Post by: Laurent Dinclaux on May 18, 2019, 01:57:16 am
You should never modify /usr/share/zentyal/stubs/mail/main.cf.mas but copy it in /etc/zentyal/stubs/mail, then modify that file.

Read the documentation.
Title: Re: DKIM with Zentyal development edition
Post by: SamE on October 16, 2019, 05:01:14 pm
Thank you gcl, this worked perfectly!