sisimai 4.23.0-java → 4.24.0-java
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sisimai might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/ANALYTICAL-PRECISION +31 -21
- data/ChangeLog.md +20 -1
- data/README-JA.md +4 -4
- data/README.md +4 -4
- data/lib/sisimai/address.rb +1 -3
- data/lib/sisimai/bite/email/activehunter.rb +1 -0
- data/lib/sisimai/bite/email/amazonses.rb +2 -4
- data/lib/sisimai/bite/email/amazonworkmail.rb +5 -9
- data/lib/sisimai/bite/email/apachejames.rb +8 -4
- data/lib/sisimai/bite/email/exim.rb +3 -7
- data/lib/sisimai/bite/email/google.rb +1 -3
- data/lib/sisimai/bite/email/gsuite.rb +1 -0
- data/lib/sisimai/bite/email/interscanmss.rb +1 -1
- data/lib/sisimai/bite/email/mailru.rb +3 -7
- data/lib/sisimai/bite/email/mxlogic.rb +3 -7
- data/lib/sisimai/bite/email/qmail.rb +3 -6
- data/lib/sisimai/bite/email/x4.rb +3 -6
- data/lib/sisimai/bite/email/yahoo.rb +2 -4
- data/lib/sisimai/bite/json/amazonses.rb +2 -4
- data/lib/sisimai/data.rb +13 -23
- data/lib/sisimai/message/email.rb +24 -39
- data/lib/sisimai/mime.rb +214 -38
- data/lib/sisimai/reason.rb +1 -3
- data/lib/sisimai/reason/blocked.rb +2 -0
- data/lib/sisimai/rfc3464.rb +8 -12
- data/lib/sisimai/rfc5322.rb +1 -3
- data/lib/sisimai/string.rb +8 -6
- data/lib/sisimai/version.rb +1 -1
- data/set-of-emails/maildir/bsd/email-apachejames-01.eml +1 -2
- data/set-of-emails/maildir/bsd/{rfc3464-02.eml → email-domino-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/email-office365-08.eml +49 -51
- data/set-of-emails/maildir/bsd/email-outlook-08.eml +3 -2
- data/set-of-emails/maildir/bsd/email-sendmail-56.eml +86 -0
- data/set-of-emails/maildir/bsd/email-verizon-02.eml +1 -2
- metadata +4 -4
- data/lib/sisimai/rfc2606.rb +0 -23
data/lib/sisimai/rfc2606.rb
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
module Sisimai
|
2
|
-
# Sisimai::RFC2606 checks that the domain part of the email address in the
|
3
|
-
# argument is reserved or not.
|
4
|
-
module RFC2606
|
5
|
-
# Imported from p5-Sisimail/lib/Sisimai/RFC2606.pm
|
6
|
-
class << self
|
7
|
-
# Whether domain part is Reserved or not
|
8
|
-
# @param [String] dpart Domain part
|
9
|
-
# @return [True,False] true: is Reserved top level domain
|
10
|
-
# false: is NOT reserved top level domain
|
11
|
-
# @see http://www.ietf.org/rfc/rfc2606.txt
|
12
|
-
def is_reserved(argv = '')
|
13
|
-
return false unless argv
|
14
|
-
return false unless argv.is_a?(::String)
|
15
|
-
|
16
|
-
return true if argv =~ /[.](?:test|example|invalid|localhost)\z/
|
17
|
-
return true if argv =~ /example[.](?:com|net|org|jp)\z/
|
18
|
-
return true if argv =~ /example[.](?:ac|ad|co|ed|go|gr|lg|ne|or)[.]jp\z/
|
19
|
-
return false
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|