Your message dated Sun, 17 Jun 2012 08:49:55 +0000
with message-id <[email protected]>
and subject line Bug#677747: fixed in mailgraph 1.14-11
has caused the Debian Bug report #677747,
regarding mailgraph: Support for Postfix' long, non-repeating, queue IDs
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
677747: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677747
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mailgraph
Version: 1.14-10
Severity: normal
Tags: patch
Hi Julien,
when the Postfix configuration parameter enable_long_queue_ids is set to
`yes', mailgraph is unable to count received mails.
With the attached patch mailgraph is able to count incoming messages again.
No matter if Postfix uses long or short queue IDs.
Regards,
Pascal
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages mailgraph depends on:
ii debconf [debconf-2.0] 1.5.43
ii libfile-tail-perl 0.99.3-5
ii librrds-perl 1.4.7-1
ii perl 5.14.2-11
ii ucf 3.0025+nmu3
Versions of packages mailgraph recommends:
ii apache2 2.2.22-6
ii apache2-mpm-worker [httpd] 2.2.22-6
ii postfix [mail-transport-agent] 2.9.3-2
mailgraph suggests no packages.
-- Configuration Files:
/etc/default/mailgraph changed:
BOOT_START="true"
MAIL_LOG="/var/log/mail.log"
IGNORE_LOCALHOST="true"
EXTRA_OPTIONS="--rbl-is-spam"
HTTP_USER="www-data"
HTTP_GROUP="www-data"
-- debconf information:
* mailgraph/ignore_localhost: true
* mailgraph/mail_log: /var/log/mail.log
* mailgraph/start_on_boot: true
Description: Add Postfix long, non-repeating, queue ID support.
The long queue IDs are encoded in a 52-character alphabet that contains:
- digits (0-9)
- upper-case letters (B-Z) w/o AEIOU
- lower-case letters (b-z) w/o aeiou
Additionally it corrects the regular expression for the short queue IDs.
The short queue IDs are encoded in hexadecimal alphabet that contains:
- digits (0-9)
- upper-case letters (A-F)
Author: Pascal Volk <[email protected]>
--- a/mailgraph.pl
+++ b/mailgraph.pl
@@ -620,7 +620,7 @@
}
}
elsif($prog eq 'smtpd') {
- if($text =~ /^[0-9A-Z]+: client=(\S+)/) {
+ if($text =~ /^(?:[\dA-F]+|[\dB-DF-HJ-NP-TV-Zb-df-hj-np-tv-z]+): client=(\S+)/) {
my $client = $1;
return if $opt{'ignore-localhost'} and
$client =~ /\[127\.0\.0\.1\]$/;
@@ -628,19 +628,19 @@
$client =~ /$opt{'ignore-host'}/oi;
event($time, 'received');
}
- elsif($opt{'virbl-is-virus'} and $text =~ /^(?:[0-9A-Z]+: |NOQUEUE: )?reject: .*: 554.* blocked using virbl.dnsbl.bit.nl/) {
+ elsif($opt{'virbl-is-virus'} and $text =~ /^(?:[\dA-F]+: |[\dB-DF-HJ-NP-TV-Zb-df-hj-np-tv-z]+: |NOQUEUE: )?reject: .*: 554.* blocked using virbl.dnsbl.bit.nl/) {
event($time, 'virus');
}
- elsif($opt{'rbl-is-spam'} and $text =~ /^(?:[0-9A-Z]+: |NOQUEUE: )?reject: .*: 554.* blocked using/) {
+ elsif($opt{'rbl-is-spam'} and $text =~ /^(?:[\dA-F]+: |[\dB-DF-HJ-NP-TV-Zb-df-hj-np-tv-z]+: |NOQUEUE: )?reject: .*: 554.* blocked using/) {
event($time, 'spam');
}
elsif($text =~ /Greylisted/) {
event($time, 'greylisted');
}
- elsif($text =~ /^(?:[0-9A-Z]+: |NOQUEUE: )?reject: /) {
+ elsif($text =~ /^(?:[\dA-F]+: |[\dB-DF-HJ-NP-TV-Zb-df-hj-np-tv-z]+: |NOQUEUE: )?reject: /) {
event($time, 'rejected');
}
- elsif($text =~ /^(?:[0-9A-Z]+: |NOQUEUE: )?milter-reject: /) {
+ elsif($text =~ /^(?:[\dA-F]+: |[\dB-DF-HJ-NP-TV-Zb-df-hj-np-tv-z]+: |NOQUEUE: )?milter-reject: /) {
if($text =~ /Blocked by SpamAssassin/) {
event($time, 'spam');
}
@@ -655,7 +655,7 @@
}
}
elsif($prog eq 'cleanup') {
- if($text =~ /^[0-9A-Z]+: (?:reject|discard): /) {
+ if($text =~ /(?:[\dA-F]+|[\dB-DF-HJ-NP-TV-Zb-df-hj-np-tv-z]+): (?:reject|discard): /) {
event($time, 'rejected');
}
}
--- End Message ---
--- Begin Message ---
Source: mailgraph
Source-Version: 1.14-11
We believe that the bug you reported is fixed in the latest version of
mailgraph, which is due to be installed in the Debian FTP archive:
mailgraph_1.14-11.debian.tar.gz
to main/m/mailgraph/mailgraph_1.14-11.debian.tar.gz
mailgraph_1.14-11.dsc
to main/m/mailgraph/mailgraph_1.14-11.dsc
mailgraph_1.14-11_all.deb
to main/m/mailgraph/mailgraph_1.14-11_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Julien Valroff <[email protected]> (supplier of updated mailgraph package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 28 Feb 2012 18:44:18 +0100
Source: mailgraph
Binary: mailgraph
Architecture: source all
Version: 1.14-11
Distribution: unstable
Urgency: low
Maintainer: Julien Valroff <[email protected]>
Changed-By: Julien Valroff <[email protected]>
Description:
mailgraph - RRDtool frontend for Mail statistics
Closes: 677747
Changes:
mailgraph (1.14-11) unstable; urgency=low
.
* Update copyright file as per DEP-5 1.0 format
* Add patch from Pascal Volk to deal with Postfix enable_long_queue_ids
parameter (Closes: #677747)
* Update to new policy 3.9.3 (no changes needed)
Checksums-Sha1:
d3822773dd8af9e8af8daf7694471bb7998f2be5 1835 mailgraph_1.14-11.dsc
60ab689d7085f7cc55818b99585b9010bb534a29 26735 mailgraph_1.14-11.debian.tar.gz
6bc8614a0d3bb90f227baecf6a0ce4f6567f1d75 34578 mailgraph_1.14-11_all.deb
Checksums-Sha256:
040a1fbebad5a54f34366593825f25e5f14e517b46ae3dffadbbf7de21de5c18 1835
mailgraph_1.14-11.dsc
86eeea1a9adb4aeb0bc1e2d572fdda1e771251e55fb17cc72c3041cc3ed61543 26735
mailgraph_1.14-11.debian.tar.gz
25184428e6bf5521f8a7ae2956e6e5572acda4d770fa96f438bb19daf60ed521 34578
mailgraph_1.14-11_all.deb
Files:
f04d1078e4d4c5136eecabccdf7ad415 1835 admin extra mailgraph_1.14-11.dsc
6ed1bca2a1ae3c8cef53eaead26550e4 26735 admin extra
mailgraph_1.14-11.debian.tar.gz
c692af403cd47709627f67794c504e7c 34578 admin extra mailgraph_1.14-11_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJP3Y+YAAoJEFHhprzRxas7JbMP+wS+UGHYT8u16OnTRPf56Loa
Ea74vDxqJ1wh53HPWbCfzrCNJSuMpQsg2RqKHfyFRJgyuTnx81wM/QNOwj6p6jcG
EHku7pjZa+f3EsVYNWD7oq7bL9ChTELWZ9fyKWbZ5w4jYorhQ3d9ptsoVibcB+Dx
Jp9oqirYQbU3bwL4HKFNJVXn/feSO4nITHeFLf1hDqO+fV/6v+J8tLPV9aqHgskA
bleX8A4hLvEQmtSWPN9b/LZYzaqfLq6o67DrikU//13QiLKYFITO965LAG95uio9
Pwr/ml6MlZb+iliFXz+vditWjSknxVBcMkqP/cH22KI3L7nI7HheoY+l7ciCswFO
/47OCjsxnTe52N58ywiRO3Vdr4Fv6TdbGnYhROwN6p2ClOG7ef5tj3oDRM0S/YUw
RgDbPmwfJMUm7CIN+cGKR7cWvGd2NwboZQSkMaDzDuPaPNLqICZg9TW9a+dx6ohV
xrRrJxjY40siM91ktawCQKzaOTj5rOU/M9ofD/a4ZAQXWtfrQzTbUq0RlsBEo6G8
D2JGd3CrqqxU2gwmgxYnuGfBjKZu/o2mUN/5it7NW4NcSQOL9EfIBvbqrYBD3iKD
7LNCqVP7DZMLnjFBZO3mnGuNtwxkQ7tsyYJW75sHreMvkQv5G7r1rjE5oj1hQWwf
4MvoT6PQsB/Ot2SL/jV8
=8EJo
-----END PGP SIGNATURE-----
--- End Message ---