[](https://travis-ci.org/azumakuniyuki/Sisimai) [](https://coveralls.io/r/azumakuniyuki/Sisimai) ____ _ _ _ / ___|(_)___(_)_ __ ___ __ _(_) \___ \| / __| | '_ ` _ \ / _` | | ___) | \__ \ | | | | | | (_| | | |____/|_|___/_|_| |_| |_|\__,_|_| What is Sisimai ? | シシマイ? ============================= Sisimai is a core module of bounceHammer version. 4, is a Perl module for analyzing email bounce. "Sisimai" is a coined word: Sisi (the number 4 is pronounced "Si" in Japanese) and MAI (acronym of "Mail Analyzing Interface"). "シシマイ"гЃЇbounceHammer version 4гЃ®дёж ёгЃЁгЃЄг‚‹г‚Ёгѓ©гѓјгѓЎгѓјгѓ«и§Јжћђгѓўг‚ёгѓҐгѓјгѓ«гЃ§гЃ™гЂ‚ Version 4гЃЄгЃ®гЃ§"г‚·"から始まりマイ(MAI: Mail Analyzing Interface)г‚’еђ«г‚ЂеђЌе‰ЌгЃ«гЃЄг‚ЉгЃѕгЃ—гЃџгЂ‚ Differences between ver.2 and ver.4 | ж–°ж—§гЃ®йЃ•гЃ„ ------------------------------------------------ The followings are the differences between version 2 (bounceHammer 2.7.13) and version 4 (Sisimai). | Features | ver 2.7.13 | Sisimai | |------------------------------------------------|---------------|--------------| | Command line tools | OK | N/A | | Modules for Commercial MTAs | N/A(1) | Included | | WebUI/API | OK | N/A | | Database schema for storing parsed bounce data | Available | N/A(2) | | Analysis accuracy ratio(3) | 0.77 | 1.00 | | Parse 2 or more bounces in a single email | Only 1st rcpt | ALL | | Parse FeedBack Loop Message/ARF format mail | N/A | OK | | Classification based on recipient domain | Available | N/A | | Output format of parsed data | YAML,JSON,CSV | JSON only(4) | | The speed of parsing email(750 files) | 5.36s | 2.95s | | Easy to install | No | Yes | | Install using cpan or cpanm command | N/A | OK | | Dependencies | 24 modules | 3 modules | | License | GPLv2 or Perl | 2 clause BSD | | Support Contract provided by Developer | Available | Coming soon | 1. bounceHammer-nails 2. Implement yourself with using DBI or any O/R Mapper you like 3. See ./ANALYSIS-ACCURACY 4. YAML format is available if "YAML" module has been installed е…¬й–‹дёгЃ®bouncehammer version 2.7.13гЃЁversion 4(シシマイ)гЃЇдёЉиЁгЃ®г‚€гЃ†гЃЄйЃ•гЃ„гЃЊгЃ‚г‚ЉгЃѕгЃ™гЂ‚ | ж©џиѓЅ | ver 2.7.13 | Sisimai | |------------------------------------------------|---------------|--------------| | コマンドラインツール | гЃ‚г‚Љ | з„ЎгЃ— | | 商用MTA対応解析モジュール | з„ЎгЃ—(商用版,1)| гЃ‚г‚Љ(жЁ™жє–) | | WebUIгЃЁAPI | гЃ‚г‚Љ | з„ЎгЃ— | | 解析済バウンスデータを保егЃ™г‚‹DBг‚№г‚гѓјгѓћ | гЃ‚г‚Љ | з„ЎгЃ—(2) | | и§ЈжћђзІѕеє¦гЃ®е‰Іеђ€(3) | 0.77 | 1.00 | | 2件以上のバウンスがあるメールの解析 | 1д»¶з›®гЃ гЃ‘ | е…Ёд»¶еЇѕеїњ | | FeedBack Loop/ARFеЅўејЏгЃ®гѓЎгѓјгѓ«и§Јжћђ | йќћеЇѕеїњ | еЇѕеїњжё€ | | е®›е…€гѓ‰гѓЎг‚¤гѓігЃ«г‚€г‚‹е€†йЎћй …з›® | гЃ‚г‚Љ | з„ЎгЃ— | | и§ЈжћђзµђжћњгЃ®е‡єеЉ›еЅўејЏ | YAML,JSON,CSV | JSONгЃ®гЃї(4) | | гѓЎгѓјгѓ«и§ЈжћђгЃ®йЂџеє¦(750йЂљ) | 5.36з§’ | 2.95з§’ | | インストール作жҐгЃЊз°ЎеЌгЃ‹гЃ©гЃ†гЃ‹ | г‚„г‚„йќўеЂ’ | з°ЎеЌгЃ§жҐЅ | | cpanгЃѕгЃџгЃЇcpanmコマンドでのインストール | йќћеЇѕеїњ | еЇѕеїњжё€ | | дѕќеモジュール数 | 24モジュール | 3モジュール | | ライセンス | GPLv2гЃ‹Perl | дєЊжќЎй …BSD | | 開発会社によるサポート契約 | жЏђдѕ›дё | жє–е‚™дё | 1. bounceHammer-nails 2. DBIまたは好きなORMг‚’дЅїгЃЈгЃ¦и‡Єз”±гЃ«е®џиЈ…гЃ—гЃ¦гЃЏгЃ гЃ•гЃ„ 3. ./ANALYSIS-ACCURACY г‚’еЏ‚з…§ 4. "YAML"モジュールが入っていればYAMLгЃ§гЃ®е‡єеЉ›г‚‚еЏЇиѓЅ System requirements | е‹•дЅњз’°еўѓ ------------------------------ * [Perl 5.10.1 or later](http://www.perl.org/) Dependencies | дѕќеモジュール ----------------------------- Sisimai relies on: * [__Class::Accessor::Lite__](https://metacpan.org/pod/Class::Accessor::Lite) * [__JSON__](https://metacpan.org/pod/JSON) * [__Try::Tiny__](https://metacpan.org/pod/Try::Tiny) SisimaiгЃЇдёЉиЁгЃ®гѓўг‚ёгѓҐгѓјгѓ«гЃ«дѕќегЃ—гЃ¦гЃ„гЃѕгЃ™гЂ‚ Install | インストール ---------------------- % sudo cpanm Sisimai --> Working on Sisimai Fetching http://www.cpan.org/authors/id/A/AK/AKXLIX/Sisimai-4.1.8.tar.gz ... OK ... 1 distribution installed % perldoc -l Sisimai /usr/local/lib/perl5/site_perl/5.20.0/Sisimai.pm OR % cd /usr/local/src % git clone https://github.com/azumakuniyuki/Sisimai.git % cd ./Sisimai % sudo cpanm . --> Working on . Configuring Sisimai-4.1.8 ... OK 1 distribution installed Basic usage | еџєжњ¬зљ„гЃЄдЅїгЃ„ж–№ ---------------------------- make() method provides feature for getting parsed data from bounced email messages like following. ```perl use Sisimai; my $v = Sisimai->make( '/path/to/mbox' ); # or Path to Maildir if( defined $v ) { for my $e ( @$v ) { print ref $e; # Sisimai::Data print $e->recipient->address; # kijitora@example.jp print $e->reason; # userunknown my $h = $e->damn(); # Convert to HASH reference my $j = $e->dump('json'); # Convert to JSON string print $e->dump('json'); # JSON formatted bounce data } } ``` дёЉиЁгЃ®г‚€гЃ†гЃ«SisimaiгЃ®make()гѓЎг‚Ѕгѓѓгѓ‰г‚’mboxгЃ‹MaildirгЃ®PATHг‚’еј•ж•°гЃ«гЃ—гЃ¦е®џиЎЊгЃ™г‚‹гЃЁ и§ЈжћђзµђжћњгЃЊй…Ќе€—гѓЄгѓ•г‚Ўгѓ¬гѓіг‚№гЃ§иї”гЃЈгЃ¦гЃЌгЃѕгЃ™гЂ‚ REPOSITORY | гѓЄгѓќг‚ёгѓ€гѓЄ ----------------------- [github.com/azumakuniyuki/Sisimai](https://github.com/azumakuniyuki/Sisimai) WEB SITE | サイト ----------------- [bounceHammer | an open source software for handling email bounces](http://bouncehammer.jp/) AUTHOR | дЅњиЂ… ------------- [@azumakuniyuki](https://twitter.com/azumakuniyuki) COPYRIGHT | и‘—дЅњжЁ© ------------------ Copyright (C) 2014 azumakuniyuki <perl.org@azumakuniyuki.org>, All Rights Reserved. LICENSE | ライセンス -------------------- This software is distributed under The BSD 2-Clause License.