Skip to content

Commit 03c64d4

Browse files
committed
bouncehammer 2.7.10
1 parent a566325 commit 03c64d4

File tree

265 files changed

+3286
-2812
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

265 files changed

+3286
-2812
lines changed

AUTHORS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Copyright (C) 2009-2011 Cubicroot Co. Ltd. <[email protected]>
1+
Copyright (C) 2009-2013 Cubicroot Co. Ltd. <[email protected]>
22
http://www.cubicroot.jp/

INSTALL

+27-30
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
$Id: INSTALL,v 1.4.2.2 2011/06/22 05:35:58 ak Exp $
1+
$Id: INSTALL,v 1.4.2.3 2013/04/16 09:08:26 ak Exp $
22
-------------------------------------------------------------------------------
3-
To install this system; bounceHammer, cd to the directory that contains this
4-
file and type the following commands:
3+
To install bounceHammer, cd to the directory that contains this file and type
4+
the following commands:
55

66
# ./configure
77
# make
@@ -20,46 +20,48 @@ $Id: INSTALL,v 1.4.2.2 2011/06/22 05:35:58 ak Exp $
2020
*[ NG ] is missing module, [ OK ] is installed module.
2121

2222
-------------------------------------------------------------------------------
23-
2. Install all of the missing perl modules
23+
2. Install cpanm(App::cpanminus) command
24+
25+
We recommend cpanm command to install missing perl modules into your system.
26+
27+
# cd /usr/local/bin
28+
# wget -O- 'http://cpanmin.us/' > ./cpanm
29+
# chmod a+x ./cpanm
30+
31+
-------------------------------------------------------------------------------
32+
3. Install all of the missing perl modules
2433

2534
If 'Time::Piece' module does not exist, Install the module by executing the
2635
following command.
2736

28-
# cpan Time::Piece
29-
or
30-
# perl -MCPAN -e 'install Time::Piece'
31-
...
37+
# export PERL5LIB=/usr/local/bouncehammer/lib/perl5
38+
# /usr/local/bin/cpanm -L /usr/local/bouncehammer Time::Piece
39+
or
40+
# perl ./Modules.PL missing | cut -d' ' -f4 | cpanm -L /usr/local/bouncehammer
3241

3342
Then, Check again.
43+
# export PERL5LIB=/usr/local/bouncehammer/lib/perl5
3444
# perl ./Modules.PL check
3545

36-
------ OR IF YOU USE cpanm COMMAND ------
37-
38-
# cpanm -l /usr/local/bouncehammer Time::Piece
39-
or
40-
# perl ./Modules.PL missing | cut -d' ' -f4 | cpanm -l /usr/local/bouncehammer
4146

4247
-------------------------------------------------------------------------------
43-
3. Build: configure and make
48+
4. Build: configure and make
4449

4550
* Available configure options
4651
--prefix <dir> Install directory, Default is /usr/local/bouncehammer
4752
--with-perl <path> Path to perl interpreter, If you have multiple perl.
53+
--with-perl-extlib <path> Directory which hold required perl modules of bounceHammer
4854
--disable-webui=<yes|no> Disable WebUI, Default is no.
4955

5056
e.g.)
51-
# ./configure --prefix=/usr/local/bouncehammer --with-perl=/usr/local/bin/perl
57+
# export PERL5LIB=/usr/local/bouncehammer/lib/perl5
58+
# ./configure --prefix=/usr/local/bouncehammer --with-perl=/usr/local/bin/perl \
59+
--with-perl-extlib=$PERL5LIB
5260
# make && make test && make install
5361
...
54-
55-
------ OR IF YOU INSTALLED REQUIRED PERL MODULES BY cpanm COMMAND ------
56-
# PERL5LIB=/usr/local/bouncehammer/lib/perl5 ./configure
57-
# make
58-
# PERL5LIB=/usr/local/bouncehammer/lib/perl5 make test && make install
59-
...
6062

6163
-------------------------------------------------------------------------------
62-
4. Setting up database
64+
5. Setting up database
6365
e.g.)
6466
- Database name = bouncehammer
6567
- Database hostname = 127.0.0.1
@@ -97,7 +99,7 @@ $Id: INSTALL,v 1.4.2.2 2011/06/22 05:35:58 ak Exp $
9799
# touch /usr/local/bouncehammer/var/db/bouncehammer.db
98100

99101
-------------------------------------------------------------------------------
100-
5. Setting up tables of the database
102+
6. Setting up tables of the database
101103

102104
# cd /usr/local/bouncehammer/share/script
103105

