Tumgik
libsisimai · 3 months
Text
Sisimai 5.0.0 has been released
Tumblr media
We are pleased to announce the release of Sisimai 5.0.0.
2nd February 2024, released on GitHub
29th February 2024, released on CPAN and RubyGems
To learn more about the changes in v5.0.0, including breaking changes, please visit the release notes:
🇬🇧 https://libsisimai.org/en/release/5.0.0.html
🇯🇵 https://libsisimai.org/ja/release/5.0.0.html
0 notes
libsisimai · 1 year
Text
Sisimai 4.25.16
Tumblr media
Sisimai 4.25.16 has been released. This release fixed 2 bugs in each of the Perl and Ruby versions.
Note: v4.25.16 may be the final release of the version 4 series. However, if a serious bug is found after today, we will release v4.25.17. Sisimai 5 and the Go language version of Sisimai are under development on the sisimai/go-sisimai repository and will be released by next summer.
[Perl] Fix issue #491, Remove X-Auto-Response-Suppress: header from the inspection targets of Sisimai::RFC3834 as it does not indicate an auto-response email. Thanks to @whity
[Perl] Fix issue #492, To avoid slowing down the parsing speed, reduce the size of the email by removing unnecessary parts (`text/html`, `application/*`, and `image/*`). Thanks to @gody01
[Ruby] Fix `Sisimai::MIME.mimedecode()` method when the encoding name is lower case "b" (not "B") like `=?utf-8?b?...` #251 Thanks to @revsystem
[Ruby] #253 Fix code in `Sisimai::Data.make()` method to handle `nil` returned from `Sisimai::Rhost.get()` method. Thanks to @axfcampos
0 notes
libsisimai · 1 year
Text
Sisimai 4.25.15
Tumblr media
Sisimai 4.25.15 has been released. This release include 4 bug fixes and improvements based on feedback from Sisimai Commercial Support Customers.
Note: v4.25.15 may be the final release of the version 4 series. However, we will release v4.25.16 if a serious bug were found after today. And then, Sisimai 5 and the Go language version of Sisimai are under development on sisimai/go-sisimai repository and will be released until the next summer.
[Ruby] Prevent ReDOS: Regex Denial of Service in Sisimai::String.to_plain. Thanks to @gmcabrita
[Ruby] Bug fix: getting a `name` part of an email address at Sisimai::Address.find
[Perl] Import sisimai/rb-sisimai#244, Prevent ReDOS in Sisimai::String->to_plain method
[Perl] Fix a bug related to a `handle->close` in t/023-mail-stdin.t Thanks to CPAN Testers:
https://www.cpantesters.org/cpan/report/d49e1af4-4157-11ed-af16-c84d753c3a36
https://www.cpantesters.org/cpan/report/a0412418-49fe-11ed-b08f-a5e1b655df6e
https://www.cpantesters.org/cpan/report/eb7fbeb2-546c-11ed-ac00-78c860ca80ec
https://www.cpantesters.org/cpan/report/4c3721d4-5763-11ed-8a1d-3dcb3994ee8b
https://www.cpantesters.org/cpan/report/6345c226-7848-11ed-afec-b281abd50193
https://www.cpantesters.org/cpan/report/c52dd804-6f1d-11ed-9b5d-686ea04ca71f
https://www.cpantesters.org/cpan/report/60a09c2a-6af7-11ed-affb-ea61756bb578
Improvements based on feedback from Sisimai Commercial Support Customers
[Both] Fix an error reason "5.2.1 exceedlimit" of an error message: "450-4.2.1 The user you are trying to contact is receiving mail at a rate that prevents additional messages from being delivered" to "toomanyconn" at Sisimai::Rhost::GoogleApp class
[Both] Add many error message patterns at the following classes in Sisimai/Reason
Blocked
ContentError
Filtered
NetworkError
NotAccept
PolicyViolation
Rejected
SpamDetected
TooManyConn
UserUnknown
[Both] When the value of “diagnosticcode” has enough error message for detecting a bounce reason, `expired` will change to proper reason
[Both] Update code in Sisimai::Lhost::GoogleGroups module to parse well a bounce mail even if an email address of “X-Failed-Recipients:” header does not include a domain “@googlegroups.com”
[Both] Import #471 from Sisimai v5, Implement Sisimai::Rhost::NTTDOCOMO to parse more strictly a bounce mail returned from “mfsmax.docomo.ne.jp”
[Both] Import #475 from Sisimai v5, Implement Sisimai::Rhost::Mimecast
[Both] Add the following error messages at Sisimai::Rhost::ExchangeOnline:
451 4.7.650 The mail server [...] has been temporarily rate limited due to IP reputation ... (S775)
550 5.7.1 ... Please contact your Internet service provider since part of their network is on our block list (S3150)
Error messages of Exchange Server 2019
[Both] Add many error messages at Sisimai::Rhost::GoogleApps
0 notes
libsisimai · 2 years
Text
Sisimai 4.25.14 (BUG FIX)
Tumblr media
Sisimai 4.25.14 has been released as a bug fix version. The bug ("timestamp” value shift bug) exists only in the Perl version of Sisimai.
v4.25.14 may be the final release of the version 4 series. However, we will release v4.25.15 if a serious bug were found after today. And then, Sisimai 5 and the Go language version of Sisimai are under development on sisimai/go-sisimai repository and will be released until the next summer.
1 note · View note
libsisimai · 2 years
Text
Sisimai 4.25.13 (Bug fix)
Tumblr media
Sisimai 4.25.13 has been released as a bug fix version. The bug (t/501-data-json.t test fails) exists only in the Perl version of Sisimai, and is described at https://github.com/sisimai/p5-sisimai/issues/455 .
v4.25.13 may be the final release of the version 4 series. However, we will release v4.25.14 if a serious bug were found after today. And then, Sisimai 5 and the Go language version of Sisimai are under development on sisimai/go-sisimai repository and will be released until the next summer.
1 note · View note
libsisimai · 3 years
Text
Sisimai 4.25.12 (Bug fix)
Tumblr media
Sisimai 4.25.12 has been released. This release include serious bug fixes, some code improvements, and the addition of some sample emails.
v4.25.12 may be the final release of the version 4 series. However, we will release v4.25.13 if a serious bug were found after today. And then, Sisimai 5 and the Go language version of Sisimai are under development on sisimai/go-sisimai repository and will be released until the next summer.
[Perl] Localize global variables used by YAML and YAML::Syck: `$YAML::Syck::*`, `$YAML::*`. at `Sisimai::Data::YAML` module.
[Both] Add a new error code of La Poste at `Sisimai::Rhost::FrancePTT` module, a new sample email `rhost-franceptt-12.eml` into `set-of-emails/` directory.
[Both] Add `rfc3464-41.eml` and `rfc3464-42.eml`
[Both] Remove all the HTML elements from the value of "diagnosticcode"
[Both] Fix serious bugs
Values of `deliverystatus` and `replycode` detected from the message body did not use at `Sisimai::Lhost::Exim`.
`true()` method strictly checks the value of `smtpcommand` at some classes in `Sisimai::Reason`. For example, when a detected reason is `spamdetected` and `virusdetected` the value of `smtpcommand` should be `DATA` or an SMTP command to be sent after `DATA`.
0 notes
libsisimai · 3 years
Link
0 notes
libsisimai · 3 years
Text
Sisimai 4.25.11
Tumblr media
Sisimai 4.25.11 has been released. This release include updates of 60+ error message patterns and code improvements.
v4.25.11 may be the final release of the version 4 series. However, we will release v4.25.12 if a serious bug were found after today. And then, Sisimai 5 and the Go language version of Sisimai are under development on sisimai/go-sisimai repository and will be released until the next summer.
- [Ruby] Fix typo in `Sisimai::RFC3464` - [Both] Import some commits from Sisimai version 5 preview  - Improved code for getting an email address in `Sisimai::Address`  - Improved code for checking the day of month value, for converting a full month name and a full day of the week at `Sisimai::DateTime`  - Improvement code for picking text blocks of message/rfc822 part in RFC5322  - Add 60+ error message patterns  - Improved code for encodings in `Sisimai::Lhost::Domino`, `Sisimai::String`
0 notes
libsisimai · 3 years
Text
Sisimai 4.25.10, Bug fix version.
Tumblr media
Sisimai 4.25.10 has been released. This release include a bug fix for a serious problem (only in the Perl version of Sisimai) and other tiny updates for DNS related error message patterns. 
v4.25.10 is the final release of the version 4 series. However, we will release v4.25.11 if a serious bug were found after today. And then, Sisimai 5 and the Go language version of Sisimai are under development on sisimai/go-sisimai repository and will be released until the next spring or summer.
[Both] Remove the following old methods (marked as obsolete from v4.25.6)
Sisimai::Mail->close (automatically closes at the EOF)
Sisimai::Mail->type (use Sisimai::Mail->kind instead)
Sisimai::Mail->mail->* (use Sisimai::Mail->data->* instead)
[Both] Code improvement for “Source-IP” field on ARF. Thanks to @cucx
[Both] Exim and X3 in Sisimai::Lhost improved. Thanks to @AmarkhiS
[Both] Updates for DMARC and SPF related errors
The value of “reason” rejected due to DMARC policy is “policyviolation”
The value of “reason” rejected due to no SPF record is “rejected”
Add some sample emails related to above into set-of-emails/
[Perl] #421 Fixed a serious bug at the value of “token” in the parsed results only in the Perl version of sisimai since v4.22.1p1 (Released 2017 Summer). The value of “token” generated by Sisimai::Data->new method between v4.22.1p1 to v4.25.9 returns a meaningless value because there were wrong arguments for Sisimai::String->token method call.
0 notes
libsisimai · 4 years
Text
v4.25.9, Final Release of V4
Tumblr media
Sisimai 4.25.9 has been released. This release include a bug fix for a serious regular expression problem, and other tiny updates.
v4.25.9 is the final release of the version 4 series. However, we will release v4.25.10 if a serious bug were found after today. And then, Sisimai 5 and the Go language version of Sisimai are under development on sisimai/go-sisimai repository and will be released until the next spring.
[Perl] Fix typo in `Sisimai::SMTP::Error`.
[Both] Support Null MX (RFC7505) on Sendmail sisimai/set-of-emails#4
[Ruby] Suppress warning messages on Ruby 2.7. Thanks to @koic
Suppress keyword argument warnings in Ruby 2.7
Suppress a Ruby warning for `Object#=~` and bug fix to match patterns
[Both] Fix a serious performance problem in regular expressions using `.+` at some error message patterns in Sisimai::Reason. Thanks to Martin Kluge.
[Both] Suport Null MX (RFC7505) on Sendmail sisimai/set-of-emails#4
0 notes
libsisimai · 4 years
Text
v4.25.8
Tumblr media
Sisimai 4.25.8 has been released. This release include 2 new MTA modules, 2 bug fixes only in Ruby version of Sisimai, and tiny code improvements.
v4.25.8 is the final release of the version 4 series. However, we will release v4.25.9 if a serious bug were found after today. And then, Sisimai 5 and the Go language version of Sisimai are under development and will be released late summer.
[Both] Repository URL was changed to https://github.com/sisimai/p5-sisimai, https://github.com/sisimai/rb-sisimai (Lower-cased “s”)
[Both] `Sisimai::Message->make` method was merged into `Sisimai::Message->new`
[Both] `Sisimai::Message->divideup` returns an array (faster than a hash)
[Both] Remove unused code blocks for deciding the order of email header fields at `Sisimai::Data->make` method
[Both] Remove old parameters: `datasrc` and `bounces` at the callback feature
[Both] Implement `Sisimai::Rhost::Spectrum` for parsing bounce mails returned from https://www.spectrum.com/.
[Both] Remove unused method `Sisimai::Rhost->list`
[Both] Implement `Sisimai::Rhost::Cox` for parsing bounce mails returned from Cox: https://cox.com/.
[Ruby] Fix bugs in `Sisimai::Lhost::FML` and `Sisimai::Lhost::X5`
[Ruby] Fix code for finding the value of `Diagnostic-Code` field in multiple lines at `Sisimai::RFC3464`
0 notes
libsisimai · 4 years
Text
Sisimai 4.25.7 (Bug fix)
Tumblr media
Sisimai 4.25.7 has been released. Some serious bugs in v4.25.6 have fixed at this release.
[Perl] Make required minimum Perl version clear: v5.10.1 or later
[Perl] Fix bug around state, constant only in Perl 5.10.0. Thanks to CPAN Testers:
http://www.cpantesters.org/cpan/report/45cc37b2-848e-11ea-8c85-8657451fef07
http://www.cpantesters.org/cpan/report/7a121fac-8590-11ea-9066-e374b0ba08e8
[Ruby] Bug fix in `rake spec` for removed module `Sisimai::Lhost::UserDefined`
0 notes
libsisimai · 4 years
Text
Sisimai 4.25.6
Tumblr media
Sisimai 4.25.6 has been released. This release includes a new accessor “origin” which keeps the path to email as a data source at Sisimai::Data, some performance tunings, and changes at Sisimai::Mail classes. All the changes are below:
[Perl] Fix a little spelling errors. Thanks to @guimard
[Both] Make `Sisimai::Message` 27-33% faster
Use the negative look-ahead regular expression code to convert all of the email header strings into key-value pairs as a HASH at newly implemented method `Sisiai::Message->makemap`. Thanks to @xtetsuji
Remove `Sisimai::Message->takeapart` (replaced with `makemap`)
Remove `Sisimai::Message->headers` (replaced with `makemap`)
Code improvement for `require` statement before method calls
[Both] Make `Sisimai::Order` 12-44%% faster
Rewrite `Sisimai::Order->make`
Remove `Sisimai::Order->by`
Remove `Sisimai::Order->headers`
Remove `Sisimai::Lhost->headerlist`
And all `headerlist` method have been removed from `Sisimai::Lhost::*`, `Sisimai::RFC3834` and `Sisimai::ARF`
The MTA module to be loaded at first is decided by the first 2 words of each bounce mail subject, is defined at `$Subject` in `Sisimai::Order`
Some variables are replaced to a constant
[Both] Each `field` parameter has been removed from the following methods because Sisimai detect all the email header fields by `Sisimai::Message->makemap()` without having to specify field names at `field` parameter
`Sisimai->make`
`Sisimai::Message->new`
`Sisimai::Message->make`
[Both] Code improvement for `require` statement before calling `match()` method of some modules defined in `$PreMatches` at `Sisimai::Reason::UserUnknown`
[Both] Remove the following unused methods:
`Sisimai::MIME->patterns`
`Sisimai::SMTP->command`
[Both] Some file global variables have been replaced to a constant
[Both] Performance improvement: 10-12% faster, reduced 6-9% of method calls
[Both] `Sisimai::Lhost::Google` has been renamed to `Sisimai::Lhost::Gmail`
[Both] Implement 4 MTA modules:
`Sisimai::Lhost::Barracuda`
`Sisimai::Lhost::PowerMTA`
`Sisimai::Lhost::X6`
`Sisimai::Lhost::GoogleGroups`
[Both] "email-" prefix of each sample email in set-of-emails/maildir directory has been replaced with "lhost-"
[Both] SMTP Agent improvement
Remove `Email::` prefix from the value of `smtpagent` at parsed results
Remove `Sisimai::Lhost->smtpagent` method
[Both] Improved the following MTA modules:
`Sisimai::Lhost::Amavis`
`Sisimai::Lhost::InterScanMSS`
`Sisimai::Lhost::Office365` improvement for reading MIME-encoded subject
`Sisimai::Lhost::Exchange2007` supports error messages in `it-CH`
[Both] Tiny bug fix for `Subject` header decoding
[Both] Fix bug in code for getting an `"addresser"` address from `From:` field in the original message part which are multiple lines at `Sisimai::ARF`.  Thanks to @jcbf​
[Both] New accessor `origin` at `Sisimai::Data` and the parsed results for keeping a path to the source email
[Both] `Sisimai::Mail` improvement for compatibilities with the Go language version of Sisimai which will be released this summer
Removed `Sisimai::Mail::STDIN->name` (not used)
Removed `Sisimai::Mail::Maildir->inodes` (not needed to check the inode)
Warning message is displayed when the following methods are called:
`Sisimai::Mail->close` (automatically closes at the EOF)
`Sisimai::Mail->type` (use `Sisimai::Mail->kind` instead)
`Sisimai::Mail->mail->*` (use `Sisimai::Mail->data->*` instead)
Methods above will be removed at v4.25.10
`Sisimai::Mail::Memory->data` renamed to `Sisimai::Mail::Memory->payload`
`Sisimai::Mail::Maildir->size` keeps the number of files in the Maildir/
`Sisimai::Mail::Maildir->offset` keeps the number of email files in the Maildir/ which have been read
Call `Sisimai::Mail::*->read` directly instead of `Sisimai::Mail->read`
[Both] Remove `Sisimai::Lhost::UserDefined` (not used)
[Both] Add the following D.S.N. codes and error messages (not tested)
Thanks to @jcbf​
`Mailbox does not exist!` at `Sisimai::Reason::UserUnknown` (Amazon SES)
`Not a valid recipienet` at `Sisimai::Reason::UserUnknown` (Yahoo!)
`Envelope blocked` at `Sisimai::Reason::Rejected` (Minecast.com)
`5.2.122` is toomanyconn, `5.4.11` is contenterror, `5.7.51` is blocked at `Sisimai::Rhost::ExchangeOnline`
0 notes
libsisimai · 4 years
Text
Sisimai 4.25.5
Tumblr media
Sisimai 4.25.5 has been released. Many improvements for French ESPs, Removed features for reading and parsing JSON, Less lines of code in this release. All the changes are the followings:
[BOTH] JSON READING AS AN INPUT SOURCE AND JSON PARSING AS A BOUNCE OBJECT ARE NO LONGER PROVIDED AS OF v4.25.5
[BOTH] The following obsoleted classes and modules have been removed
Sisimai::Message::Email
Sisimai::Message::JSON
Sisimai::Order::Email
Sisimai::Order::JSON
Sisimai::Bite::Email
Sisimai::Bite::JSON
[BOTH] Fix parser code to get an error message which is not beginning with # character at Sisimai::Lhost::Exchange2007. Thanks to @aderumier
[BOTH] Support case insensitive error code at Sisimai::Rhost::FrancePTT. Thanks to @aderumier
[BOTH] Code improvement at Sisimai::Lhost::EinsUndEins for detecting error messages and setting the value of rhost.
[BOTH] Code improvements at Sisimai::Lhost::Postfix to parse an email which have neither delivery reports nor error messages. Thanks to @aderumier
[BOTH] Code improvements at Sisimai::RFC3834 to parse a vacation message replied automatically from iCloud. Thanks to @aderumier
[BOTH] Many Pull-Requests and sample emails for French ESPs. Thanks to @aderumier
Add 4 error code values at Sisimai::Rhost::FrancePTT
102 = blocked
426 = suspend
505 = systemerror
999 = blocked
Add 7 sample emails at set-of-emails/ directory: rhost-franceptt-04, 05, 06, 07, 08, 10, and 11 for Sisimai::Rhost::FrancePTT
Add many error codes and error messages from Orange and La Poste
[BOTH] Code improvement at Sisimai::Lhost::Postfix for setting HELO into the value of smtpcommand in the parsed results.
[BOTH] Tiny improvement around accessors and variables
[BOTH] Large scale code improvement at each modules in Sisimai::Lhost
[BOTH] reduce the number of lines in code about 12%
[Perl] Add POD section into 2 obsoleted modules: Sisimai::Bite::Email and Sisimai::Bite::JSON. Thanks to @guimard
[Perl] Fix little spelling error at Sisimai::Order. Thanks to @guimard
[Ruby] Fix bug in code to detect whether a bounce mail was generated by Office365 or not at Sisimai::Lhost::Office365
[Ruby] Fix duplicated ranges in some regular expressions at Sisimai::Address
0 notes
libsisimai · 4 years
Text
v4.25.4
Tumblr media
Sisimai 4.25.4 has been released. This release include large scale changes at Sisimai::Bite name space and improvement for error message patterns. All the changes are the followings:
THE ABILITY TO READ JSON STRING AS AN INPUT SOURCE AND TO PARSE JSON FORMATTED BOUNCE MESSAGE WILL NOT BE SUPPORTED AT Sisimai 4.25.5
The following modules for reading json string as an input source, and for parsing json formatted bounce message will be removed at Sisimai 4.25.5
Sisimai::Message::JSON
Sisimai::Bite::JSON
Sisimai::Bite::JSON::AmazonSES
Sisimai::Bite::JSON::SendGrid
Sisimai::Order::JSON
Implement a new MTA module class Sisimai::Lhost, it is a parent class of all the MTA modules for a bounce mail returned as an email message via SMTP and THE FOLLOWING NAME SPACES WERE MARKED AS OBSOLETED OR REMOVED
Sisimai::Bite: Use Sisimai::Lhost instead
Sisimai::Bite::Email: Merged into Sisimai::Lhost
Sisimai::Bite::Email::*: Moved under Sisimai::Lhost as the same named MTA module
The following modules were marked as obsoleted, will be removed and merged into each parent class
Sisimai::Message::Email
Sisimai::Order::Email
USAGE AND PARAMETERS FOR THE FOLLOWING METHODS HAVE NOT BEEN CHANGED AT ALL AND WILL NOT BE CHANGED AFTER Sisimai 4.25.5
Sisimai->make
Sisimai->dump
Sisimai::Message->new
Implement Sisimai::Rhost::IUA for SMTP error codes at www.i.ua .
Update error message pattern for ClamSMTP at "virusdetected" reason.
Multibyte characters in the original subject header will not be removed and replaced with "MULTIBYTE CHARACTERS HAS BEEN REMOVED"
Error message `... had no relevant answers.` from GSuite is classified into "networkerror" reason.
[Perl] Do not use utf8 flag
[Ruby] Fix an indicator string for detecting the beginning of the original message part at Sisimai::Lhost::MFILTER
0 notes
libsisimai · 5 years
Text
v4.25.3 (Bug fix)
Tumblr media
Sisimai 4.25.3 has been released. This release include some bug fixes and tiny error message pattern improvement for Google, GMX and I.UA. 
[Both] Fix code for getting a recipient address from the original message part at `Sisimai::ARF`
[Both ]Fix code for getting a recipient address and a subject string from the original messaage part at `Sisimai::Bite::Email::MailMarshalSMTP`
[Both] Fix code to delete unused multipart headers at `Sisimai::MIME.breaksup`
[Perl] Fix spell in a key name of hash for storing a recipient adress and regular expression for getting a recipient address at `Sisimai::RFC3464`
[Both] Fix code for getting a recipient address and an expanded address from `Final-Recipient:` and `Original-Recipient:` field at `Sisimai::RFC3464`
[Both] Update code for matching error message "The user you are trying to contact is receiving mail at a rate that prevents additional messages from being delivered." at `Sisimai::Rhost::GoogleApps`
[Both] Update error message pattern for "blocked" reason from GMX: "ESMTP Service not available No SMTP service Bad DNS PTR resource record."
[Both] Update error message pattern for "suspend" reason responded from i.ua MTA: "550 Mailbox is frozen."
[Perl] Remove the following Perl versions from .travis.yml so Travis CI no longer support old Perls:
5.10
5.16
0 notes
libsisimai · 5 years
Text
v4.25.2 (Bug fix)
Tumblr media
Sisimai 4.25.2 has been released. Two serious bugs since v4.22.3 only in the Perl version of Sisimai were fixed at this release.
[Perl] Fix two serious bugs:
MIME decoding code in Sisimai::MIME
Code to capture a recipient address in Sisimai::Bite::Email::IMailServer
[Both] Strictly checks the number of parsed emails in `make test`
0 notes