Results 1 to 3 of 3

Thread: zimbra 8 openDKIM - milter issue

  1. #1
    Join Date
    Sep 2012
    Rep Power

    Default zimbra 8 openDKIM - milter issue

    openDKIM problem with milters - I was having a problem with getting a proper reboot of the MTA with mailarchiva setup as a milter server. openDKIM was barfing:

    Oct 25 16:47:04 mta opendkim[5274]: OpenDKIM Filter: Unable to bind to port inet:8465@ Cannot assign requested address
    Oct 25 16:47:04 mta opendkim[5274]: OpenDKIM Filter: Unable to create listening socket on conn inet:8465@ is my mailarchiva server, openDKIM *should* be running trying to find this port open on the localhost.

    The problem is that the Zimbra config for openDKIM includes the variable %%zimbraMilterBindAddress%% in /opt/zimbra/conf/ under the Socket attribute.

    Socket %%zimbraInetMode%%:8465@%%zimbraMilterBindAddress% %

    Thus if you change the milter bind address while the MTA and mailarchiva server are running it appears to work, however upon reboot, the opendkim file gets rewritten from source and then openDKIM starts complaining about trying to run on a server ( instead of localhost). This stops the MTA from working.

    Since openDKIM is only going to be running on the localhost I rewrote the line in to

    Socket %%zimbraInetMode%%:8465@localhost

    Restarting the MTA now rewrites opendkim.conf with the proper configuration and starts correctly.

    I'm sure the Zimbra developers will have a more graceful solution, but for now, if you are running into the openDKIM error, this is a viable workaround.

  2. #2
    Join Date
    May 2007
    Rep Power


    I've filed for this. You are quite correct, it should just be using local host.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    Zimbra :: the leader in open source messaging and collaboration

  3. #3
    Join Date
    Sep 2012
    Rep Power


    Thanks Quanah! Appreciated as always.

Similar Threads

  1. Replies: 13
    Last Post: 01-22-2013, 06:29 AM
  2. Replies: 0
    Last Post: 10-06-2012, 05:07 AM
  3. digital signature with opendkim in zimbra
    By breejesh in forum Administrators
    Replies: 0
    Last Post: 07-04-2012, 01:00 AM
  4. Zimbra - Postfix - Milter issue
    By prosmart in forum Administrators
    Replies: 1
    Last Post: 08-29-2011, 06:46 PM
  5. Replies: 2
    Last Post: 08-25-2011, 03:41 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