Author Topic: DKIM with Zentyal development edition  (Read 7709 times)

gcl

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +5/-0
    • View Profile
DKIM with Zentyal development edition
« 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.

al_nomad

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +1/-0
    • View Profile
Re: DKIM with Zentyal development edition
« Reply #1 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.

Laurent Dinclaux

  • Zen Monk
  • **
  • Posts: 83
  • Karma: +5/-0
    • View Profile
    • Gecka
Re: DKIM with Zentyal development edition
« Reply #2 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.
Laurent

SamE

  • Zen Apprentice
  • *
  • Posts: 31
  • Karma: +2/-0
    • View Profile
Re: DKIM with Zentyal development edition
« Reply #3 on: October 16, 2019, 05:01:14 pm »
Thank you gcl, this worked perfectly!