Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-10-2011, 03:48 PM
Active Member
 
Posts: 43
Default [SOLVED] DKIM milter not working after upgrade to version 7

I just found that my opendkim is not adding dkim header everytime I send email. Also when I Add below config on main.cf and reload postfix it's gone... please help thanks.

smtpd_milters = inet:localhost:8891
non_smtpd_milters = inet:localhost:8891
milter_protocol = 2
milter_default_action = accept
Reply With Quote
  #2 (permalink)  
Old 02-15-2011, 06:42 AM
Active Member
 
Posts: 32
Default

I experienced the same issue and have yet to receive a relevant answer or solution... I was using port 8092 for a listener on my MailArchiva server and had to end up changing it to port 7026, which is the default specified in the Zimbra Admin console.

If you can change the listener port for opendkim (/etc/opendkim.conf), then navigate to the Zimbra Admin Console, go 'Server Settings' > 'MTA' tab > and check the 'Milter Server' box. Add your hostname/IP, save your settings and issue a 'zmmtactl restart'.

It seems to me that if a parameter appears in the main.cf file (even if it has no arguments specified) it WILL be overwritten, which might mean the non_smtpd_milters parameter won't stick, but if you add the milter_protocol and milter_default_action parameters, they should hold -- I know sender_bcc_maps stick since I use that. If I get a few minutes I'll try to add these to my test install.
Reply With Quote
  #3 (permalink)  
Old 02-15-2011, 03:25 PM
Active Member
 
Posts: 43
Default

Thanks working now... ^^
Reply With Quote
  #4 (permalink)  
Old 02-16-2011, 06:10 AM
Active Member
 
Posts: 32
Default Answered my own question...

Well, of course I find the attribute after the fact, but....

Verify the milter bind port:

Code:
zmprov gs mail.server.com zimbraMilterBindPort
Should return the default 7026

Modify the milter bind port for openDKIM :

Code:
zmprov ms mail.server.com zimbraMilterBindPort 8891
Make other changes directly to the main.cf file and restart MTA:

Code:
zmmtactl restart
Reply With Quote
  #5 (permalink)  
Old 04-26-2011, 01:02 PM
Intermediate Member
 
Posts: 19
Default

Sorry for bumping an old (?) thread but have a question in regard to this exact problem.
I have a working Mailarchiva because of which I needed a port change from default one. So in order to have Mailarchiva still working and DKIM along with it, what I need to do? Do I need to add a line like this to main.cf:
Code:
smtpd_milters = inet:mailarchiva_IP:mailarchiva_port, inet:localhost:dkim_port
Have in mind that MailArchiva is set to another server and not the one holding Zimbra. Is this the right way? If yes, what needs to be changed in regards to milter_default_action? Milter_default_action is set to tempfail because of MailArchiva, but I see I have to change it to 'accept' because of dkim?

And in my case, what needs to be set as zimbraMilterBindPort so that I could have MailArchiva and dkim working together?

Thanks!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.