Bug#481072: dk-filter reliably crashes upon connection from postfix

2010-01-23 Thread Jan Wagner
Hi there,

On Friday 17 April 2009, Peter Rabbitson wrote:
 I hope someone can resolve this for me, thanks.

any progress here? As this is an RC bug and looking on the popcon usage, you 
risk to get the package removed from squeeze, as we freeze in the near future.

Thanks and with kind regards, Jan.
-- 
Never write mail to w...@spamfalle.info, you have been warned!
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GIT d-- s+: a C+++ UL P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h r+++ y 
--END GEEK CODE BLOCK--



signature.asc
Description: This is a digitally signed message part.


Bug#481072: dk-filter reliably crashes upon connection from postfix

2010-01-23 Thread Peter Rabbitson
Jan Wagner wrote:
 Hi there,
 
 On Friday 17 April 2009, Peter Rabbitson wrote:
 I hope someone can resolve this for me, thanks.
 
 any progress here? As this is an RC bug and looking on the popcon usage, you 
 risk to get the package removed from squeeze, as we freeze in the near future.
 
 Thanks and with kind regards, Jan.

I will recheck later today/tomorrow and report. Thank you for the reminder.



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



Bug#481072: dk-filter reliably crashes upon connection from postfix

2009-04-17 Thread Peter Rabbitson
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



Bug#481072: dk-filter reliably crashes upon connection from postfix

2008-12-13 Thread Quentin Smith
Using the information from the bug report, I am unable to replicate this 
crash. Can you please attach a tarball of your /etc/postfix and /etc/mail 
directories (removing private information)?


Thanks,
--Quentin



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



Bug#481072: dk-filter reliably crashes upon connection from postfix

2008-05-13 Thread Peter Rabbitson
Package: dk-filter
Version: 1.0.0.dfsg-1
Severity: grave
Justification: renders package unusable


After setting up multiple key dk-filter with postfix I started experiencing the
following problems any time postfix attempted to contact the milter:

May 13 09:19:06 Arzamas postfix/cleanup[24894]: warning: milter 
inet:127.0.0.1:20028: can't read SMFIC_EOH reply packet header: Success
May 13 09:19:06 Arzamas postfix/cleanup[24894]: 8D809B1B1C: milter-reject: 
END-OF-MESSAGE from localhost[127.0.0.1]: 4.7.1 Service unavailable - try again 
later; from=WITHHELD to=WITHHELD proto=ESMTP helo=WITHHELD

I executed the milter in no-forking mode and this is what I got:

[EMAIL PROTECTED]:~# /usr/bin/dk-filter -u dk-filter -P 
/var/run/dk-filter/dk-filter.pid -p inet:[EMAIL PROTECTED] -c nofws -d 
/etc/postfix/config/dbmail_domains.lst -D -s /etc/mail/dk.keys -k -l -f
dk-filter: util.c:47: dk_sterilize: Assertion `str != ((void *)0)' failed.
Aborted

If I go back to the -s /etc/mail/arzamas_dk setting and remove -k, everything 
works as expected. I assume that dk-filter can not cope with the way I have
formatted my dk.keys. Please advise


Here are my setup details:

* both postfix and dk-filter are latest unaltered packages from debian testing
* no milter options are present in main.cf ( postconf -n | grep milter returns 
empty )
* the milter is specified as '-o smtpd_milters=inet:127.0.0.1:20028' at the 
smtpd
process accepting back virus scanned mail



Contents of /etc/mail/dk.keys:
==
[EMAIL PROTECTED]:/etc/postfix# cat /etc/mail/dk.keys 
[EMAIL PROTECTED]WITHHELD:/etc/mail/arzamas_dk

[EMAIL PROTECTED]:/etc/postfix# 


where /etc/mail/arzamas_dk was generated by:
openssl genrsa -out /etc/mail/arzamas_dk 1024



The full configuration of the loopback smtpd:

# direct pass-through daemon (feedback from mail scanning)
# carries out domainkeys signing/verification
localhost:20026 inet n  -   -   -   -   smtpd
-o soft_bounce=yes
-o content_filter=
-o inet_interfaces=loopback-only
-o disable_dns_lookups=yes
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_inet_interfaces,reject
-o smtpd_data_restrictions=
-o smtpd_end_of_data_restrictions=
-o smtpd_etrn_restrictions=
-o smtpd_hard_error_limit=19
-o smtpd_soft_error_limit=20
-o smtpd_error_sleep_time=0
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o 
receive_override_options=no_header_body_checks,no_unknown_recipient_checks
-o smtpd_milters=inet:127.0.0.1:20028



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#481072: dk-filter reliably crashes upon connection from postfix

2008-05-13 Thread Mike Markley
I'm interpreting this to mean that it doesn't crash until Postfix
actually makes the Milter callout to dk-filter; is that correct? If so,
then it's probably not an issue with the formatting of the keys file, as
that is read on startup.

Would you be able to grab an strace?

-- 
Mike Markley [EMAIL PROTECTED]

She won' go Warp 7, Cap'n!  The batteries are dead!



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]