foo is the selector. See the instructions of the steps your followed in your first email. Or see: http://www.ijs.si/software/amavisd/amavisd-new-docs.html#dkim-am-sign
It is explained there. That's what I followed. Alrik On Wed, Nov 11, 2009 at 10:28 AM, Eric Magutu <emag...@gmail.com> wrote: > How does the foo part come about? > I followed this guide > http://www.ijs.si/software/amavisd/amavisd-new-docs.html#dkim-impatient > what do i need to change ? > > > On Wed, Nov 11, 2009 at 12:14 PM, Alrik Bronsema <alr...@gmail.com> wrote: >> >> When I do digg txt mydomain.com, I don't see the dkim key. But in my >> dns manager, I see: >> >> Name = abc._domainkey.mydomain.com >> Value = v=DKIM1; p=MIGfMA0G..etc >> >> In your case, the name should be "foo._domainkey.iwayafrica.com". But >> I can't see the foo part. >> >> Regards, >> Alrik >> >> On Wed, Nov 11, 2009 at 10:03 AM, Eric Magutu <emag...@gmail.com> wrote: >> > Hi, >> > I waited long enough and this is the result of dig iwayafrica.com txt >> > iwayafrica.com. 4 IN TXT "v=DKIM1\; >> > >> > p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDSeEyLeTZZtxB9x+UA9h0OxTP7/2e4OUBHzTvE1wbGOllqTCP4neXWP6RaJK9TZI6UkmQTn/VbmIIGFZH7plAOLrKSrjw1ICWZ4QsMBCwFZGdNfdZUyFG4KVxrwoBskEWqCPnNCkyoMKciHpQVGnQdgo8RZkWiJZxd7oWxGBqjuQIDAQAB" >> > >> > seems ok to me >> > >> > On Wed, Nov 11, 2009 at 11:55 AM, Alrik Bronsema <alr...@gmail.com> >> > wrote: >> >> >> >> 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/ >> >> > >> > >> > >> > >> > -- >> > Regards, >> > Eric Magutu >> > >> > > > > > -- > 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/