Duh! Wow..... don't let me tell how that makes me feel :-(

Thanks for catching that!

Best regards,
Todor

On 12/18/2012 6:09 PM, /dev/rob0 wrote:
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

Reply via email to