@@ -117,7 +119,7 @@ $Id: INSTALL,v 1.4.2.2 2011/06/22 05:35:58 ak Exp $
117119
# cat ./mastertable-* | sqlite3 /usr/local/bouncehammer/var/db/bouncehammer
118120

119121
-------------------------------------------------------------------------------
120-
6. Configuration files
122+
7. Configuration files
121123

122124
# cd /usr/local/bouncehammer/etc
123125
# cp ./bouncehammer.cf-example ./bouncehammer.cf
@@ -129,7 +131,7 @@ $Id: INSTALL,v 1.4.2.2 2011/06/22 05:35:58 ak Exp $
129131
# cp ./available-countries-example ./available-countries
130132

131133
-------------------------------------------------------------------------------
132-
7. Copy CGI script file to the document root
134+
8. Copy CGI script file to the document root
133135

134136
# cd /usr/local/bouncehammer/share/script
135137
# cp ./bouncehammer.cgi /path/to/docroot-of-webui/
@@ -138,8 +140,3 @@ $Id: INSTALL,v 1.4.2.2 2011/06/22 05:35:58 ak Exp $
138140
# cp ./api.cgi /path/to/docroot-of-httpapi/
139141
# chmod a+x /path/to/docroot-of-httpapi/api.cgi
140142

141-
142-
143-
144-
145-

Makefile.am

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# $Id: Makefile.am,v 1.58.2.18 2012/09/28 05:53:36 ak Exp $
1+
# $Id: Makefile.am,v 1.58.2.19 2013/04/16 09:08:26 ak Exp $
22
# -Id: Makefile.am,v 1.14 2009/12/01 10:35:23 ak Exp -
33
# -Id: Makefile.am,v 1.14 2009/08/27 06:05:39 ak Exp -
44
# Copyright (C) 2009-2011 Cubicroot Co. Ltd.
55
# This is the auto-Makefile for bounceHammer, is processed by automake to create Makefile.in.
66
ENGINENAME = Kanadzuchi
77
SYSTEMNAME = bounceHammer
8-
SYSVERSION = 2.7.9
8+
SYSVERSION = 2.7.10
99
CMD_MODULE = ./Modules.PL
1010
CMD_IMPLEM = ./Implement.PL
1111
PATCH_TBOP = ./diff/perl-TB-option-on-filehandle.patch

Makefile.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,14 @@ target_alias = @target_alias@
166166
top_builddir = @top_builddir@
167167
top_srcdir = @top_srcdir@
168168

169-
# $Id: Makefile.am,v 1.58.2.18 2012/09/28 05:53:36 ak Exp $
169+
# $Id: Makefile.am,v 1.58.2.19 2013/04/16 09:08:26 ak Exp $
170170
# -Id: Makefile.am,v 1.14 2009/12/01 10:35:23 ak Exp -
171171
# -Id: Makefile.am,v 1.14 2009/08/27 06:05:39 ak Exp -
172172
# Copyright (C) 2009-2011 Cubicroot Co. Ltd.
173173
# This is the auto-Makefile for bounceHammer, is processed by automake to create Makefile.in.
174174
ENGINENAME = Kanadzuchi
175175
SYSTEMNAME = bounceHammer
176-
SYSVERSION = 2.7.9
176+
SYSVERSION = 2.7.10
177177
CMD_MODULE = ./Modules.PL
178178
CMD_IMPLEM = ./Implement.PL
179179
PATCH_TBOP = ./diff/perl-TB-option-on-filehandle.patch

Modules.PL

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# $Id: Modules.PL,v 1.22.2.1 2012/09/27 06:43:23 ak Exp $
1+
# $Id: Modules.PL,v 1.22.2.2 2013/04/16 09:08:26 ak Exp $
22
# -Id: PERL-MODULES.PL,v 1.1 2009/08/29 07:32:08 ak Exp -
33
# -Id: PERL-MODULES,v 1.6 2009/08/12 01:57:35 ak Exp -
4-
# Copyright (C) 2009,2010 Cubicroot Co. Ltd.
4+
# Copyright (C) 2009,2010-2013 Cubicroot Co. Ltd.
55
use strict;
66
use warnings;
77

