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> <curtis@maurand.com> 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 bgcolor="#FFFFFF" text="#000000"><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 href="mailto:curtis@maurand.com">curtis@maurand.com</a><br />
207-252-7748</div>
</td></tr></tbody></table>
</p></span></div></blockquote>