• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Ubuntu Plesk and DKIM Setup

Lloyd_mcse

Silver Pleskian
Plesk Guru
Hi guys,
I have a couple of questions on setting up DKIM on a Ubuntu 12.04.4 LTS Plesk 11.5.30 #29 server.
I use a little plain Ubuntu 12.04.4 LTS VPS setup (postfix/dovecot) for my personal domains and have DKIM running on there and from what I can tell installing OpenDKIM wouldn't interfere with Plesk, I'd just have to maintain it myself.
So my questions, am I missing something and has anyone else done it without issues?

Thanks in advance for your help/thoughts
Kind regards

Lloyd
 
Last edited:
Ok, well I've installed OpenDKIM and it's working great :)
However, now DomainKeys are not.
I'm getting this error..

postfix/cleanup[28162]: warning: milter inet:127.0.0.1:12768: can't read SMFIC_HEADER reply packet header: Success

Here's the milter section /etc/postfix/main.cf

# DKIM & DomainKeys
milter_default_action = accept
milter_protocol = 2
smtpd_milters = inet:127.0.0.1:12768,inet:127.0.0.1:12345
non_smtpd_milters = inet:127.0.0.1:12768,inet:127.0.0.1:12345

inet:127.0.0.1:12768 - DomainKeys
inet:127.0.0.1:12345 - DKIM

Any ideas?
Thanks for any input.
Regards

Lloyd
 
Do you have any cron tasks for pc-remote service which serves as Milter-server for Postfix? Check it with:

# crontab -l

Disable these tasks if they are exists.
 
Hi Igor,
here's the output of crontab -l

me@server:~# crontab -l
7,27,47 * * * * /usr/lib/plesk-9.0/postfix-poplockdb-clean
0 1 * * 1 /opt/psa/libexec/modules/watchdog/cp/secur-check
0 1 * * 1 /opt/psa/libexec/modules/watchdog/cp/send-report weekly
10 1 * * * /opt/psa/libexec/modules/watchdog/cp/clean-sysstats
15 1 * * * /opt/psa/libexec/modules/watchdog/cp/pack-sysstats day
15 1 * * 1 /opt/psa/libexec/modules/watchdog/cp/pack-sysstats week
15 1 1 * * /opt/psa/libexec/modules/watchdog/cp/pack-sysstats month
15 1 1 * * /opt/psa/libexec/modules/watchdog/cp/pack-sysstats year
20 1 * * * /opt/psa/libexec/modules/watchdog/cp/clean-events
0 3 * * 7 /opt/psa/libexec/modules/watchdog/cp/clean-reports
me@server:~#

Thanks in advance for any help
Kind regards

Lloyd
 
Last edited:
I'm not sure why but DomainKeys still don't sign outgoing mail. Incoming mail is checked along with DKIM.
Any ideas?
Thanks in advance for any help
Regards

Lloyd
 
Had chance to have a fiddle with this, I changed the milter_protocol to 6 and all is good.

# DKIM & DomainKeys
milter_default_action = accept
milter_protocol = 6
smtpd_milters = inet:127.0.0.1:12768,inet:127.0.0.1:12345
non_smtpd_milters = inet:127.0.0.1:12768,inet:127.0.0.1:12345

==========================================================
Summary of Results
==========================================================
SPF check: pass
DomainKeys check: pass
DKIM check: pass
Sender-ID check: pass
SpamAssassin check: ham
==========================================================

Now, we just need more characters for TXT records so we can have 2048bit DKIM keys. :)
 
Back
Top