Hi, Did you wait long enough for the key to propagate?
The dkim key was added correctly as TXT record in the correct name-value format? Regards, Alrik On Wed, Nov 11, 2009 at 9:29 AM, Eric Magutu <emag...@gmail.com> wrote: > Hi, > I am trying to use amavis to sign my mail. I am running exim 4.63 and > amavisd-new-2.6.4 (20090625). I followed the following procedure > > $ amavisd genrsa /var/db/dkim/example-foo.key.pem > > add to amavisd.conf: > > $enable_dkim_verification = 1; > $enable_dkim_signing = 1; > dkim_key('iwayafrica.com', 'foo', '/var/db/dkim/example-foo.key.pem'); > @dkim_signature_options_bysender_maps = ( > { '.' => { ttl => 21*24*3600, c => 'relaxed/simple' } } ); > @mynetworks = qw(0.0.0.0/8 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 > 192.168.0.0/16); # list your internal networks > > run: > > $ amavisd showkeys > > add the public key (as displayed) to your DNS zone, increment SOA > sequence number and reload DNS; then test signing and a published key: > > $ amavisd testkeys > > I keep getting the following error when I run the amavisd testkeys command > > amavisd testkeys > TESTING#1: foo._domainkey.iwayafrica.com => invalid (public key: > not available) > > Can anyone please tell me what I'm doing wrong? > > -- > Regards, > Eric Magutu > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > AMaViS-user mailing list > AMaViS-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amavis-user > AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 > AMaViS-HowTos:http://www.amavis.org/howto/ > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/