dkim question

Curtis Maurand curtis at maurand.com
Mon Oct 13 21:48:57 CEST 2014


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.

I added

$enable_dkim_verification = 1;
$enable_dkim_signing = 1;
dkim_key('xyonet.com','a','var/db/dkim/xyonet.key.pem');
@dkim_signature_option_bysender_maps = ( { '.' => { ttl => 21*24**36, 
C'relaxed/simple' } } );

I run:amavisd-new testkeys

@mynetworks = qw( 127.0.0.0/8 68.233.237.26 68.233.237.37 68.233.237.38
192.168.10.0/24 );


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.

  What gives?

-- 
Curtis Maurand
curtis at maurand.com <mailto:curtis at maurand.com>
207-252-7748
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20141013/407baec0/attachment.html>


More information about the amavis-users mailing list