<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/dkimproxy/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/dkimproxy/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 26 Jan 2024 14:49:23 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/dkimproxy/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Selector specified for a domain in sender map file doesn't appear to be applied</title><link>https://sourceforge.net/p/dkimproxy/bugs/40/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Trying to set different selector than the default for a specific domain in the sender map file doesn't seem to work.  The email is still being signed with the default selector.&lt;/p&gt;
&lt;p&gt;dkimproxy_out.conf:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;# specify the selector (i.e. the name of the key record put in DNS)
selector  mail
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;sender map file:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;example.com           dkim(d=example.com,s=alt_selector)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Test emails (via SWAKS) are signed with default selector (mail)&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pavneet Arora</dc:creator><pubDate>Fri, 26 Jan 2024 14:49:23 -0000</pubDate><guid>https://sourceforge.netf415160a39dfa84edcabe46ed6282987d5947097</guid></item><item><title>Port the deprecated INET6 code to use IO::Socket::IP </title><link>https://sourceforge.net/p/dkimproxy/bugs/39/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The &lt;a href="https://metacpan.org/pod/IO::Socket::INET6" rel="nofollow"&gt;https://metacpan.org/pod/IO::Socket::INET6&lt;/a&gt; package has been deprecated upstream for some years now and it points to &lt;a href="https://metacpan.org/pod/IO::Socket::IP" rel="nofollow"&gt;https://metacpan.org/pod/IO::Socket::IP&lt;/a&gt; as a compatible replacement. Would it be possible to port the code to use the IP package instead?&lt;/p&gt;
&lt;p&gt;I'm attaching a tentative patch for this change.&lt;/p&gt;
&lt;p&gt;TIA&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pedro</dc:creator><pubDate>Thu, 04 Jan 2024 13:10:43 -0000</pubDate><guid>https://sourceforge.netd38f3a966bffb20f247ca377a4355cb0bed66f9a</guid></item><item><title>#38 dkimproxy.in don't close connection on postfix 2.8 and upper</title><link>https://sourceforge.net/p/dkimproxy/bugs/38/?limit=50#2fff</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Jason,&lt;/p&gt;
&lt;p&gt;Please could you modify the code of dkimproxy.in to detect the disconnection from remote without QUIT command to proper close the connection OUT from dkimproxy.in without waiting timeout. &lt;/p&gt;
&lt;p&gt;Thank's.&lt;/p&gt;
&lt;p&gt;Ludovic&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ludovic</dc:creator><pubDate>Fri, 02 Aug 2013 12:12:50 -0000</pubDate><guid>https://sourceforge.net8551471192569ca4d203d068a3d68471ac35ad95</guid></item><item><title>dkimproxy.in don't close connection on postfix 2.8 and upper</title><link>https://sourceforge.net/p/dkimproxy/bugs/38/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have just update from postfix 2.6.16 to postfix 2.8.11&lt;/p&gt;
&lt;p&gt;On postfix 2.6.16  i have :&lt;br /&gt;
Jun 11 18:12:14 dedi postfix/smtpd[24068]: Anonymous TLS connection established from filenet.ludosoft.org[82.236.203.193]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)&lt;br /&gt;
Jun 11 18:12:14 dedi postfix/smtpd[24072]: connect from dedi.ludosoft.org[127.0.0.1]&lt;br /&gt;
Jun 11 18:12:14 dedi postfix/smtpd[24068]: NOQUEUE: client=filenet.ludosoft.org[82.236.203.193]&lt;br /&gt;
Jun 11 18:12:14 dedi postfix/smtpd[24072]: BD2CF260CDA: client=filenet.ludosoft.org[82.236.203.193]&lt;br /&gt;
Jun 11 18:12:14 dedi dkimproxy.in[10747]: DKIM verify - pass; message-id=&amp;lt;4FD618DD.4060208@ludosoft.org&amp;gt;, signer=&amp;lt;llevet@ludosoft.org&amp;gt;, from=&amp;lt;llevet@ludosoft.org&amp;gt;&lt;br /&gt;
Jun 11 18:12:14 dedi postfix/cleanup[24073]: BD2CF260CDA: message-id=&amp;lt;4FD618DD.4060208@ludosoft.org&amp;gt;&lt;br /&gt;
Jun 11 18:12:14 dedi postfix/qmgr[24031]: BD2CF260CDA: from=&amp;lt;llevet@ludosoft.org&amp;gt;, size=10388, nrcpt=1 (queue active)&lt;br /&gt;
Jun 11 18:12:14 dedi postfix/smtpd[24072]: disconnect from dedi.ludosoft.org[127.0.0.1]&lt;br /&gt;
Jun 11 18:12:14 dedi postfix/smtpd[24068]: disconnect from filenet.ludosoft.org[82.236.203.193]&lt;br /&gt;
Jun 11 18:12:15 dedi lmtpunix[24041]: Delivered: &amp;lt;4FD618DD.4060208@ludosoft.org&amp;gt; to mailbox: user.llevet&lt;br /&gt;
Jun 11 18:12:15 dedi postfix/lmtp[24075]: BD2CF260CDA: to=&amp;lt;llevet@dedi.ludosoft.org&amp;gt;, orig_to=&amp;lt;root@dedi.ludosoft.org&amp;gt;, relay=dedi.ludosoft.org[public/lmtp], delay=0.55, delays=0.21/0.02/0.01/0.31, dsn=2.1.5, status=sent (250 2.1.5 Ok)&lt;br /&gt;
Jun 11 18:12:15 dedi postfix/qmgr[24031]: BD2CF260CDA: removed&lt;/p&gt;
&lt;p&gt;So process '24072' is quit close by a disconnect.&lt;/p&gt;
&lt;p&gt;And now with postfix 2.8.11 and upper : &lt;br /&gt;
Jun 11 19:40:05 dedi postfix/smtpd[4686]: connect from filenet.ludosoft.org[82.236.203.193]&lt;br /&gt;
Jun 11 19:40:05 dedi postfix/smtpd[4686]: Anonymous TLS connection established from filenet.ludosoft.org[82.236.203.193]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)&lt;br /&gt;
Jun 11 19:40:05 dedi postfix/smtpd[4689]: connect from dedi.ludosoft.org[127.0.0.1]&lt;br /&gt;
Jun 11 19:40:05 dedi postfix/smtpd[4686]: NOQUEUE: client=filenet.ludosoft.org[82.236.203.193]&lt;br /&gt;
Jun 11 19:40:05 dedi postfix/smtpd[4689]: A1AFA260CCB: client=dedi.ludosoft.org[127.0.0.1], orig_client=filenet.ludosoft.org[82.236.203.193]&lt;br /&gt;
Jun 11 19:40:05 dedi dkimproxy.in[4669]: DKIM verify - pass; message-id=&amp;lt;4FD62D74.8070805@ludosoft.org&amp;gt;, signer=&amp;lt;llevet@ludosoft.org&amp;gt;, from=&amp;lt;llevet@ludosoft.org&amp;gt;&lt;br /&gt;
Jun 11 19:40:05 dedi postfix/cleanup[4690]: A1AFA260CCB: message-id=&amp;lt;4FD62D74.8070805@ludosoft.org&amp;gt;&lt;br /&gt;
Jun 11 19:40:05 dedi postfix/qmgr[4574]: A1AFA260CCB: from=&amp;lt;llevet@ludosoft.org&amp;gt;, size=10388, nrcpt=1 (queue active)&lt;br /&gt;
Jun 11 19:40:05 dedi postfix/smtpd[4686]: proxy-accept: END-OF-MESSAGE: 250 2.0.0 Ok: queued as A1AFA260CCB; from=&amp;lt;llevet@ludosoft.org&amp;gt; to=&amp;lt;root@dedi.ludosoft.org&amp;gt; proto=ESMTP helo=&amp;lt;filenet.ludosoft.org&amp;gt;&lt;br /&gt;
Jun 11 19:40:05 dedi postfix/smtpd[4686]: disconnect from filenet.ludosoft.org[82.236.203.193]&lt;br /&gt;
Jun 11 19:40:06 dedi lmtpunix[4584]: Delivered: &amp;lt;4FD62D74.8070805@ludosoft.org&amp;gt; to mailbox: user.llevet&lt;br /&gt;
Jun 11 19:40:06 dedi postfix/lmtp[4692]: A1AFA260CCB: to=&amp;lt;llevet@dedi.ludosoft.org&amp;gt;, orig_to=&amp;lt;root@dedi.ludosoft.org&amp;gt;, relay=dedi.ludosoft.org[public/lmtp], delay=0.55, delays=0.25/0.02/0.01/0.26, dsn=2.1.5, status=sent (250 2.1.5 Ok)&lt;br /&gt;
Jun 11 19:40:06 dedi postfix/qmgr[4574]: A1AFA260CCB: removed&lt;br /&gt;
Jun 11 19:45:06 dedi postfix/smtpd[4689]: timeout after END-OF-MESSAGE from dedi.ludosoft.org[127.0.0.1]&lt;br /&gt;
Jun 11 19:45:06 dedi postfix/smtpd[4689]: disconnect from dedi.ludosoft.org[127.0.0.1]&lt;/p&gt;
&lt;p&gt;Process '30465' don't close and i'm waiting for timeout (5mn) from smtpd.&lt;/p&gt;
&lt;p&gt;And during this 5 mn i have dkimproxy.in allways connectetd : &lt;br /&gt;
[root@dedi lib]# netstat -nap |grep perl&lt;br /&gt;
tcp        0      0 127.0.0.1:10025             0.0.0.0:*                   LISTEN      4667/perl         &lt;br /&gt;
tcp        0      0 127.0.0.1:10027             0.0.0.0:*                   LISTEN      4676/perl         &lt;br /&gt;
tcp        0      0 127.0.0.1:52365             127.0.0.1:10026             ESTABLISHED 4669/perl         &lt;br /&gt;
unix  2      [ ]         DGRAM                    2885602 4669/perl   &lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;[root@dedi lib]# ps -ef |grep 4669&lt;br /&gt;
dkim      4669  4667  0 19:39 ?        00:00:00 /usr/bin/perl -I/usr/local/dkimproxy/lib /usr/local/dkimproxy/bin/dkimproxy.in --user=dkim --group=dkim --daemonize --pidfile=/usr/local/dkimproxy/var/run/dkimproxy_in.pid --hostname=dedi.ludosoft.org --conf_file=/usr/local/dkimproxy/etc/dkimproxy_in.conf&lt;/p&gt;
&lt;p&gt;Thank's.&lt;/p&gt;
&lt;p&gt;Ludovic.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ludovic</dc:creator><pubDate>Mon, 11 Jun 2012 17:46:59 -0000</pubDate><guid>https://sourceforge.net3e42599b0c9b958ed860dcadc3e136993ea470a1</guid></item><item><title>problem verifying a broken signature with an empty q tag</title><link>https://sourceforge.net/p/dkimproxy/bugs/37/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Jason,&lt;/p&gt;
&lt;p&gt;Thanks for releasing the Mail::DKIM 0.38, looks good!&lt;/p&gt;
&lt;p&gt;Some nitpicks, found by greping our log:&lt;/p&gt;
&lt;p&gt;two warnings:&lt;/p&gt;
&lt;p&gt;Apr  6 17:26:56 dorothy amavis[90842]: (90842-01) _WARN:&lt;br /&gt;
Use of uninitialized value $query_type in lc&lt;br /&gt;
at /usr/local/lib/perl5/site_perl/5.12.0/Mail/DKIM/PublicKey.pm line 86,&lt;br /&gt;
&amp;lt;GEN28&amp;gt; line 26.&lt;/p&gt;
&lt;p&gt;Apr  6 17:26:56 dorothy amavis[90842]: (90842-01) _WARN:&lt;br /&gt;
Use of uninitialized value $query_type in concatenation (.) or string&lt;br /&gt;
at /usr/local/lib/perl5/site_perl/5.12.0/Mail/DKIM/PublicKey.pm line 88,&lt;br /&gt;
&amp;lt;GEN28&amp;gt; line 26.&lt;/p&gt;
&lt;p&gt;sub fetch_async&lt;br /&gt;
{&lt;br /&gt;
my $class = shift;&lt;br /&gt;
my %prms = @_;&lt;/p&gt;
&lt;p&gt;my ($query_type, $query_options) = split(/\//, $prms{Protocol}, 2);&lt;br /&gt;
86:     if (lc($query_type) ne "dns")&lt;br /&gt;
87:     {&lt;br /&gt;
88:             die "unknown query type '$query_type'\n";&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;These warnings come in pairs as a result of verifying a broken signature&lt;br /&gt;
with an empty q tag, all coming from youtube.com ("become friends on&lt;br /&gt;
YouTube"):&lt;/p&gt;
&lt;p&gt;DomainKey-Signature: b=; c=nofws; d=youtube.com; q=; s=selector1&lt;/p&gt;
&lt;p&gt;Interestingly, the final result given by Mail::DKIM is:&lt;br /&gt;
(invalid, bad identity)&lt;/p&gt;
&lt;p&gt;while gmail.com claims:&lt;br /&gt;
(bad format)&lt;/p&gt;
&lt;p&gt;which sounds more appropriate.&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
submitted by Mark Martinec&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Long</dc:creator><pubDate>Thu, 03 Jun 2010 13:15:55 -0000</pubDate><guid>https://sourceforge.netc3780dafef62736a4ae50b72e4c29b09ff55ecfd</guid></item><item><title>We hit a DKIM bomb email on our system</title><link>https://sourceforge.net/p/dkimproxy/bugs/36/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;We hit a DKIM bomb email on our system. This single email requires 7GB&lt;br /&gt;
of ram to be verified via spamassassin or dkimverify.pl.&lt;/p&gt;
&lt;p&gt;This is first time I have ever seen this kind of dkim bomb but I'm very&lt;br /&gt;
sure this won't be last time if this inefficiency isn't being fixed.&lt;/p&gt;
&lt;p&gt;On very fast machine with it took nearly 7 minutes to verify this email&lt;br /&gt;
with dkimverify.pl.&lt;/p&gt;
&lt;p&gt;This is clearly a bomb which is designed to break ssytems using Mail::DKIM.&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
Submitted by Tuomo Soini (@d-fence.fi)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 03 Jun 2010 12:58:13 -0000</pubDate><guid>https://sourceforge.net9201c3e8424fe4fa901168d15dd79b47dd3146d3</guid></item><item><title>DNS timeout mechanism uses alarm() without resetting it</title><link>https://sourceforge.net/p/dkimproxy/bugs/35/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If the calling program is using alarm() to implement a timeout of its own, then Mail::DKIM will cause that timeout to be forgotten.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 08 Sep 2009 13:13:44 -0000</pubDate><guid>https://sourceforge.net646e7bc3a34491688bdf828822e8adb1f441290f</guid></item><item><title>Client connection to DKIMproxy does not always close</title><link>https://sourceforge.net/p/dkimproxy/bugs/34/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In version 1.2 of DKIMproxy, sometimes when a client connects directly to DKIMproxy.out, DKIMproxy.out will not close the connection properly, and the connection will hang.&lt;br /&gt;
In MySmtpProxyServer.pm, in the process_request routine, I have added to the end, the following to explicitly close the connection:&lt;br /&gt;
# Make sure the connection is closed, as otherwise it hangs occasionally&lt;br /&gt;
$server-&amp;gt;{in}-&amp;gt;close;&lt;br /&gt;
$server-&amp;gt;{out}-&amp;gt;close;&lt;/p&gt;
&lt;p&gt;Thus, the whole function now looks like:&lt;/p&gt;
&lt;p&gt;sub process_request&lt;br /&gt;
{&lt;br /&gt;
my $self = shift;&lt;/p&gt;
&lt;p&gt;my $server = $self-&amp;gt;{smtp_server} = $self-&amp;gt;setup_server_socket;&lt;br /&gt;
my $client = $self-&amp;gt;{smtp_client} = $self-&amp;gt;setup_client_socket;&lt;/p&gt;
&lt;p&gt;# wait for SMTP greeting from destination&lt;br /&gt;
my $banner = $client-&amp;gt;hear;&lt;/p&gt;
&lt;p&gt;# emit greeting back to source&lt;br /&gt;
$server-&amp;gt;ok($banner);&lt;/p&gt;
&lt;p&gt;# begin main SMTP loop&lt;br /&gt;
#  - wait for a command from source&lt;br /&gt;
while (my $what = $self-&amp;gt;_chat)&lt;br /&gt;
{&lt;br /&gt;
if ($self-&amp;gt;{debug})&lt;br /&gt;
{&lt;br /&gt;
print STDERR $what . "\n";&lt;br /&gt;
}&lt;br /&gt;
$self-&amp;gt;handle_command($what)&lt;br /&gt;
or last;&lt;br /&gt;
}&lt;br /&gt;
# Make sure the connection is closed, as otherwise it hangs occasionally&lt;br /&gt;
$server-&amp;gt;{in}-&amp;gt;close;&lt;br /&gt;
$server-&amp;gt;{out}-&amp;gt;close;&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Wheeler</dc:creator><pubDate>Mon, 03 Aug 2009 19:00:36 -0000</pubDate><guid>https://sourceforge.netda0b78341c9ee7bbd4f9783b232c5d45f49e13e1</guid></item><item><title>Use of uninitialized value $domain in split at line 500</title><link>https://sourceforge.net/p/dkimproxy/bugs/33/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;got this error on STDERR while running with no domain,signature options, only a listid_map option...&lt;/p&gt;
&lt;p&gt;Use of uninitialized value $domain in split at ../scripts/dkimproxy.out line 500, &amp;lt;_GEN_0&amp;gt; line 3.&lt;/p&gt;
&lt;p&gt;the code in question is...&lt;br /&gt;
# if multiple domains were specified in the --domain argument,&lt;br /&gt;
# pick one of those domains to use&lt;br /&gt;
my $domain = $domain_arg;&lt;br /&gt;
my @domains = split /,/, $domain;&lt;br /&gt;
if (@domains &amp;gt; 1)&lt;/p&gt;
&lt;p&gt;question is, should I allow $domain_arg to be undef?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Long</dc:creator><pubDate>Tue, 28 Jul 2009 17:13:44 -0000</pubDate><guid>https://sourceforge.net3877dc30695bf470ce02e8d5cee66d9a302ff47b</guid></item><item><title>--daemonize should not eat an argument</title><link>https://sourceforge.net/p/dkimproxy/bugs/32/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Running&lt;br /&gt;
/path/to/dkimproxy.in --daemonize 127.0.0.1:10025 127.0.0.1:10026&lt;/p&gt;
&lt;p&gt;gives&lt;br /&gt;
Error: wrong number of arguments&lt;/p&gt;
&lt;p&gt;However, running&lt;br /&gt;
/path/to/dkimproxy.in --daemonize=1 127.0.0.1:10025 127.0.0.1:10026&lt;/p&gt;
&lt;p&gt;works just fine.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Long</dc:creator><pubDate>Tue, 28 Jul 2009 15:42:52 -0000</pubDate><guid>https://sourceforge.net7ecb0091cbf55fde2d65648dbffdba478e45d676</guid></item></channel></rss>