<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    Thank you, that did it.  I found other instructions that were much
    easier, however.  I just enabled it for 4 domains.  Let's see what
    happens.<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 10/13/2014 5:10 PM, Leveau Stanislas
      wrote:<br>
    </div>
    <blockquote cite="mid:c99cd87a3d0996fc.543c5bf9@ac-caen.fr"
      type="cite">hi,<br>
      <br>
      There is a fault in the option<br>
      <br>
      <span><tt>@dkim_signature_option<font size="6"><b>s</b></font>_bysender_maps</tt></span><br>
      <br>
      regards<br>
      Stanislas<br>
      <br>
      <span>Le 13/10/14, <b class="name">Curtis Maurand </b>
        <a class="moz-txt-link-rfc2396E" href="mailto:curtis@maurand.com"><curtis@maurand.com></a> a écrit :</span>
      <blockquote cite="mid:543C2CA9.4080009@maurand.com"
        class="iwcQuote" style="border-left: 1px solid #00F;
        padding-left: 13px; margin-left: 0;" type="cite">
        <div class="mimepart text html"><span>
            <p>
              <meta content="text/html; charset=ISO-8859-1"
                http-equiv="content-type">
              <table>
                <tbody>
                  <tr>
                    <td text="#000000" bgcolor="#FFFFFF">
                      <p> 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>
                      </p>
                      <div class="moz-signature">-- <br>
                        Curtis Maurand<br>
                        <a moz-do-not-send="true"
                          href="mailto:curtis@maurand.com">curtis@maurand.com</a><br>
                        207-252-7748</div>
                    </td>
                  </tr>
                </tbody>
              </table>
            </p>
          </span></div>
      </blockquote>
    </blockquote>
    <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>