Postfix not communicating with opendkim

opendkimpostfix

I want to setup automatic signing with DKIM for all outgoing emails. This ir virtual private server and hosts a single website.
I have tried lots of tutorials on how to implement dkim email signing, but when i send email, anything related to dkim does not even show in syslog. Server is Ubuntu 14.04.

Postfix:

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

opendkim.conf:

Syslog                  yes
LogWhy                  yes
LogResults              yes
Mode                    s
Domain                  *
KeyFile                 /etc/opendkim/email.key
Selector                email
Socket                  inet:8892@localhost

All that is showing when i start opendkim is

Jan 15 11:57:55 xxx opendkim[19947]: OpenDKIM Filter: mi_stop=1
Jan 15 11:57:55 xxx opendkim[19947]: OpenDKIM Filter v2.9.1 terminating with status 0, errno = 0
Jan 15 11:57:55 xxx opendkim[19999]: OpenDKIM Filter v2.9.1 starting (args: -x /etc/opendkim.conf -u opendkim -P /var/run/opendkim/opendkim.pid)

This is what happens after postfix restart and mail sending:

Jan 15 15:55:52 example postfix/master[21899]: daemon started -- version 2.11.0, configuration /etc/postfix
Jan 15 15:55:54 example named[491]: client 82.146.43.2#14622 (example.ru): query (cache) 'example.ru/SOA/IN' denied
Jan 15 15:56:00 example opendkim[21598]: OpenDKIM Filter: mi_stop=1
Jan 15 15:56:00 example opendkim[21598]: OpenDKIM Filter v2.9.1 terminating with status 0, errno = 0
Jan 15 15:56:00 example opendkim: "X-Header" deprecated; use "SoftwareHeader" instead
Jan 15 15:56:00 example opendkim[21912]: OpenDKIM Filter v2.9.1 starting (args: -x /etc/opendkim.conf -u opendkim -P /var/run/opendkim/opendkim.pid)

Jan 15 15:56:17 example postfix/pickup[21902]: 73C043C7C: uid=33 from=<zet@example.ru>
Jan 15 15:56:17 example postfix/cleanup[21922]: 73C043C7C: message-id=<1421326577.54b7b8f16b84b@www.example.ru>
Jan 15 15:56:17 example postfix/qmgr[21903]: 73C043C7C: from=<zet@example.ru>, size=954, nrcpt=1 (queue active)
Jan 15 15:56:18 example postfix/smtp[21924]: 73C043C7C: to=<web-y5pBEq@mail-tester.com>, relay=mail-tester.com[37.59.112.152]:25, delay=0.6, delays=0.02/0/0.44/0.13, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 0366B1241E58)
Jan 15 15:56:18 example postfix/qmgr[21903]: 73C043C7C: removed

Best Answer

Fixed it. I don't know how but I had no_milters set in /etc/postfix/master.cf in "pickup" service. It prevents postfix to send email to milter.