@@ -55,7 +55,7 @@ my $Dependencies = {
5555
sub modules
5656
{
5757
my $modules = undef;
58-
my $reqtype = shift || q{key};
58+
my $reqtype = shift || 'key';
5959

6060
if( $reqtype eq 'key' )
6161
{
@@ -111,11 +111,11 @@ sub check
111111
};
112112
$ver0 = 1 unless $@;
113113

114-
foreach my $m ( keys(%$hash) )
114+
foreach my $m ( keys %$hash )
115115
{
116116
$path = $m;
117117
$path =~ s{::}{/}g;
118-
$path .= q{.pm};
118+
$path .= '.pm';
119119

120120
eval { require "$path"; };
121121
if( $@ )
@@ -137,7 +137,7 @@ sub check
137137

138138
if( $ver1 && $ver2 && ( $ver2->numify < $ver1->numify ) )
139139
{
140-
push( @$oldv, $m );
140+
push @$oldv, $m;
141141
printf(STDOUT "%s %s VERSION = %s is older than %s\n",
142142
$head->{'warning'}, $m, $ver2->stringify, $ver1->stringify );
143143
}
@@ -148,11 +148,11 @@ sub check
148148
}
149149
else
150150
{
151-
if( $hash->{$m}->[0] && $vers && ( $vers < $hash->{$m}->[0] ) )
151+
if( $hash->{ $m }->[0] && $vers && ( $vers < $hash->{ $m }->[0] ) )
152152
{
153-
push( @$oldv, $m );
153+
push @$oldv, $m;
154154
printf(STDOUT "%s %s VERSION = %s is older than %s\n",
155-
$head->{'warning'}, $m, $vers, $hash->{$m}->[0] );
155+
$head->{'warning'}, $m, $vers, $hash->{ $m }->[0] );
156156
}
157157
else
158158
{
@@ -161,9 +161,9 @@ sub check
161161
}
162162
}
163163
}
164-
exit(1) if( scalar(@$none) && $argv ne 'installed' );
165-
exit(2) if( scalar(@$oldv) && $argv ne 'missing' );
166-
exit(0);
164+
exit 1 if( scalar @$none && $argv ne 'installed' );
165+
exit 2 if( scalar @$oldv && $argv ne 'missing' );
166+
exit 0;
167167
}
168168

169169
if( $Command eq 'list' )

