Hello, At 00:42 29-04-2008, Zbigniew Szalbot wrote: >This setup is purely for testing purposes before I implement sth >similar one a production machine. > >1/ startup with -d example.com > >I have edited /usr/local/etc/mail/dkim-filter.conf and /etc/rc.conf > >$ grep dkim /etc/rc.conf >milterdkim_enable="YES" >milterdkim_uid='dkimfilter' >milterdkim_cfgfile="/usr/local/etc/mail/dkim-filter.conf" > >When I start the milter, I get: > >Apr 29 09:26:05 szalbot dkim-filter[6267]: Sendmail DKIM Filter >v2.5.2 starting (args: -b sv -c simple/simple -m MSA -l -p >local:/var/run/milterdkim/filter -u dkimfilter -P >/var/run/milterdkim/pid -x /usr/local/etc/mail/dkim-filter.conf -d example.com) > >Now I am a bit confused as to why it starts with -d example.com
The milter startup script that comes with the FreeBSD port uses example.com as the default setting for milterdkim_domain. Set milterdkim_domain as one of your domains to get around that. >2/ only one domain gets signed > >The keylist file contains the following entries >$ cat /var/db/domainkeys/keylist >[EMAIL PROTECTED]:szalbot.homedns.org:/var/db/domainkeys/szalbot.key.pem >[EMAIL PROTECTED]:domszalbot.dyndns.org:/var/db/domainkeys/domszalbot.key.pem > >When I send email from szalbot.homedns.org domain, they get signed. >When I do it from domszalbot.dyndns.org domain, mails are not >signed. I'd be happy to debug it but not sure where to start. In your dkim-filter.conf file, set the domains to be signed as follows: Domain szalbot.homedns.org,domszalbot.dyndns.org You could define the domains with the milterdkim_domain setting. Emails sent through the MSA port or using SMTP AUTH will be signed if the email address matches the signing domains as defined by the keylist. The following setting logs why the message gets signed or verified. LogWhy Yes You can debug by reviewing your maillog. If your emails are not being DKIM-signed, post an extract of the maillog showing an email being submitted. Regards, -sm ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ dkim-milter-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss
