Results 1 to 3 of 3

Thread: zimbra 8 openDKIM - milter issue

  1. #1
    Join Date
    Sep 2012
    Posts
    5
    Rep Power
    3

    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@192.168.0.5: Cannot assign requested address
    Oct 25 16:47:04 mta opendkim[5274]: OpenDKIM Filter: Unable to create listening socket on conn inet:8465@192.168.0.5

    192.168.0.5 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/opendkim.conf.in 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 (192.168.0.5 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 opendkim.conf.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
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    I've filed https://bugzilla.zimbra.com/show_bug.cgi?id=78233 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
    Posts
    5
    Rep Power
    3

    Default

    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
  •