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
[email protected] <mailto:[email protected]>
207-252-7748

Reply via email to