From: Igor Novgorodov <i.novgoro...@kr-pro.ru>
Date: Mon, 23 Mar 2009 10:45:38 +0300
> 
> You need to specify selector with -S option.
> Otherwise dk-filter sees it as a NULL string, and assert crashes.
> 
> 
>

Doesn't seem to help it. Here is what I do (to refresh):

dk-filter -p inet:20...@localhost -i /etc/mail/smtp_servers -c nofws -d 
/etc/postfix/config/dbmail_domains.lst -D -H -s /etc/mail/dk_keylist -k -l -S 
dummy_selector -f

Then I send a message with a From matching one of the lines in dk_keylist.
The moment DATA finishes, I get:

dk-filter: util.c:47: dk_sterilize: Assertion `str != ((void *)0)' failed.

The same happens if I remove the -S dummy option.
I am confident this has nothing to do with postfix because the following
"just works"(tm):

dk-filter -p inet:20...@localhost -i /etc/mail/smtp_servers -c nofws -d 
promo.<y>.com -s /etc/mail/rsa_domainkeys/promo_<y>_com_dk_1 -l -S 
promo_<y>_com_dk_1 -f

Contents of files:


======================
r...@arzamas:/etc/init.d# cat /etc/mail/smtp_servers
# This is an exhaustive list of addresses from which connections could be made
# to the dk/dkim milters. Any such connection is also implicitly treated
# as sign-only.

localhost
mail.<x>.com
promo.<y>.com
mx1.<z>.com


======================
r...@arzamas:/etc/init.d# cat /etc/postfix/config/dbmail_domains.lst
<x>.com
<y>.com
<z>.com
<some other unrelated domains - this is a shared file>



======================
r...@arzamas:/etc/init.d# cat /etc/mail/dk_keylist
*...@promo.<y>.com:/etc/mail/rsa_domainkeys/promo_<y>_com_dk_1




I hope someone can resolve this for me, thanks.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to