README

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
$Id: README,v 1.4.2.1 2011/05/18 07:33:21 ak Exp $
1+
$Id: README,v 1.4.2.2 2013/04/16 09:08:26 ak Exp $
22
-----------------------------------------------------------------------
3-
Copyright (C) 2009-2011 Cubicroot Co. Ltd. ALL RIGHTS RESERVED.
3+
Copyright (C) 2009-2013 Cubicroot Co. Ltd. ALL RIGHTS RESERVED.
44
Developed by Cubicroot Co. Ltd. (http://cubicroot.jp/)
55
------------------------------------------------------------------------
66
bounceHammer: An open source software mainly developed for handling
@@ -9,7 +9,9 @@
99
Other information is available at the following sites:
1010

1111
- http://sourceforge.jp/projects/bouncehammer/
12+
- http://www.facebook.com/bouncehammer
1213
- http://twitter.com/bouncehammer
14+
- http://bouncehammer.jp/
1315
------------------------------------------------------------------------
1416

1517
ARTISTIC -------------- Artistic License
@@ -39,3 +41,4 @@ missing ---------------
3941
src/ ------------------ Source code
4042
t/ -------------------- Test cases for make test
4143
template/ ------------- WebUI template files
44+

RELEASE_NOTES

+34-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$Id: RELEASE_NOTES,v 1.76.2.24 2012/09/28 05:53:36 ak Exp $
1+
$Id: RELEASE_NOTES,v 1.76.2.26 2013/04/17 03:08:42 ak Exp $
22
-Id: RELEASE_NOTES,v 1.12 2009/12/01 10:35:23 ak Exp -
33
-Id: RELEASE_NOTES,v 1.34 2009/08/27 05:09:04 ak Exp -
44
-----------------------------------------------------------------------
@@ -28,6 +28,39 @@
2828
- http://www.facebook.com/bouncehammer
2929
-----------------------------------------------------------------------
3030

31+
2.7.10/2.7.0 2013/04/19
32+
33+
New functionality:
34+
* (EXPERIMENTAL IMPLEMENTATION): mailboxparser can parse a bounced
35+
email from OpenSMTPD (Tested with OpenSMTPD 5.2 and 5.3.1).
36+
37+
Assorted improvements and code cleanup:
38+
* Output data (json, and yaml) created by bin/mailboxparser command
39+
includes the new sub field "listid" in the description field. The
40+
listid field is content of "List-Id" header generated by mailling
41+
list software. Thanks to @masaki_ipodrepo and @revsystem .
42+
43+
* Email domain name of Nokia Mail & Nokia Chat; formerly known as
44+
Ovi by Nokia, @nokiamail.com is classified into provider 'nokia',
45+
is classified into hostgroup 'smartphone'.
46+
47+
* Support some domain names of outlook.com.
48+
49+
* Analytical accuracy of mailboxparser improvement for Gmail.
50+
51+
* Pick the first email address from Reply-To: header if there are
52+
2 or more email addresses in the header.
53+
54+
Fixed bugs:
55+
* Fixed an issue while processing a Diagnostic-Code: header across
56+
multiple lines. Thanks to Arie Valstar.
57+
58+
New files:
59+
* lib/Kanadzuchi/MTA/OpenSMTPD.pm (Experimental)
60+
* t/042_mta-opensmtpd.t (Experimental)
61+
62+
63+
-----------------------------------------------------------------------
3164
2.7.9/2.7.0 2012/10/02
3265

3366
Assorted improvements and code cleanup:

RELEASE_NOTES.JA

+33-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$Id: RELEASE_NOTES.JA,v 1.52.2.24 2012/09/28 05:53:36 ak Exp $
1+
$Id: RELEASE_NOTES.JA,v 1.52.2.25 2013/04/17 03:08:42 ak Exp $
22
-----------------------------------------------------------------------
33
## ## ##
44
## #### ## ## ##### #### #### ## ## #### ## ## ## ## #### #####
@@ -24,6 +24,38 @@
2424
- http://www.facebook.com/bouncehammer
2525
-----------------------------------------------------------------------
2626

27+
2.7.10/2.7.0 2013/04/19
28+
29+
新機能:
30+
* (実験的な実装): mailboxparserコマンドがOpenSMTPDのバウンスメール
31+
を解析出来るようになりました。(OpenSMTPD 5.2, 5.3.1で試験済)
32+
33+
細かな改善点:
34+
* mailboxparserが出力する解析済データの"description"に補助項目とし
35+
て"listid"が追加されました。"listid"の値はバウンスが発生したメー
36+
リングリストの"List-Id"ヘッダの値を記録します。
37+
Thanks to @masaki_ipodrepo and @revsystem .
38+
39+
* Nokia Mail & Nokia Chatのドメイン "@nokiamail.com"はプロバイダ名
40+
'nokia'に、ホストグループ名'smartphone'にそれぞれ分類されます。
41+
42+
* 幾つかのoutlook.comのドメインを分類対象に追加しました。
43+
44+
* 新たな形式のGmailからのバウンスメールに対応しました。
45+
46+
* Reply-Toヘッダに複数のメールアドレスがある場合、先頭のアドレスを
47+
取り出します。
48+
49+
修正されたバグ:
50+
* Diagnostic-Code:ヘッダが複数行に渡っている場合、エラーメッセージ
51+
の取得に失敗するバグを修正しました。Thanks to Arie Valstar.
52+
53+
新しいファイル:
54+
* lib/Kanadzuchi/MTA/OpenSMTPD.pm (実験的な実装)
55+
* t/042_mta-opensmtpd.t (実験的な実装)
56+
57+
58+
-----------------------------------------------------------------------
2759
2.7.9/2.7.0 2012/10/02
2860

2961
細かな改善点:

SUPPORT

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$Id: SUPPORT,v 1.1.2.2 2011/06/22 05:35:58 ak Exp $
1+
$Id: SUPPORT,v 1.1.2.3 2013/04/16 09:08:26 ak Exp $
22
--------------------------------------------------------------------------------
33
bounceHammer Commercial Support
44
--------------------------------------------------------------------------------
@@ -7,6 +7,8 @@
77
* Troubleshooting
88
* Other additional services
99

10-
See our web page http://cubicroot.jp/products/bouncehammer/support/ (japanese)
10+
See our web page http://cubicroot.jp/ja/products/bouncehammer/ (Japanese)
1111
or contact <info (at) bouncehammer.jp>.
1212

13+
Support with English is coming soon.
14+

UPGRADE

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
BOUNCEHAMMER/UPGRADE
22
-----------------------------------------------------------------------
3-
$Id: UPGRADE,v 1.5.2.12 2012/09/28 05:53:36 ak Exp $
3+
$Id: UPGRADE,v 1.5.2.13 2013/04/16 09:08:26 ak Exp $
44
Copyright (C) 2009-2011 Cubicroot Co. Ltd. ALL RIGHTS RESERVED.
55
-----------------------------------------------------------------------
66

77
-----------------------------------------------------------------------
8-
* 2.7.x => 2.7.[1-9] 2012/10/02
8+
* 2.7.x => 2.7.[1-10] 2013/04/19
99

10-
1. Run ./configure script with options (if you need)
10+
1. Run ./configure script with the same options (if you need)
1111
2. make && make test && make install
1212

1313

0 commit comments

Comments
 (0)