-
Notifications
You must be signed in to change notification settings - Fork 24
/
Changes
1457 lines (1371 loc) · 76.7 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
RELEASE NOTES for Perl version of Sisimai
===================================================================================================
- releases: "https://github.com/sisimai/p5-sisimai/releases"
- download: "https://metacpan.org/pod/Sisimai"
- document: "https://libsisimai.org/"
v5.1.0
---------------------------------------------------------------------------------------------------
- release: "Mon, 1 Jul 2024 12:02:22 +0900 (JST)"
- version: "5.1.0"
- changes:
- #531 #535 Remove v4 compatible features
- `Sisimai->make()`
- `Sisimai::Fact->softbounce()`
- #478 #526 Implemenet `Sisimai::Lhost::DragonFly`
- Add 30 sample emails generated by DMA: DrangonFly Mail Agent (lhost-dragonfly-*.eml)
- #523 Consolidate error messages scattered under `Sisimai::Reason::*` into `Sisimai::Rhost::*`
classes for each email service
- `Sisimai::Rhost::YahooInc` for https://senders.yahooinc.com/smtp-error-codes/
- `Sisimai::Rhost::Apple` for iCloud Mail
- The following sample emails in `set-of-emails/maildir/bsd`:
- 3 sample emails (rhost-yahooinc-0[1-3].eml)
- 4 sample emails (rhost-apple-0[1-4].eml)
- #524 #525 #529 Sisimai::Rhost improvements
- Update the error code list and error message patterns in the following classes:
- `Sisimai::Rhost::Cox`
- `Sisimai::Rhost::FrancePTT`
- `Sisimai::Rhost::GoDaddy`
- `Sisimai::Rhost::Mimecast`
- `Sisimai::Rhost::Spectrum`
- `Sisimai::Rhost::Tencent`
- Each error message should be compared with the lowercased string
- Follow any updates of the SMTP error code and message list in each email services related to
`AuthFailure`, `BadReputation`, `RequirePTR`, and other error reasons added at v5
- No longer needed method `Sisimai::Rhost->match' has been removed
- #339 #530 Add 8 sample emails (lhost-opensmtpd-1[0-7].eml)generated by OpenSMTPD 6.8.0p2
- #331 #532 Add 9 sample emails (lhost-qmail-1[1-9].eml) generated by notqmail 1.08
- #209 #220 Add 6 sample emails (lhost-qmail-2[0-5].eml) generated by indimail 3.0.7 #533
- Sisimai works on Perl 5.40.0 ef8d1f8
v5.0.3
---------------------------------------------------------------------------------------------------
- release: "Wed, 22 May 2024 14:00:22 +0900 (JST)"
- version: "5.0.3"
- changes:
- Declare `use v5.26;` at each file using the postfix dereference #511
- Replace `use feature ":5.10";` with `use v5.26;`
- https://www.cpantesters.org/cpan/report/4a49b2fa-e101-11ee-9c91-c03a6e8775ea (Slaven Rezić)
- https://www.cpantesters.org/cpan/report/8345bf54-e192-11ee-bcdd-1845aa8c77b5 (David Cantrell)
- https://www.cpantesters.org/cpan/report/3170e9aa-e526-11ee-98b0-b3c3213a625c (Chris Williams)
- https://www.cpantesters.org/cpan/report/e51d7d7a-e58e-11ee-922b-530cbea18e0e (Andreas J. König)
- Remove `.travis.yml` from this repository
- Follow updates in Gmail SMTP errors and codes on Apr 29 and May 10 at `Sisimai::Rhost::Google`
#513 #515 #519
- https://support.google.com/a/answer/3726730?hl=en
- https://github.com/azumakuniyuki/feb-2024-no-auth-no-entry/commit/1d6adede
- https://github.com/azumakuniyuki/feb-2024-no-auth-no-entry/commit/d477b178
- Implement SMTP error codes as follows: `4.7.23`, `4.7.30`, `4.7.32`, `5.7.29`, and `5.7.30`
- Shortened error message patterns to make them more adaptable to minor sentence changes.
- Multibyte characters in the code and comments have been replaced with ASCII characters. #514
- Import sisimai/rb-sisimai#280 Deal the Apple unsubscribe notification as an ARF message #516
- Add the following error message patterns returned from Exchange Online #517
- 4.4.317, 5.4.317: STARTTLS is required to send mail
- 4.4.318, 5.4.318: Connection was closed abruptly (SuspiciousRemoteServerError)
- #518 Added 16 error message patterns into the following reasons:
- `Blocked`
- `Expired`
- `Filtered`
- `MailboxFull`
- `NoRelaying`
- `Suspend`
- `UserUnknown`
- #320 #520 use Codecov for the coverage
v5.0.2
---------------------------------------------------------------------------------------------------
- release: "Wed, 13 Mar 2024 13:00:00 +0900 (JST)"
- version: "5.0.2"
- changes:
- #507 Migrate the CI from TravisCI to GitHub Actions
- Fixed an issue where constant initialization would fail on Perl 5.26
- `5.7.23` returned from Office365 is an error related to SPF vilation (authfailure)
- #508 Fixed an issue that Sisimai could not get the value of `alias` address correctly when an
email forwarded and bounced
- `Sisimai::RFC5322->received` now returns a list including all the elements except date time and
(comments) found in the `Received` header
- Update the error message patterns in `Sisimai::Rhost::Mimecast`
- Update the error message patterns in the followings:
- `AuthFailure`
- `Blocked`
- `Expired`
- `MailboxFull`
- `SecurityError`
- `SpamDetected`
- `Suspend`
v5.0.1
---------------------------------------------------------------------------------------------------
- release: "Sun, 3 Mar 2024 17:17:17 +0900 (JST)"
- version: "5.0.1"
- changes:
- #464 Import the commit 78465c79970474602be796232bea345909078b9a at `t/023-mail-stdin.t`
- #501 Implement three SMTP status codes as follows: `5.7.28`, `5.7.29` and `5.7.30` described in
https://www.iana.org/assignments/smtp-enhanced-status-codes/smtp-enhanced-status-codes.xhtml
- #502 The values of `reason` of `postfix-28.eml` and `postfix-29.eml` in decoded results have
been fixed to `notcompliantrfc`.
- #504 Implement and update SMTP error codes, reply codes, and error messages described at Google
https://support.google.com/a/answer/3726730?hl=en in `Sisimai::Rhost::Google`.
- #505 Fix bugs in `t/500-fact.t` and `t/600-lhost-code.t` at the code `use YAML;`. In Sisimai,
The YAML module is an optional and not required. Thanks to @eserte
v5.0.0
---------------------------------------------------------------------------------------------------
- release: "Fri, 2 Feb 2024 23:22:22 +0900 (JST)"
- version: "5.0.0"
- changes:
- **INCOMPATIBLE CHANGES SINCE SISIMAI VERSION 4**
- Sisimai version 5 requires Perl 5.26 or later
- #446, 448 Use the postfix dereference
- `Sisimai->make` marked as obsoleted, use `Sisimai->rise` instead
- Sisimai does not return the result which reason is `vacation` by default. Use `vacation => 1`
option at `Sisimai->rise()` method to get the parsed results for `vacation` reason. #436 #437
- `Sisimai::Data` and `Sisimai::Fact`
- #419, #420 `Sisimai::Data` class has been renamed to `Sisimai::Fact`
- #402 `Sisimai::Data->softboucne` marked as obsoleted and will be removed at v5.1.0, use
`Sisimai::Fact->hardbounce` instead
- #401 `Sisimai::Message`
- `Sisimai::Message` no longer create an object
- `Sisimai::Message->make` has been renamed to `Sisimai::Message->rise`
- #399 Callback feature
- Parameter `hook` for a callback has been removed from `Sisimai->make` and `Sisimai->dump`.
Use the first element of the `c___` parameter for setting a callback method instead.
- Parameter `c___` is a parameter of `Sisimai->rise` and `Sisimai->dump`, is an array refer-
ence and have two elements:
- The first element of `c___` is the same as the `hook` parameter, is for a callback method
email headers and entire message body
- The second element of the `c___` parameter is for a callback method for each email file in
Maildir/. The callback method is called at the end of each email file parsing.
- Implement the following error reasons:
- `AuthFailure` is a bounce reason which rejected due to SPF, DKIM, or DMARC failure #467
- `BadReputation` is a bounce reason which rejected due to an IP address reputation #469
- `NotCompliantRFC` is a bounce reason which rejected due to non-compliance with RFC
- `RequirePTR` is a bounce reason which rejected due to missing PTR or having invalid PTR
- `Speeding` is a bounce reason which rejected due to exceeding a rate limit or sending too
fast #466
- Implement `Sisimai::RFC2045`: Born again `Sisimai::MIME` for compatibility with the Go language
version of Sisimai #407
- #429 `Sisimai::Message->rise()` parses twice when the entire message body of a bounced mail is
multi parted begins with "message/rfc822".
- #431 Add error messages in some European languages into Office365 and Domino
- #445 Implement `Sisimai::STMP::Transcript` for parsing a transcript of session log
- #451 Reduce substitution code by using `for`
- #490, #495 Reduce 82% of regular expressions
- Implement the following methods:
- `Sisimai::SMTP::Command->test`
- `Sisimai::SMTP::Reply->test`
- `Sisimai::SMTP::Status->test`
- `Sisimai::SMTP::Status->prefer`
- `Sisimai::String->aligned`
- `Sisimai::String->ipv4`
- Rename the following classes in `Sisimai::Rhost`:
- `Sisimai::Rhost::Microsoft` (ExchangeOnline)
- `Sisimai::Rhost::Google` (GoogleApps)
- `Sisimai::Rhost::Tencent` (TencentQQ)
- Add a sample email bounced from Rakuten Mobile: sisimai/set-of-emails#20
- `lhost-postfix-76.eml` (userunknown)
- Add sample emails bounced from Amazon SES
- `lhost-postfix-77.eml` (norelaying)
- `lhost-postfix-78.eml` (contenterror)
- Happy Birthday to Suzu a.k.a. "Neko-dono" Michitsuna
v4.25.16p1
---------------------------------------------------------------------------------------------------
- release: "Thu, 1 Feb 2024 12:25:22 +0900 (JST)"
- version: "4.25.16p1"
- changes:
- #497 Tiny code improvement on `Sisimai::Lhost::EinsUndEins` to parse bounce emails in slightly
different formats.
v4.25.16
---------------------------------------------------------------------------------------------------
- release: "Tue, 16 May 2023 15:03:56 +0900 (JST)"
- version: "4.25.16"
- changes:
- 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
- Fix issue #492, To avoid slowing down the parsing speed, reduce the size of the email by re-
moving unnecessary parts (`text/html`, `application/*`, and `image/*`). Thanks to @gody01
v4.25.15
---------------------------------------------------------------------------------------------------
- release: "Thu, 22 Dec 2022 13:00:22 +0900 (JST)"
- version: "4.25.15"
- changes:
- #464 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
- #465 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 de-
livered" to "toomanyconn" at GoogleApps.pm in Sisimai/Rhost.
- Add many error message patterns at the following classes in `Sisimai/Reason`
- `Blocked`
- `ContentError`
- `Filtered`
- `NetworkError`
- `NotAccept`
- `PolicyViolation`
- `Rejected`
- `SpamDetected`
- `TooManyConn`
- `UserUnknown`
- When the value of `diagnosticcode` has enough error message for detecting a bounce reason,
`expired` will change to proper reason
- Update code in `Sisimai::Lhost::GoogleGroups` module to parse well a bounce mail even if an e-
mail address of `X-Failed-Recipients` header does not include a domain `@googlegroups.com` #470
- Import #471 from Sisimai v5, Implement `Sisimai::Rhost::NTTDOCOMO` to parse more strictly a
bounce mail returned from `mfsmax.docomo.ne.jp`
- Import #475 from Sisimai v5, Implement `Sisimai::Rhost::Mimecast`
- 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 #476
- Add many error messages at `Sisimai::Rhost::GoogleApps`, Import #479
- Import sisimai/rb-sisimai#244, Prevent ReDOS in `Sisimai::String->to_plain` method #484
v4.25.14
---------------------------------------------------------------------------------------------------
- release: "Mon, 15 Aug 2022 14:00:22 +0900 (JST)"
- version: "4.25.14"
- changes:
- #461 Fix 2 bugs with the value of "timestamp" at the parsed result.
v4.25.13
---------------------------------------------------------------------------------------------------
- release: "Mon, 1 Aug 2022 16:06:55 +0900 (JST)"
- version: "4.25.13"
- changes:
- #455 Fix a bug related to utf8-flag in the value of Subject: header at test: t/501-data-json.t.
Thanks to CPAN Testers:
- http://www.cpantesters.org/cpan/report/8d7d0a08-f7a2-11ec-b1f1-9c81f839ead0
- http://www.cpantesters.org/cpan/report/de86d022-f898-11ec-a81a-c3b444d77217
- http://www.cpantesters.org/cpan/report/3169fa64-0198-11ed-a82a-d5de2185f16d
- http://www.cpantesters.org/cpan/report/ea451228-02ae-11ed-a985-cd0ba7eeaf61
v4.25.12
---------------------------------------------------------------------------------------------------
- release: ""Mon, 22 Nov 2021 12:22:22 +0900 (JST)"
- version: "4.25.12"
- changes:
- #438 Localize global variables used by YAML and YAML::Syck:`$YAML::Syck::*`, `$YAML::*`. at
`Sisimai::Data::YAML` module. Thanks to @bschmalhofer
- #441 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. Thanks to @vhenon
- Add `rfc3464-41.eml` and `rfc3464-42.eml`
- Remove all the HTML elements from the value of "diagnosticcode".
- #442, #443 Fix serious bugs:
- Both of the 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`
directory. For example, when a detected reason is `spamdetected` and `virusdetected` the val-
ue of `smtpcommand` should be `DATA` or an SMTP command to be sent after `DATA`.
v4.25.11
---------------------------------------------------------------------------------------------------
- release: "Mon, 22 Feb 2021 21:11:22 +0900 (JST)"
- version: "4.25.11"
- changes:
- Import some commits from Sisimai version 5 preview #422
- 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`
v4.25.10
---------------------------------------------------------------------------------------------------
- release: "Tue, 22 Dec 2020 13:22:22 +0900 (JST)"
- version: "4.25.10"
- changes:
- #384 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)
- #415 Code improvement for `Source-IP` field on ARF. Thanks to @cucx
- #416 Exim and X3 in `Sisimai::Lhost` improved. Thanks to @AmarkhiS
- #418 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/
- #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.
v4.25.9
---------------------------------------------------------------------------------------------------
- release: "Sat, 3 Oct 2020 22:00:00 +0900 (JST)"
- version: "4.25.9"
- changes:
- Fix typo in `Sisimai::SMTP::Error`. Thanks to @hekeli #410
- #411 Fix a serious performance problem in regular expressions using `.+` at some error message
patterns in Sisimai::Reason. Thanks to Martin Kluge.
- #414 Support Null MX (RFC7505) on Sendmail sisimai/set-of-emails#4
v4.25.8
---------------------------------------------------------------------------------------------------
- release: "Fri, 17 Jul 2020 11:59:49 +0900 (JST)"
- version: "4.25.8"
- changes:
- **Repository URL was changed to https://github.com/sisimai/p5-sisimai**
- `Sisimai::Message->make` method was merged into `Sisimai::Message->new`
- `Sisimai::Message->divideup` returns an array (faster than a hash) #390
- Remove unused code blocks for deciding the order of email header fields at `Sisimai::Data->
make()` method
- Remove old parameters: `datasrc` and `bounces` at the callback feature #394
- Implement `Sisimai::Rhost::Spectrum` for parsing bounce mails returned from
https://www.spectrum.com/. Thanks to @meir-w #395
- Remove unused method `Sisimai::Rhost->list` #396
- Implement `Sisimai::Rhost::Cox` for parsing bounce mails returned from Cox: https://cox.com/.
Thanks to @meir-w #398
v4.25.7
---------------------------------------------------------------------------------------------------
- release: "Wed, 25 Apr 2020 22:22:22 +0900 (JST)"
- version: "4.25.7"
- changes:
- #391 Make required minimum Perl version clear: v5.10.1 or later
- Fix bug around state, constant only in Perl 5.10.0. Thanks to CPAN Testers:
- www.cpantesters.org/cpan/report/45cc37b2-848e-11ea-8c85-8657451fef07
- www.cpantesters.org/cpan/report/7a121fac-8590-11ea-9066-e374b0ba08e8
v4.25.6
---------------------------------------------------------------------------------------------------
- release: "Wed, 22 Apr 2020 16:22:22 +0900 (JST)"
- version: "4.25.6"
- changes:
- #367 Fix a little spelling errors. Thanks to @guimard
- #368 Make `Sisimai::Message` 33% faster
- Use the negative look-ahead regular expression code for converting all of the email header
strings into key-value pairs as a HASH at newly implemented method `Sisiai::Message->makemap`
#366. 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 #371
- Make `Sisimai::Order` 12% faster
- Rewrite `Sisimai::Order->make`
- Remove `Sisimai::Order->by`
- Remove `Sisimai::Order->headers`
- Remove `Sisimai::Lhost->headerlist`
- And all `headerlist()` methods 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 sub-
ject, is defined at `$Subject` in `Sisimai::Order`
- Some variables are replaced with `state`
- 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`
- Code improvement for `require` statement before calling `match` method of some modules defined
in `$PreMatches` at `Sisimai::Reason::UserUnknown`
- #369 Remove the following unused methods:
- `Sisimai::MIME->patterns`
- `Sisimai::SMTP->command`
- Some file global variables have been replaced with `state` #371
- Performance improvement: 12% faster, reduced 6% of method calls
- `Sisimai::Lhost::Google` has been renamed to `Sisimai::Lhost::Gmail` #377
- Implement 4 MTA modules: #373 #376
- `Sisimai::Lhost::Barracuda`
- `Sisimai::Lhost::PowerMTA`
- `Sisimai::Lhost::X6`
- `Sisimai::Lhost::GoogleGroups`
- `email-` prefix of each sample email in set-of-emails/maildir directory has been replaced with
`lhost-` sisimai/set-of-emails#14
- SMTP Agent improvement #362
- Remove `Email::` prefix from the value of `smtpagent` at parsed results
- Remove `Sisimai::Lhost->smtpagent` method
- Improved the following MTA modules:
- `Sisimai::Lhost::Amavis` #380
- `Sisimai::Lhost::InterScanMSS`
- `Sisimai::Lhost::Office365` improvement for reading MIME-encoded subject
- `Sisimai::Lhost::Exchange2007` supports error messages in `it-CH`
- Tiny bug fix for `Subject` header decoding
- Fix bug in code for getting an `"addresser"` address from `From:` field in the original message
part which are multiple lines at `Sisimai::ARF`. #385 Thanks to @jcbf
- #383 New accessor `origin` at `Sisimai::Data` and the parsed results for keeping a path to the
source email
- #384 `Sisimai::Mail` improvement for compatibilities with the Go language version of Sisimai
which will be released this summer #389
- 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`
- Remove `Sisimai::Lhost::UserDefined` (not used)
- #387 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`
v4.25.5
---------------------------------------------------------------------------------------------------
- release: "Wed, 22 Jan 2020 14:44:44 +0900 (JST)"
- version: "4.25.5"
- changes:
- **JSON READING AS AN INPUT SOURCE AND JSON PARSING AS A BOUNCE OBJECT ARE NO LONGER PROVIDED AS
OF v4.25.5**
- The following obsoleted classes and modules have been removed #356 #359
- `Sisimai::Message::Email`
- `Sisimai::Message::JSON`
- `Sisimai::Order::Email`
- `Sisimai::Order::JSON`
- `Sisimai::Bite::Email`
- `Sisimai::Bite::JSON`
- #344 Add POD section into 2 obsoleted modules: `Sisimai::Bite::Email` and `Sisimai::Bite::JSON`
Thanks to @guimard
- #343 Fix little spelling error at `Sisimai::Order`. Thanks to @guimard
- #342 Fix parser code to get an error message which is not beginning with `#` character at
`Sisimai::Lhost::Exchange2007`. Thanks to @aderumier
- #347 Support case insensitive error code at `Sisimai::Rhost::FrancePTT`. Thanks to @aderumier
- #348 Code improvement at `Sisimai::Lhost::EinsUndEins` for detecting error messages and setting
the value of `rhost`.
- Code improvements at `Sisimai::Lhost::Postfix` to parse an email which have neither delivery
reports nor error messages. Thanks to @aderumier
- Code improvements at `Sisimai::RFC3834` to parse a vacation message replied automatically from
iCloud. Thanks to @aderumier at #346
- Many Pull-Requests and sample emails for French ESPs. Thanks to @aderumier
- Add 4 error code values at `Sisimai::Rhost::FrancePTT` #349 #353 #357
- `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` #353 #357
- Add many error codes and error messages from Orange and La Poste
- Code improvement at `Sisimai::Lhost::Postfix` for setting `HELO` to the value of `smtpcommand`
in the parsed results. #350
- Tiny improvement around accessors and variables
- Large scale code improvement at each modules in `Sisimai::Lhost`
- reduce the number of lines in code about 12%
v4.25.4
---------------------------------------------------------------------------------------------------
- release: "Tue, 3 Dec 2019 12:22:22 +0900 (JST)"
- version: "4.25.4"
- changes:
- #332 **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 for-
matted 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** #333
- `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 https://www.i.ua/.
- Update error message pattern for ClamSMTP at "virusdetected" reason.
- Do not use utf8 flag
- Multibyte characters in the original subject header will not be removed and replaced with "MUL-
TIBYTE CHARACTERS HAS BEEN REMOVED"
- Error message `... had no relevant answers.` from GSuite is classified into `networkerror`.
v4.25.3
---------------------------------------------------------------------------------------------------
- release: "Sat, 7 Sep 2019 15:00:02 +0900 (JST)"
- version: "4.25.3"
- changes:
- Fix code for getting a recipient address from the original message part at `Sisimai::ARF` #325
- #326 Fix code for getting a recipient address and a subject string from the original messaage
part at `Sisimai::Bite::Email::MailMarshalSMTP`
- Fix code to delete unused multipart headers at `Sisimai::MIME->breaksup()`
- Fix spell in a key name of hash for storing a recipient adress and regular expression for get-
ting a recipient address at `Sisimai::RFC3464`
- #328 Fix code for getting a recipient address and an expanded address from `Final-Recipient:`
and `Original-Recipient:` field at `Sisimai::RFC3464`
- 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`
- Update error message pattern for "blocked" reason from GMX: "ESMTP Service not available No
SMTP service Bad DNS PTR resource record."
- Update error message pattern for "suspend" reason responded from i.ua MTA: "550 Mailbox is fro-
zen."
- Remove the following Perl versions from .travis.yml so Travis CI no longer support old Perls:
- 5.10
- 5.16
v4.25.2
---------------------------------------------------------------------------------------------------
- release: "Thu, 1 Aug 2019 20:00:00 +0900 (JST)"
- version: "4.25.2"
- changes:
- #323 Fix two serious bugs:
- MIME decoding code in Sisimai::MIME
- Code to capture a recipient address in Sisimai::Bite::Email::IMailServer
- Strictly checks the number of parsed emails in `make test`
v4.25.1
---------------------------------------------------------------------------------------------------
- release: "Tue, 23 Jul 2019 10:00:00 +0900 (JST)"
- version: "4.25.1"
- changes:
- #310 Bug fix in `Sisimai::Rhost::GoogleApps`. Thanks to @beeing.
- Check the format of the value of `Message-Id` header for detecting a bounce mail from Exim or
not.
- Call `Sisimai::Rhost::FrancePTT` module when the value of `rhost` includes `.wanadoo.fr`.
- #312 Add an error message: `This mailbox is disabled` from `yahoo.com` into `Sisimai::Reason::
Suspend`. Thanks to @beeing.
- #315 Fix code at `Sisimai::Message::Email->takeapart()` to decode `Subject` header of the orig-
inal message.
- #316 Update error messages for Low Reputation Error from Gmail.
- Fix code for checking `rhost` value at `Sisimai::Rhost`.
- Parser code to read bounce mails from m-FILTER at `Sisimai::Message::Email` has been improved.
Thanks to Nomura Research Institute, Ltd.
- Status 5.4.1 from Exchange Online is classified into "rejected" reason.
- Callback method specified at `Sisimai::Message->new` with `hook` is called just before calling
`scan()` method of each `Sisimai::Bite::Email` module.
- Code improvement in `Sisimai::Bite::Email::Sendmail` for getting error messages returned from
Google.
- Sisimai works on Perl 5.30.
v4.25.0
---------------------------------------------------------------------------------------------------
- release: "Tue, 9 Apr 2019 10:22:22 +0900 (JST)"
- version: "4.25.0"
- changes:
- Implement new class `Sisimai::RFC1894` for parsing message/delivery-status part. #298
- Experimental implementation at the following MTA, Rhost modules:
- `Sisimai::Bite::Email::Amavis`: amavisd-new
- `Sisimai::Rhost::TencentQQ`: Tencent QQ (mail.qq.com)
- Sisimai works with JSON 4.00
- Remove unused methods and variables
- `Sisimai::DateTime->hourname`
- `$Sisimai::DateTime::HourNames`
- `Sisimai::RFC5322->is_domainpart`
- `Sisimai::Address->is_undisclosed`
- Code refactoring: less lines of code and shallower indentation.
- Fix bug in `Sisimai::ARF` to resolve issue #304. Thanks to @lewa.
- Remove `set-of-emails/logo` directory because we cannot change the license of each file in the
directory to The 2-Clause BSD License.
- Update error message patterns in the following modules:
- `Sisimai::Reason::Blocked` (hotmail, ntt docomo)
- `Sisimai::Reason::SystemError` (hotmail)
- `Sisimai::Reason::TooManyConn` (ntt docomo)
- `Sisimai::Reason::UserUnknown` (hotmail)
- `Sisimai::Reason::PolicyViolation` (postfix)
- `Sisimai::Bite::Email::McAfee` (userunknown)
- `Sisimai::Bite::Email::Exchange2007` (securityerror)
- Bug fix in `$Sisimai::Message::Email::TryOnFirst`: Module name to be loaded is checked before
calling `push` function for avoiding duplication.
- The order of `Sisimai::Bite::Email` modules to be loaded has been changed: Load Office365 and
Outlook prior to Exchange2007 and Exchange2003.
- Update the followng MTA modules for improvements and bug fixes:
- `Sisimai::Bite::Email::Exchange2007`
- MIME Decoding in `Subject:` header improved.
- Bug fix in `Sisimai::MIME->is_mimeencoded` method.
- Make stable the order of MTA modules which have MTA specific email headers at `Sisimai::Order::
Email->headers` method.
v4.24.1
---------------------------------------------------------------------------------------------------
- release: "Wed, 14 Nov 2018 11:09:44 +0900 (JST)"
- version: "4.24.1"
- changes:
- Fix bug in `Sisimai::RFC3464` module: scan method unintentionally detects non-bounce mail as a
bounce #296. Thanks to @whity.
- Remove unused method `Sisimai::DateTime->o2d` to avoid test failure with Perl 5.16.2 on NetBSD
#297. Thanks to Nigel Horne and CPAN Testers.
- Build test with Perl 5.28 on Travis CI.
v4.24.0
---------------------------------------------------------------------------------------------------
- release: "Thu, 1 Nov 2018 18:00:00 +0900 (JST)"
- version: "4.24.0"
- changes:
- Variable improvement (remove redundant substitution)
- Remove `Sisimai::RFC2606` (Unused module)
- MIME decoding improvement (Import Pull-Request from sisimai/rb-Sisimai#131)
- Implement `Sisimai::MIME->makeflat`
- Implement `Sisimai::MIME->breaksup`
- Call `Sisimai::MIME->makeflat()` at `Sisimai::Message::Email->parse()`
- Other related updates in `Sisimai::Bite::Email::*`
- Tiny improvement in `Sisimai::String->to_plain()` method.
- Update "blocked" error message patterns for iCloud.
- `A client IP address has no PTR record`
- `Invalid HELO/EHLO name`
v4.23.0
---------------------------------------------------------------------------------------------------
- release: "Fri, 31 Aug 2018 20:18:35 +0900 (JST)"
- version: "4.23.0"
- changes:
- #195 Implement `Sisimai::Mail::Memory` class for reading bounce messages from memory(variable).
- Update regular expression pattern in `Sisimai::Bite::Email::Office365` for detecting failure on
SMTP RCPT.
- Fix #288, test fails when localtime and gmtime differs. Thanks to @guimard.
- Follow up #289 (issue #288): Some test code have been loosened for UTC+13 (Pacific/Tongatapu),
UTC+14 (Pacific/Kiritimati).
- #290 Less function calls: redundant `length` and `require` function calls have been removed.
- #291 Fix typo in POD of `Sisimai::Data`. Thanks to @racke.
v4.22.7
---------------------------------------------------------------------------------------------------
- release: "Mon, 16 Jul 2018 13:02:54 +0900 (JST)"
- version: "4.22.7"
- changes:
- Register D.S.N. `4.4.312` and `5.4.312` on Office 365 as "networkerror".
- Fix error message pattern in `Sisimai::Reason::SecurityError`.
- Fix code to get the original `Message-Id` field which continued to the next line.
Thanks to Andreas Mock.
- Update error message pattern in `Sisimai::Reason::SpamDetected`.
- Add 15 sample emails for Postfix, Outlook and others.
- Add 3 sample emails for `Sisimai::RFC3464`.
- Add 2 sample vacation emails for `Sisimai::RFC3834`.
v4.22.6
---------------------------------------------------------------------------------------------------
- release: "Wed, 23 May 2018 20:00:00 +0900 (JST)"
- version: "4.22.6"
- changes:
- #271 Most `Module::Load::load` have been replaced with `require`.
- #272 Fix bug in `Sisimai::MIME->qprintd()`.
- #273 Error message pattern defined in `Sisimai::Reason::Filtered` has been replaced with fixed
strings.
- #274 Fix many spelling errors in some Pods. Thanks to @guimard.
- #275 Remove sample email files listed in sisimai/set-of-emails#6 to clarify copyrights for
`libsisimai-perl` package on Debian. Thanks to @guimard.
- The value of `softbounce` in the parsed results is always `1` when a reason is `undefined` or
`onhold`.
- #278 Less regular expression in each class of `Sisimai::Bite::Email`.
- #279 Cool logo for "set-of-emails". Thanks to @batarian71.
- #281 Implement `Sisimai::Rhost::KDDI` for detecting a bounce reason of au via `msmx.au.com` or
`lsean.ezweb.ne.jp`. Thanks to @kokubumotohiro.
- #282 Update sample emails and codes for getting error messages in a bounced email on Yahoo!.
- Add many sample emails for "notaccept" and "rejected".
v4.22.5
---------------------------------------------------------------------------------------------------
- release: "Fri, 30 Mar 2018 12:29:16 +0900 (JST)"
- version: "4.22.5"
- changes:
- #260 The order for loading MTA modules improvement.
- #261 "make test" now passes on Windows. Thanks to @charsbar.
- Sample emails in set-of-emails/ which are not owned by Sisimai project have been removed.
- Update error message patterns in `Sisimai::Reason::Expired`.
- Many error message patterns in Sisimai::Reason have been converted to fixed strings #266 #268.
- #267, #269: Use `rindex()` function instead of `index()` function.
- #232, #270, Pre-Updates for au.com, the new domain of EZweb announced at their site
http://news.kddi.com/kddi/corporate/newsrelease/2017/08/22/2637.html
v4.22.4
---------------------------------------------------------------------------------------------------
- release: "Wed, 14 Feb 2018 10:44:00 +0900 (JST)"
- version: "4.22.4"
- changes:
- Issue #253, Add status code 4.7.25(RFC-7372) as "blocked".
- Pull-Request #254, Remove unused method: `Sisimai::Bite::Email->pattern()` and the same methods
defined in each child class.
- Obsoleted method `Sisimai::Address->parse()` has been removed.
- The following performance improvements makes 1.34 times faster.
- Less regular expression #255. Thanks to @xtetsuji.
- The following Pull-Requests have been imported from rb-Sisimai.
- sisimai/rb-Sisimai#105
- sisimai/rb-Sisimai#107
- sisimai/rb-Sisimai#108
- Replace `$v =~ /\A...\z/` with `$v eq '...'`
- Replace `$v =~ /\A.../` with `index($v, '...') == 0`
- Replace `$v =~ /.../` with `index($v, '...') > -1`
- Replace `$v =~ /.\z/` with `substr($v, -1, 1) eq '.'`
- #258 Remove `/i` modifier from each regular expression as possible and call `lc()` function
before calling `Sisimai::Reason::*->match` method.
- Import Pull-Request sisimai/rb-Sisimai#111, Loop improvement.
- #251 Declaration of the version has been changed: use version;
v4.22.3
---------------------------------------------------------------------------------------------------
- release: "Tue, 26 Dec 2017 09:22:22 +0900 (JST)"
- version: "4.22.3"
- changes:
- Merge Pull-Request #238, Fix some typos in POD. Thanks to @brewt.
- Add `set-of-emails/json/json-amazonses-06.json` as a sample JSON object from sisimai/rb-Sisimai
#88.
- Merge #239, Add bounce message patterns in MailboxFull.pm and Blocked.pm for laposte.net and
orange.fr. Thanks to @Quickeneen.
- Fix code to avoid warning message "Use of uninitialized value in length" at the following mod-
ules on only Perl 5.10.1:
- `Sisimai::Bite::Email::GSuite`
- `Sisimai::Message::Email`
- `Sisimai::Address`
- Merge Pull-Request #244 at issue #243 for following up pull-request #239, more support for Or-
ange and La Poste. Thanks to @Quickeneen.
- Merge Pull-Request #245: update error message patterns of SFR and Free.fr.
- Merge Pull-Request #246: error message patterns have been improved on Exim.
- Fix bug in regular expression at `Sisimai::Reason::HostUnknown`.
- Merge Pull-Request #247, Add 100+ error message patterns into the following reason classes:
Blocked, Expired, Filtered, HostUnknown, PolicyViolation, MailboxFull, NetworkError, Rejected,
NoRelaying, SpamDetected, SystemError, Suspend, TooManyConn, and UserUnknown.
- Merge Pull-Request #248, code improvement at `Sisimai::Data->make` method to remove string like
`550-5.1.1` from the beginning of each line in an error message for to be matched exactly with
regular expression patterns in `Sisimai::Reason::*`.
- Merge Pull-Request #248, `Sisimai::Rhost::ExchangeOnline` improved.
- Implement new MTA module: `Sisimai::Bite::Email::FML` to parse bounce mails generated by fml
mailing list server/manager.
v4.22.2
---------------------------------------------------------------------------------------------------
- release: "Fri, 13 Oct 2017 11:33:00 +0900 (JST)
- version: "4.22.2"
- changes:
- Code improvements in `Sisimai::Reason::UserUnknown`, some MTA modules in `Sisimai/Bite/Email`
- Support parsing JSON object retrieved from SendGrid Event Webhooks #211.
- Support "event": "spamreport" via Feedback Loop on SendGrid Event Webhooks.
- Implement `Sisimai::Address->is_undisclosed` method.
- Implement `Sisimai::Rhost::GoDaddy` to get a correct reason at parsing bounce mails from Go-
Daddy (reported at issue #236). Thanks to @ViktorNacht.
- Remove obsoleted classes and methods:
- `Sisimai::MTA`
- `Sisimai::MSP`
- `Sisimai::CED`
- `Sisimai::Address->parse`
v4.22.1
---------------------------------------------------------------------------------------------------
- release: "Tue, 29 Aug 2017 17:25:22 +0900 (JST)"
- version: "4.22.1"
- changes:
- `Sisimai::Address` was born again to resolve issue #227
- Implement new email address parser method: `find()`
- Implement new constructor: `make()`
- Implement new writable accessors: `lname()` and `comment()`
- `parse()` method was marked as obsoleted
- Build test with Perl 5.26 on Travis-CI.
v4.22.0
---------------------------------------------------------------------------------------------------
- release: "Tue, 22 Aug 2017 18:25:55 +0900 (JST)"
- version: "4.22.0"
- changes:
- #215 and Pull-Request #225, bounce reason: "securityerror" has been divided into the following
three reasons:
- **securityerror**
- **virusdetected**
- **policyviolation**
- Sisimai now works on Perl 5.26.0
- issue #226 All the MTA modules have been moved to `Sisimai::Bite::*` and old MTA/MSP modules:
`Sisimai::MTA`, `Sisimai::MSP`, `Sisimai::CED`, and all of the methods in these classes have
been marked as obsoleted.
- Issue #227 Experimental implementation: `Sisimai::Address->find()` as born again parser method
for email addresses. Thanks to @SteveTheTechie.
v4.21.1
---------------------------------------------------------------------------------------------------
- release: "Mon, 29 May 2017 14:22:22 +0900 (JST)"
- version: "4.21.1"
- changes:
- Improved error message patterns to resolve issue #221, Thanks to @racke.
- Add `mta-exim-30.eml` as a sample email in set-of-emails/ directory.
- Changes file has been renamed to **ChangeLog.md** and converted to Markdown format.
- Pull-Request #223, Improved code to detect error messages related to DNS at G Suite.
- Improved code to detect RFC7505 (NullMX) error: sisimai/set-of-emails#4.
- Code improvements for checking and decoding irregular MIME encoded strings at `is_mimeencoded`
and `mimedecode` methods in `Sisimai::MIME` class reported from @winebarrel.
- Add unit test codes to test all the changes at sisimai/rb-Sisimai#75.
v4.21.0 - Support G Suite
---------------------------------------------------------------------------------------------------
- release: "Mon, 10 Apr 2017 12:17:22 +0900 (JST)"
- version: "4.21.0"
- changes:
- Experimental implementation: new MTA module `Sisimai::MSP::US::GSuite` for parsing a bounce
mail returned from G Suite. Thanks to @racke at issue #218.
- Improved `Sisimai::SMTP::Status->find()` method. The method checks whether a found value as
D.S.N. is IPv4 address or not.
- Improved code for getting error messages, D.S.N. values, and SMTP reply codes in `Sisimai::MTA
::Postfix->scan()` method.
- #212 `Sisimai->make()` and `Sisimai::Message->new()` methods check the value of a `field` argu-
ment more strictly.
- Fix some typos in method comments: Import pull-request #69 at Ruby version of Sisimai,
https://github.com/sisimai/rb-Sisimai/pull/69. Thanks to @koic.
- Issue #217: Fix some macros in Makefile to get cpanm. Thanks to @sgroef.
v4.20.2
---------------------------------------------------------------------------------------------------
- release: "Sat, 11 Mar 2017 16:32:48 +0900 (JST)"
- version: "4.20.2"
- changes:
- #207 Add some error message patterns for a bounce message from Amazon SES SMTP endpoint.
- Register sample email "rfc3834-06.eml" based on an email that is uploaded from @rdeavila at
https://github.com/sisimai/rb-Sisimai/issues/65 to test a vacation message.
- Improvements of code for the callback feature: Add a new argument `field` in `Sisimai->make()`
to pass email header names being captured and referred at `Sisimai::Message::Email` class.
v4.20.1
---------------------------------------------------------------------------------------------------
- release: "Sat, 31 Dec 2016 22:02:22 +0900 (JST)"
- version: "4.20.1"
- changes:
- Nothing changed. Follow the fixed version of rb-Sisimai(JRuby).
v4.20.0 - Support Bounce Ojbect (JSON)
---------------------------------------------------------------------------------------------------
- release: "Sat, 31 Dec 2016 13:36:22 +0900 (JST)"
- version: "4.20.0"
- changes:
- #199 Experimental implementation: New MTA modules for 2 Cloud Email Deliveries. These modules
can parse JSON formatted bounce objects and can convert to Sisimai::Data object.
- `Sisimai::CED::US::AmazonSES`
- `Sisimai::CED::US::SendGrid`
- Format of the value of `smtpagent` in the parsed result has been changed. It includes the cate-
gory name of MTA/MSP modules like `MTA::Sendmail`, `MTA::Postfix`, and `MSP::US::SendGrid` #200
- #202 The domain part of a dummy email address defined in `Sisimai::Address` has been changed:
`dummy-domain.invalid` => **`libsisimai.org.invalid`**;
- `Sisimai::SMTP->is_softbounce()` method has been deleted.
v4.19.0 - Callback Feature
---------------------------------------------------------------------------------------------------
- release: "Tue, 18 Oct 2016 14:13:22 +0900 (JST)"
- version: "4.19.0"
- changes:
- Remove utf8 flag from JSON string returned from at `Sisimai->dump` method.
- Implement a callback feature at `Sisimai->make()` and `Sisimai->dump()` methods. More imforma-
tion about the feature are available at the following pages:
- https://libsisimai.org/en/usage#callback
- https://libsisimai.org/ja/usage#callback
- Implement `Sisimai->match()` method: issue #173.
- Minor bug fix in `Sisimai::MSP::US::AmazonSES->scan()` method.
v4.18.1
---------------------------------------------------------------------------------------------------
- release: "Sun, 11 Sep 2016 20:05:20 +0900 (JST)"
- version: "4.18.1"
- changes:
- Fix bug in `Sisimai::MIME->qprintd()` method reported at issue #192.
- Import sisimai/rb-Sisimai@fb45a47, MIME decoding improvements.
- Issue #194, fix bug in `Sisimai::Mail->new` called from `Sisimai->dump`. It didn't work proper-
ly when email data read from STDIN.
- `Sisimai->dump` and `Sisimai->make` methods die when the number of arguments is neither 1 nor 3
- Implement `Sisimai::String->to_plain()` for converting from HTML message to plain text before
parsing, issue #8.
- Remove `Sisimai::String->to_regexp()` method, use `qr/\Q...\E/` instead.
v4.18.0 - Improvements for Microsoft Exchange Servers
---------------------------------------------------------------------------------------------------
- release: "Mon, 22 Aug 2016 20:40:55 +0900 (JST)"
- version: "4.18.0"
- changes:
- Issue #189, Soft bounce improvement. Thanks to @Quickeneen.
- Pull-Request #190, `Sisimai::SMTP->is_softbounce()` method has been marked as obsoleted. Use
`Sisimai::SMTP::Error->soft_or_hard()` method instead.
- Issue #185, Sisimai works on Perl 5.24.
- `Sisimai::MTA::Exchange` has been renamed to `Sisimai::MTA::Exchange2003`.
- Implement new MTA module `Sisimai::MTA::Exchange2007`.
v4.17.2
---------------------------------------------------------------------------------------------------
- release: "Tue, 26 Jul 2016 21:00:17 +0900 (JST)"
- version: "4.17.2"
- changes:
- Issue #174, Implement `Sisimai::Rhost::ExchangeOnline` module to parse a bounce mail from on-
premises Exchange 2013 and Office 365.
- The reason of status code: `4.4.5` is `systemfull`.
- Issue #181, Fixed minor bug on OpenBSD.
- Pull-Request #185: Code improvement at `Sisimai::MSP::US::Office365`.
- Pull-Request #188: Code improvement at `Sisimai::MIME`. Thanks to @jonjensen.
v4.17.1
---------------------------------------------------------------------------------------------------
- release: "Wed, 30 Mar 2016 14:00:22 +0900 (JST)"
- version: "4.17.1"
- changes:
- Fixed issue #179 by pull-request #180, a variable in Sisimai/MTA/Exim.pm is not quoted before
passing to `qr//` operator. Thanks to @dzolnierz.
v4.17.0 - New Error Reason "syntaxerror"
---------------------------------------------------------------------------------------------------
- release: "Wed, 16 Mar 2016 12:22:44 +0900 (JST)"
- version: "4.17.0"
- changes:
- Implement new reason **syntaxerror**. Sisimai will set **syntaxerror** to the raeson when the
value of `replycode` begins with "50" such as 502, 503, or 504. issue #147.
- Implement `description()` method at each file in `Sisimai/Reason` directory at issue #166.
- Implement `Sisimai->reason()` method for getting the list of reasons Sisimai can detect and its
description: issue #168.
- Remove unused method `Sisimai::Reason->match()`, issue #169.
- Remove unused methods in `Sisimai::MSP` and `Sisimai::MTA`, issue #136.
- Remove unused module `Sisimai::ISO3166`, issue #137.
- Remove unused module `Sisimai::RFC5321` and `Sisimai::RFC3463`, issue #131.
- Some class methods of `Sisimai::Address` allow the folowing local part as an email address:
- `postmaster`
- `mailer-daemon`
- `Sisimai::RFC5322->is_mailerdaemon` method returns `1` when the argument includes `postmaster`.
- Merge pull-request #172, new method `Sisimai::RFC5322->weedout()` and code improvements in all
the MTA/MSP modules.
v4.16.0 - New Error Reason "delivered"
---------------------------------------------------------------------------------------------------
- release: "Thu, 18 Feb 2016 13:49:01 +0900 (JST)"
- version: "4.16.0"
- changes:
- Implement new reason "**delivered**". Sisimai set `delivered` to the reason when the value of
`Status:` field in a bounce message begins with `2`. This feature is optional and isn't enabled
by default. issue #155.
- Implement new method `Sisimai->engine`. The method returns the list of MTA and MSP module list
implemented in Sisimai.
v4.15.0
---------------------------------------------------------------------------------------------------
- release: "Sat, 13 Feb 2016 12:40:15 +0900 (JST)"
- version: "4.15.0"
- changes:
- Implement new MSP module `Sisimai::MSP::US::AmazonWorkMail` at pull-request #162. The module
parse bounce mails via Amazon WorkMail.
- Implement new MSP module `Sisimai::MSP::US::Office365` at pull-request #164. The module parse
bounce mails via Microsoft Office 365.
- Tiny code improvements: back port from the Ruby version of Sisimai.
v4.14.2
---------------------------------------------------------------------------------------------------
- release: "Wed, 3 Feb 2016 12:26:19 +0900 (JST)"
- version: "4.14.2"
- changes:
- Issue #154 Fix bug: remove CR(`\r`) at the end of string in some properties of `Sisimai::Data`
before calling the constructor. Thanks to M Miyamoto.
- Issue #151 fix bug that the value of folded `Message-Id:` field could not be found at pull-re-
quest #157. Thanks to @0xcdcdcdcd.
- Fix bug in `Sisimai::MSP::RU::Yandex`: getting a pseudo delivery status.
- Implement `Sisimai::String->to_regexp()` method to fix bug in code to build regular expression
reported at pull-request #160, Thanks to @negachov.
- Improved message pattern of `Sisimai::Reason::SpamDetected`.
- Issue #158, bug fix for substituting the value of `lhost` and `rhost`.
v4.14.1 - Sample Emails Moved To "set-of-emails" Repository
---------------------------------------------------------------------------------------------------
- release: "Sat, 26 Dec 2015 20:00:00 +0900 (JST)"
- version: "4.14.1"
- changes:
- eg/ directory has been renamed and sample email files have been moved to the project repository
https://github.com/sisimai/set-of-emails, issue #153.
v4.14.0
---------------------------------------------------------------------------------------------------
- release: "Fri, 25 Dec 2015 11:04:14 +0900 (JST)"
- version: "4.14.0"
- changes:
- **Repository URL was changed to https://github.com/sisimai/p5-Sisimai**
- `Sisimai::MTA->SMTPCOMMAND()` method has been obsoleted from this version. Use `Sisimai::SMTP->
command()` instead, issue #136.
- `Sisimai::MTA->LONGFIELDS()` and `Sisimai::MTA->RFC822HEADERS()` are obsoleted. Use `Sisimai::
RFC5322->LONGFIELDS()` and `Sisimai::RFC5322->HEADERFIELDS()` instead.
- Change internal method names of `Sisimai::Message`
- `rewrite()` begins `parse()`
- `resolve()` begins `make()`
- #110, #122 Code for reading email files in a directory is improved and got faster than before:
merged Pull-Request #123.
- Fixed bug reported at issue #124: warning message: `use of uninitialized value in substr at` is
displayed when `Sisimai::Message->resolve()` method parses an UNIX mbox which begins from blank
line.
- Merged Pull-Request #125, filehandle will not be closed until EOF of each UNIX mbox in `Sisimai
::Mail::Mbox->read()` method.
- Merged Pull-Request #126, replace `while( <$f> )` with `do {...}` block for reading each email
file in a directory at `Sisimai::Mail::Maildir->read()` method.
- Merged Pull-Request #132, Resolve issue #127: Sisimai cannot parse a mail which message body is
MIME encoded. Thanks to @mrwushu.
- Issue #134, `Sisimai::RFC3463` and `Sisimai::RFC5321` have been obsoleted but are not removed.
Use `Sisimai::SMTP::Status`, `Sisimai::SMTP::Reply` instead.
- Merged Pull-Request #138, some code blocks in `Sisimai::Message->resolve()` have been divided
into some methods.
- Fixed bug at issue #142, Sisimai can not parse an email that TAB or Space character exists at
the end of each line. Thanks to M Miyamoto.