<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/logreporters/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/logreporters/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/logreporters/bugs/</id><updated>2019-11-01T05:26:40.223000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#6 Many unmatched mail messages + summary doesn't work</title><link href="https://sourceforge.net/p/logreporters/bugs/6/?limit=25#2765" rel="alternate"/><published>2019-11-01T05:26:40.223000Z</published><updated>2019-11-01T05:26:40.223000Z</updated><author><name>Tim Jackson</name><uri>https://sourceforge.net/u/timjaknz/</uri></author><id>https://sourceforge.netab120d2d60cff52f47acd1e08192bcbf2423be36</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry slipped there.  At line 3500 I actually added:&lt;br/&gt;
      elsif ($qid eq 'statistics') {&lt;br/&gt;
         next;&lt;br/&gt;
       }&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Many unmatched mail messages + summary doesn't work</title><link href="https://sourceforge.net/p/logreporters/bugs/6/" rel="alternate"/><published>2019-11-01T05:24:30.377000Z</published><updated>2019-11-01T05:24:30.377000Z</updated><author><name>Tim Jackson</name><uri>https://sourceforge.net/u/timjaknz/</uri></author><id>https://sourceforge.netb1dfa031575736b212f230e1546c1863f3afad44</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I've been getting lots of unmatched entries in my logwatch postfix log from qmgr, cleanup, pip, smtpd etc.   And the delivery delays table (on high detail) wasn't showing at all.&lt;br/&gt;
Maybe it's the way I have postfix delivered but tracked the problem down to qids which contain lower case letters.  The fix seems quite simple:&lt;br/&gt;
change line 65 to allow them:&lt;br/&gt;
my $re_QID_s   = qr/&lt;span&gt;[A-Z\d]&lt;/span&gt;+/;  =&amp;gt;  my $re_QID_s   = qr/&lt;span&gt;[A-Za-z\d]&lt;/span&gt;+/;&lt;br/&gt;
On my system this fixes it, but then reports all POSTFIX/ANVIL stats as unmatched.&lt;br/&gt;
so I added:&lt;br/&gt;
$Counts{'saslauthfail'}{$cached . $reason}{formathost($hostip,$host)}++;&lt;br/&gt;
at line 3500 to ignore ANVIL stats.  Probably a better way to do this but it works.  Not exhaustively tested as my server doesn't allow smtp relays etc.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Redundant argument in sprintf line 1382</title><link href="https://sourceforge.net/p/logreporters/bugs/5/" rel="alternate"/><published>2017-10-02T14:26:40.290000Z</published><updated>2017-10-02T14:26:40.290000Z</updated><author><name>Stephen Cena</name><uri>https://sourceforge.net/u/stevecena/</uri></author><id>https://sourceforge.net86edbfacd38cbc3f8ec394b7ffa2ff7377400ed9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I found a bug in my instal of postfix-logwatch on Ubuntu 16.04. I kept getting errors about a "Redudant argument" for sprintf on line 1382. The line is:&lt;/p&gt;
&lt;p&gt;push @{$lines&lt;span&gt;[$cur_level]&lt;/span&gt;},&lt;br/&gt;
    sprintf "$fmt  %-23s $extra\n", $total, $desc, commify ($Totals{$keyname});&lt;/p&gt;
&lt;p&gt;The error is being caused by $extra being set to "undef". I fixed the code by changing the "else" block to:&lt;br/&gt;
if ($extra eq undef)&lt;br/&gt;
                {&lt;br/&gt;
                        push @{$lines&lt;span&gt;[$cur_level]&lt;/span&gt;},&lt;br/&gt;
                                sprintf "$fmt  %-23s\n", $total, $desc;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="x"&gt;            } else &lt;/span&gt;&lt;span class="cp"&gt;{&lt;/span&gt;
                    &lt;span class="na"&gt;push&lt;/span&gt; &lt;span class="o"&gt;@&lt;/span&gt;&lt;span class="cp"&gt;{&lt;/span&gt;&lt;span class="nv"&gt;$lines&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;$cur_level&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="cp"&gt;}&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;
                            &lt;span class="na"&gt;sprintf&lt;/span&gt; &lt;span class="s2"&gt;"$fmt  %-23s $extra\n"&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$total&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$desc&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="na"&gt;commify&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$Totals&lt;/span&gt;&lt;span class="cp"&gt;{&lt;/span&gt;&lt;span class="nv"&gt;$keyname&lt;/span&gt;&lt;span class="cp"&gt;}&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
            &lt;span class="cp"&gt;}&lt;/span&gt;&lt;span class="x"&gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>#4 Unescaped left brace and readd parsing of two errors</title><link href="https://sourceforge.net/p/logreporters/bugs/4/?limit=25#0e5e" rel="alternate"/><published>2017-04-22T18:32:49.703000Z</published><updated>2017-04-22T18:32:49.703000Z</updated><author><name>Michael Orlitzky</name><uri>https://sourceforge.net/u/mjorlitzky/</uri></author><id>https://sourceforge.net0520953c77662a58c6faec249d80c376a1f04be0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;See also: &lt;a href="https://sourceforge.net/p/logreporters/mailman/message/35410230/"&gt;https://sourceforge.net/p/logreporters/mailman/message/35410230/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Unescaped left brace and readd parsing of two errors</title><link href="https://sourceforge.net/p/logreporters/bugs/4/" rel="alternate"/><published>2017-03-02T14:31:14.919000Z</published><updated>2017-03-02T14:31:14.919000Z</updated><author><name>Phil Pearl (Lobbes)</name><uri>https://sourceforge.net/u/plobbes/</uri></author><id>https://sourceforge.net85557eb473565531f9b875b6b12346e8e4754fdd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Note: this is against 1.40.03, but that milestone isn't in the pull-down list...&lt;/p&gt;
