<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I was going through the docs on dkim signing.  I started following
    the instructions for the impatient.  First they're not written very
    well.  Second, the sample code doesn't work.  I'm running Ubuntu LTS
    12.04 so the settings go in /etc/amavisd/conf.d/50-user.<br>
    <br>
    I added <br>
    <br>
    <tt>$enable_dkim_verification = 1;</tt><tt><br>
    </tt><tt>$enable_dkim_signing = 1;</tt><tt><br>
    </tt><tt>dkim_key('xyonet.com','a','var/db/dkim/xyonet.key.pem');</tt><tt><br>
    </tt><tt>@dkim_signature_option_bysender_maps = ( { '.' => { ttl
      => 21*24**36, C</tt><tt> </tt><tt>'relaxed/simple' } } );</tt><tt><br>
    </tt><br>
    I run:<tt> amavisd-new testkeys</tt><tt><br>
    </tt><tt><br>
    </tt><tt>@mynetworks = qw( 127.0.0.0/8 68.233.237.26 68.233.237.37
      68.233.237.38</tt><tt><br>
    </tt><tt>192.168.10.0/24 );</tt><tt><br>
    </tt><br>
    <br>
    Error in config file "/etc/amavis/conf.d/50-user": Global symbol
    "@dkim_signature_option_bysender_maps" requires explicit package
    name at /etc/amavis/conf.d/50-user line 32.<br>
    <br>
     What gives?<br>
    <br>
    <div class="moz-signature">-- <br>
      Curtis Maurand<br>
      <a href="mailto:curtis@maurand.com">curtis@maurand.com</a><br>
      207-252-7748</div>
  </body>
</html>