Results 1 to 5 of 5

Thread: [SOLVED] DKIM milter not working after upgrade to version 7

  1. #1
    t0kneneng is offline Active Member
    Join Date
    Aug 2008
    Posts
    44
    Rep Power
    6

    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

  2. #2
    liveaverage's Avatar
    liveaverage is offline Active Member
    Join Date
    Apr 2008
    Location
    Gainesville, FL
    Posts
    32
    Rep Power
    7

    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.

  3. #3
    t0kneneng is offline Active Member
    Join Date
    Aug 2008
    Posts
    44
    Rep Power
    6

    Default

    Thanks working now... ^^

  4. #4
    liveaverage's Avatar
    liveaverage is offline Active Member
    Join Date
    Apr 2008
    Location
    Gainesville, FL
    Posts
    32
    Rep Power
    7

    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

  5. #5
    kaosmonk is offline Intermediate Member
    Join Date
    Apr 2011
    Posts
    19
    Rep Power
    4

    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Debian - Upgrade from 4.5.6
    By magikman in forum Installation
    Replies: 1
    Last Post: 01-19-2008, 12:59 PM
  2. Replies: 1
    Last Post: 11-10-2007, 08:03 PM
  3. 4.0.4 to 4.5.6 upgrade failed in network edition
    By chenthil in forum Administrators
    Replies: 1
    Last Post: 08-27-2007, 09:36 AM
  4. Replies: 6
    Last Post: 07-04-2007, 08:36 AM
  5. Admin windows shows GA version after 3.1 NE upgrade
    By sbjordal in forum Installation
    Replies: 1
    Last Post: 05-03-2006, 09:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •