DKIM signing with amavis (dig shows the record propagated)
/dev/rob0
rob0 at gmx.co.uk
Wed Dec 19 00:09:24 CET 2012
On Tue, Dec 18, 2012 at 03:04:47PM -0500, Todor Todorov wrote:
> I know this question has been asked before and I swear, I read
> everything I could find on the net. Still, amavisd-new testkeys
> results in "invalid (public key: not available)" and I fail to
> sign my mail.
>
> Here is my setup... This is a Ubuntu 11.04 server with Amavisd-new
> 2.6.5 and postfix 2.8.5. I created my signing key with
> 'amavisd-new genrsa /etc/amavis/meltoactive-dkim.com.key.pem' and
> changed the amavis config as follows
>
> (...in file /etc/amavis/comf.d/21-ubuntu_defaults...)
> $enable_dkim_verification = 1;
> $enable_dkim_signing = 1;
> dkim_key('meltoactve.com', 'dkim',
meltoactve.com -- I suspect you really wanted "meltoactive.com" here.
meltoactve.com : wrong
meltoactive.com : right
> '/etc/amavis/meltoactive-dkim.com.key.pem');
> @dkim_signature_options_bysender_maps = ( { '.' => { ttl => 21*24*3600,
> c => 'relaxed/simple' } } );
> @mynetworks = qw(127.0.0.0/8);
>
> amavisd-new showkeys gives me the entry I have to make into DNS, which I
> did and after a while dig gives back:
> $> dig -t txt dkim._domainkey.meltoactive.com
snip
--
http://rob0.nodns4.us/ -- system administration and consulting
Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:
More information about the amavis-users
mailing list