&lt;p&gt;Two issues:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A warning with newer versions of perl (5.22.01 in my case):&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;perl -T postfix-logwatch -h &amp;gt; /dev/null
Unescaped left brace in regex is deprecated, passed through in regex&lt;span class="p"&gt;;&lt;/span&gt; marked by &amp;lt;-- HERE in m/^Config: &lt;span class="o"&gt;{&lt;/span&gt; &amp;lt;-- HERE / at postfix-logwatch line 1850.
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;The fix is straight forward, just escale the left brace as recommended.&lt;/p&gt;
&lt;p&gt;Between 1.39 and 1.40 code that parses some warnings (TLS library problem and network_biopair_interop) was:&lt;br/&gt;
&lt;em&gt;   first, not commented out (1.40.01)&lt;br/&gt;
&lt;/em&gt;   second, pseudo commented out (via use of =cut)&lt;br/&gt;
*   in either case, it is unclear why this was done - maybe I missed a relevant bug though&lt;/p&gt;
&lt;p&gt;I'm suggesting we just re-enable the code with a little cleanup.  If we really don't want it then perhaps we should remove it instead of hiding it in a =cut block?&lt;/p&gt;
&lt;p&gt;Diff attached.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#1 logwatch-postfix missing cfg_str_(.*) lines</title><link href="https://sourceforge.net/p/logreporters/bugs/1/?limit=25#5903" rel="alternate"/><published>2014-08-25T23:16:30.880000Z</published><updated>2014-08-25T23:16:30.880000Z</updated><author><name>Quanah Gibson-Mount</name><uri>https://sourceforge.net/u/quanah/</uri></author><id>https://sourceforge.nete97b0637d42bad83bed79b46d043db6f8b8d93eb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: pending --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#2 amavis-logwtach can't handle timing messages</title><link href="https://sourceforge.net/p/logreporters/bugs/2/?limit=25#1100" rel="alternate"/><published>2014-08-25T23:16:11.861000Z</published><updated>2014-08-25T23:16:11.861000Z</updated><author><name>Quanah Gibson-Mount</name><uri>https://sourceforge.net/u/quanah/</uri></author><id>https://sourceforge.net9d6d6bd2fc66ea2a37d1005e204427b115491809</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: pending --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#3 postscreen DNSBL rejections not counted</title><link href="https://sourceforge.net/p/logreporters/bugs/3/?limit=25#3c16" rel="alternate"/><published>2014-08-25T23:15:51.281000Z</published><updated>2014-08-25T23:15:51.281000Z</updated><author><name>Quanah Gibson-Mount</name><uri>https://sourceforge.net/u/quanah/</uri></author><id>https://sourceforge.net26bcf669d8cbc747c19b749c69d1319df24b6222</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;1.40.01 is now released&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#3 postscreen DNSBL rejections not counted</title><link href="https://sourceforge.net/p/logreporters/bugs/3/?limit=25#9e5a" rel="alternate"/><published>2014-08-25T23:04:19.957000Z</published><updated>2014-08-25T23:04:19.957000Z</updated><author><name>Harald Reindl</name><uri>https://sourceforge.net/u/rhsoft/</uri></author><id>https://sourceforge.net5c92b45ad2d2f9c1b5bc88a9e66f1cebfdc50a5c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;no problem, that's typically me - give me something new and &lt;br /&gt;
i find possible improvements :-)&lt;/p&gt;
&lt;p&gt;just about to develop a inbound mail-gateway to replace a commercial &lt;br /&gt;
solution and so i looked left and right what stats are available to&lt;br /&gt;
show somebody numbers if he complains the commercial thing filtered &lt;br /&gt;
more spam (not realizing what bugs it has)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#3 postscreen DNSBL rejections not counted</title><link href="https://sourceforge.net/p/logreporters/bugs/3/?limit=25#e7b0" rel="alternate"/><published>2014-08-25T22:51:31.151000Z</published><updated>2014-08-25T22:51:31.151000Z</updated><author><name>MrC</name><uri>https://sourceforge.net/u/samboca/</uri></author><id>https://sourceforge.net5132e7eabc6a1ca200355643a83b4b790f825bcc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Great, thanks.  Quanah and I were cross posting.  I had already fixed this a while ago, but had not posted the update.  An update should be posted very soon.  Sorry for your troubles.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>