sisimai 4.25.5-java → 4.25.11-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/.travis.yml +4 -3
- data/ANALYTICAL-PRECISION +60 -56
- data/Benchmarks.mk +5 -3
- data/ChangeLog.md +148 -1
- data/Developers.mk +2 -2
- data/Makefile +1 -1
- data/README-JA.md +22 -22
- data/README.md +23 -22
- data/Repository.mk +1 -1
- data/lib/sisimai.rb +8 -14
- data/lib/sisimai/address.rb +6 -3
- data/lib/sisimai/arf.rb +42 -44
- data/lib/sisimai/data.rb +12 -33
- data/lib/sisimai/datetime.rb +18 -17
- data/lib/sisimai/lhost.rb +25 -33
- data/lib/sisimai/lhost/activehunter.rb +6 -21
- data/lib/sisimai/lhost/amavis.rb +78 -20
- data/lib/sisimai/lhost/amazonses.rb +11 -25
- data/lib/sisimai/lhost/amazonworkmail.rb +8 -24
- data/lib/sisimai/lhost/aol.rb +15 -29
- data/lib/sisimai/lhost/apachejames.rb +6 -21
- data/lib/sisimai/lhost/barracuda.rb +94 -0
- data/lib/sisimai/lhost/bigfoot.rb +5 -17
- data/lib/sisimai/lhost/biglobe.rb +5 -16
- data/lib/sisimai/lhost/courier.rb +6 -19
- data/lib/sisimai/lhost/domino.rb +34 -21
- data/lib/sisimai/lhost/einsundeins.rb +6 -17
- data/lib/sisimai/lhost/exchange2003.rb +10 -19
- data/lib/sisimai/lhost/exchange2007.rb +17 -20
- data/lib/sisimai/lhost/exim.rb +20 -32
- data/lib/sisimai/lhost/ezweb.rb +6 -18
- data/lib/sisimai/lhost/facebook.rb +5 -16
- data/lib/sisimai/lhost/fml.rb +6 -20
- data/lib/sisimai/lhost/{google.rb → gmail.rb} +9 -21
- data/lib/sisimai/lhost/gmx.rb +9 -23
- data/lib/sisimai/lhost/googlegroups.rb +77 -0
- data/lib/sisimai/lhost/gsuite.rb +10 -17
- data/lib/sisimai/lhost/imailserver.rb +13 -25
- data/lib/sisimai/lhost/interscanmss.rb +11 -22
- data/lib/sisimai/lhost/kddi.rb +5 -16
- data/lib/sisimai/lhost/mailfoundry.rb +9 -25
- data/lib/sisimai/lhost/mailmarshalsmtp.rb +8 -23
- data/lib/sisimai/lhost/mailru.rb +5 -16
- data/lib/sisimai/lhost/mcafee.rb +6 -18
- data/lib/sisimai/lhost/messagelabs.rb +10 -22
- data/lib/sisimai/lhost/messagingserver.rb +5 -18
- data/lib/sisimai/lhost/mfilter.rb +7 -19
- data/lib/sisimai/lhost/mxlogic.rb +9 -22
- data/lib/sisimai/lhost/notes.rb +7 -19
- data/lib/sisimai/lhost/office365.rb +25 -35
- data/lib/sisimai/lhost/opensmtpd.rb +5 -19
- data/lib/sisimai/lhost/outlook.rb +7 -21
- data/lib/sisimai/lhost/postfix.rb +9 -27
- data/lib/sisimai/lhost/powermta.rb +120 -0
- data/lib/sisimai/lhost/qmail.rb +13 -24
- data/lib/sisimai/lhost/receivingses.rb +7 -22
- data/lib/sisimai/lhost/sendgrid.rb +9 -22
- data/lib/sisimai/lhost/sendmail.rb +7 -23
- data/lib/sisimai/lhost/surfcontrol.rb +9 -25
- data/lib/sisimai/lhost/v5sendmail.rb +5 -18
- data/lib/sisimai/lhost/verizon.rb +9 -21
- data/lib/sisimai/lhost/x1.rb +7 -19
- data/lib/sisimai/lhost/x2.rb +8 -23
- data/lib/sisimai/lhost/x3.rb +11 -19
- data/lib/sisimai/lhost/x4.rb +15 -27
- data/lib/sisimai/lhost/x5.rb +15 -26
- data/lib/sisimai/lhost/x6.rb +74 -0
- data/lib/sisimai/lhost/yahoo.rb +11 -24
- data/lib/sisimai/lhost/yandex.rb +14 -26
- data/lib/sisimai/lhost/zoho.rb +8 -28
- data/lib/sisimai/mail.rb +23 -27
- data/lib/sisimai/mail/maildir.rb +27 -28
- data/lib/sisimai/mail/memory.rb +18 -16
- data/lib/sisimai/mail/stdin.rb +5 -5
- data/lib/sisimai/mda.rb +6 -12
- data/lib/sisimai/message.rb +131 -301
- data/lib/sisimai/mime.rb +26 -31
- data/lib/sisimai/order.rb +149 -183
- data/lib/sisimai/reason.rb +25 -14
- data/lib/sisimai/reason/blocked.rb +40 -26
- data/lib/sisimai/reason/exceedlimit.rb +4 -1
- data/lib/sisimai/reason/expired.rb +2 -0
- data/lib/sisimai/reason/filtered.rb +1 -0
- data/lib/sisimai/reason/hostunknown.rb +3 -0
- data/lib/sisimai/reason/mailererror.rb +1 -1
- data/lib/sisimai/reason/norelaying.rb +5 -0
- data/lib/sisimai/reason/notaccept.rb +2 -0
- data/lib/sisimai/reason/policyviolation.rb +4 -0
- data/lib/sisimai/reason/rejected.rb +6 -1
- data/lib/sisimai/reason/securityerror.rb +5 -6
- data/lib/sisimai/reason/spamdetected.rb +17 -15
- data/lib/sisimai/reason/suspend.rb +1 -0
- data/lib/sisimai/reason/systemerror.rb +2 -0
- data/lib/sisimai/reason/userunknown.rb +37 -26
- data/lib/sisimai/rfc1894.rb +24 -22
- data/lib/sisimai/rfc3464.rb +10 -28
- data/lib/sisimai/rfc3834.rb +6 -19
- data/lib/sisimai/rfc5322.rb +8 -4
- data/lib/sisimai/rhost.rb +6 -8
- data/lib/sisimai/rhost/cox.rb +112 -0
- data/lib/sisimai/rhost/exchangeonline.rb +33 -23
- data/lib/sisimai/rhost/googleapps.rb +4 -1
- data/lib/sisimai/rhost/spectrum.rb +73 -0
- data/lib/sisimai/smtp.rb +0 -13
- data/lib/sisimai/smtp/error.rb +8 -6
- data/lib/sisimai/smtp/reply.rb +1 -1
- data/lib/sisimai/smtp/status.rb +1 -1
- data/lib/sisimai/string.rb +3 -11
- data/lib/sisimai/time.rb +1 -2
- data/lib/sisimai/version.rb +1 -1
- data/set-of-emails/README.md +5 -4
- data/set-of-emails/maildir/bsd/arf-24.eml +50 -0
- data/set-of-emails/maildir/bsd/arf-25.eml +61 -0
- data/set-of-emails/maildir/bsd/{email-activehunter-01.eml → lhost-activehunter-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-activehunter-02.eml → lhost-activehunter-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amavis-01.eml → lhost-amavis-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amavis-02.eml → lhost-amavis-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/lhost-amavis-03.eml +90 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-01.eml → lhost-amazonses-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-02.eml → lhost-amazonses-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-03.eml → lhost-amazonses-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-05.eml → lhost-amazonses-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-06.eml → lhost-amazonses-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-07.eml → lhost-amazonses-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-08.eml → lhost-amazonses-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-09.eml → lhost-amazonses-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-10.eml → lhost-amazonses-10.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-11.eml → lhost-amazonses-11.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-12.eml → lhost-amazonses-12.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-13.eml → lhost-amazonses-13.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-14.eml → lhost-amazonses-14.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-15.eml → lhost-amazonses-15.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-16.eml → lhost-amazonses-16.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-17.eml → lhost-amazonses-17.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-18.eml → lhost-amazonses-18.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-19.eml → lhost-amazonses-19.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-20.eml → lhost-amazonses-20.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonses-21.eml → lhost-amazonses-21.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonworkmail-01.eml → lhost-amazonworkmail-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonworkmail-02.eml → lhost-amazonworkmail-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonworkmail-03.eml → lhost-amazonworkmail-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonworkmail-04.eml → lhost-amazonworkmail-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonworkmail-05.eml → lhost-amazonworkmail-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonworkmail-07.eml → lhost-amazonworkmail-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-amazonworkmail-08.eml → lhost-amazonworkmail-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-aol-01.eml → lhost-aol-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-aol-02.eml → lhost-aol-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-aol-03.eml → lhost-aol-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-aol-04.eml → lhost-aol-04.eml} +23 -23
- data/set-of-emails/maildir/bsd/{email-aol-05.eml → lhost-aol-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-aol-06.eml → lhost-aol-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-apachejames-01.eml → lhost-apachejames-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/lhost-barracuda-01.eml +67 -0
- data/set-of-emails/maildir/bsd/lhost-barracuda-02.eml +71 -0
- data/set-of-emails/maildir/bsd/{email-bigfoot-02.eml → lhost-bigfoot-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-biglobe-01.eml → lhost-biglobe-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-courier-01.eml → lhost-courier-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-courier-02.eml → lhost-courier-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-courier-03.eml → lhost-courier-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-courier-04.eml → lhost-courier-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-domino-01.eml → lhost-domino-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-domino-02.eml → lhost-domino-02.eml} +1 -2
- data/set-of-emails/maildir/bsd/{email-domino-03.eml → lhost-domino-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-einsundeins-02.eml → lhost-einsundeins-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-einsundeins-03.eml → lhost-einsundeins-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exchange2003-01.eml → lhost-exchange2003-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exchange2003-02.eml → lhost-exchange2003-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exchange2003-03.eml → lhost-exchange2003-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exchange2003-04.eml → lhost-exchange2003-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exchange2003-05.eml → lhost-exchange2003-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exchange2003-07.eml → lhost-exchange2003-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exchange2007-01.eml → lhost-exchange2007-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exchange2007-02.eml → lhost-exchange2007-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exchange2007-03.eml → lhost-exchange2007-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exchange2007-04.eml → lhost-exchange2007-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exchange2007-05.eml → lhost-exchange2007-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exchange2007-06.eml → lhost-exchange2007-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/lhost-exchange2007-07.eml +128 -0
- data/set-of-emails/maildir/bsd/{email-exim-01.eml → lhost-exim-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-02.eml → lhost-exim-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-03.eml → lhost-exim-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-04.eml → lhost-exim-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-05.eml → lhost-exim-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-06.eml → lhost-exim-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-07.eml → lhost-exim-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-08.eml → lhost-exim-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-29.eml → lhost-exim-29.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-30.eml → lhost-exim-30.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-31.eml → lhost-exim-31.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-32.eml → lhost-exim-32.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-33.eml → lhost-exim-33.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-34.eml → lhost-exim-34.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-35.eml → lhost-exim-35.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-36.eml → lhost-exim-36.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-37.eml → lhost-exim-37.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-38.eml → lhost-exim-38.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-39.eml → lhost-exim-39.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-40.eml → lhost-exim-40.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-41.eml → lhost-exim-41.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-42.eml → lhost-exim-42.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-43.eml → lhost-exim-43.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-44.eml → lhost-exim-44.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-45.eml → lhost-exim-45.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-46.eml → lhost-exim-46.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-47.eml → lhost-exim-47.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-48.eml → lhost-exim-48.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-49.eml → lhost-exim-49.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-50.eml → lhost-exim-50.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-51.eml → lhost-exim-51.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-52.eml → lhost-exim-52.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-53.eml → lhost-exim-53.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-54.eml → lhost-exim-54.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-55.eml → lhost-exim-55.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-56.eml → lhost-exim-56.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-57.eml → lhost-exim-57.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-58.eml → lhost-exim-58.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-59.eml → lhost-exim-59.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-exim-60.eml → lhost-exim-60.eml} +0 -0
- data/set-of-emails/maildir/bsd/lhost-exim-61.eml +40 -0
- data/set-of-emails/maildir/bsd/{email-ezweb-01.eml → lhost-ezweb-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-ezweb-02.eml → lhost-ezweb-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-ezweb-03.eml → lhost-ezweb-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-ezweb-04.eml → lhost-ezweb-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-ezweb-05.eml → lhost-ezweb-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-ezweb-07.eml → lhost-ezweb-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-ezweb-08.eml → lhost-ezweb-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-facebook-03.eml → lhost-facebook-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-facebook-04.eml → lhost-facebook-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-fml-02.eml → lhost-fml-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-fml-03.eml → lhost-fml-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-google-01.eml → lhost-gmail-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-google-03.eml → lhost-gmail-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-google-04.eml → lhost-gmail-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-google-05.eml → lhost-gmail-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-google-06.eml → lhost-gmail-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-google-07.eml → lhost-gmail-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-google-08.eml → lhost-gmail-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-google-09.eml → lhost-gmail-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-google-10.eml → lhost-gmail-10.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-google-11.eml → lhost-gmail-11.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-google-15.eml → lhost-gmail-15.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-google-16.eml → lhost-gmail-16.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-google-17.eml → lhost-gmail-17.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-google-18.eml → lhost-gmail-18.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-google-19.eml → lhost-gmail-19.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-gmx-01.eml → lhost-gmx-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-gmx-02.eml → lhost-gmx-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-gmx-03.eml → lhost-gmx-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-gmx-04.eml → lhost-gmx-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/lhost-googlegroups-01.eml +116 -0
- data/set-of-emails/maildir/bsd/lhost-googlegroups-02.eml +114 -0
- data/set-of-emails/maildir/bsd/lhost-googlegroups-03.eml +116 -0
- data/set-of-emails/maildir/bsd/lhost-googlegroups-04.eml +116 -0
- data/set-of-emails/maildir/bsd/lhost-googlegroups-05.eml +116 -0
- data/set-of-emails/maildir/bsd/lhost-googlegroups-06.eml +116 -0
- data/set-of-emails/maildir/bsd/lhost-googlegroups-07.eml +116 -0
- data/set-of-emails/maildir/bsd/lhost-googlegroups-08.eml +115 -0
- data/set-of-emails/maildir/bsd/lhost-googlegroups-09.eml +116 -0
- data/set-of-emails/maildir/bsd/lhost-googlegroups-10.eml +116 -0
- data/set-of-emails/maildir/bsd/lhost-googlegroups-11.eml +116 -0
- data/set-of-emails/maildir/bsd/lhost-googlegroups-12.eml +116 -0
- data/set-of-emails/maildir/bsd/lhost-googlegroups-13.eml +115 -0
- data/set-of-emails/maildir/bsd/lhost-googlegroups-14.eml +127 -0
- data/set-of-emails/maildir/bsd/{email-gsuite-01.eml → lhost-gsuite-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-gsuite-02.eml → lhost-gsuite-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-gsuite-03.eml → lhost-gsuite-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-gsuite-04.eml → lhost-gsuite-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-gsuite-05.eml → lhost-gsuite-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-gsuite-06.eml → lhost-gsuite-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-gsuite-07.eml → lhost-gsuite-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-gsuite-08.eml → lhost-gsuite-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-gsuite-09.eml → lhost-gsuite-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-gsuite-10.eml → lhost-gsuite-10.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-gsuite-11.eml → lhost-gsuite-11.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-gsuite-12.eml → lhost-gsuite-12.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-gsuite-13.eml → lhost-gsuite-13.eml} +0 -0
- data/set-of-emails/maildir/bsd/lhost-gsuite-14.eml +273 -0
- data/set-of-emails/maildir/bsd/{email-imailserver-01.eml → lhost-imailserver-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-imailserver-02.eml → lhost-imailserver-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-imailserver-03.eml → lhost-imailserver-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-imailserver-04.eml → lhost-imailserver-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-imailserver-06.eml → lhost-imailserver-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-interscanmss-01.eml → lhost-interscanmss-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/lhost-interscanmss-02.eml +70 -0
- data/set-of-emails/maildir/bsd/lhost-interscanmss-03.eml +73 -0
- data/set-of-emails/maildir/bsd/{email-kddi-01.eml → lhost-kddi-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-kddi-02.eml → lhost-kddi-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-kddi-03.eml → lhost-kddi-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mailfoundry-01.eml → lhost-mailfoundry-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mailfoundry-02.eml → lhost-mailfoundry-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mailmarshalsmtp-02.eml → lhost-mailmarshalsmtp-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mailru-01.eml → lhost-mailru-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mailru-02.eml → lhost-mailru-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mailru-03.eml → lhost-mailru-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mailru-04.eml → lhost-mailru-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mailru-05.eml → lhost-mailru-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mailru-06.eml → lhost-mailru-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mailru-07.eml → lhost-mailru-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mailru-08.eml → lhost-mailru-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mailru-09.eml → lhost-mailru-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mailru-10.eml → lhost-mailru-10.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mcafee-01.eml → lhost-mcafee-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mcafee-02.eml → lhost-mcafee-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mcafee-03.eml → lhost-mcafee-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mcafee-04.eml → lhost-mcafee-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mcafee-05.eml → lhost-mcafee-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-messagelabs-01.eml → lhost-messagelabs-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-messagelabs-02.eml → lhost-messagelabs-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-messagelabs-03.eml → lhost-messagelabs-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-messagingserver-01.eml → lhost-messagingserver-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-messagingserver-02.eml → lhost-messagingserver-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-messagingserver-03.eml → lhost-messagingserver-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-messagingserver-04.eml → lhost-messagingserver-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-messagingserver-05.eml → lhost-messagingserver-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-messagingserver-06.eml → lhost-messagingserver-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-messagingserver-07.eml → lhost-messagingserver-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-messagingserver-08.eml → lhost-messagingserver-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-messagingserver-09.eml → lhost-messagingserver-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-messagingserver-10.eml → lhost-messagingserver-10.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-messagingserver-11.eml → lhost-messagingserver-11.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-messagingserver-12.eml → lhost-messagingserver-12.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mfilter-01.eml → lhost-mfilter-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mfilter-02.eml → lhost-mfilter-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mfilter-03.eml → lhost-mfilter-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mfilter-04.eml → lhost-mfilter-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mxlogic-01.eml → lhost-mxlogic-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mxlogic-02.eml → lhost-mxlogic-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-mxlogic-03.eml → lhost-mxlogic-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-notes-01.eml → lhost-notes-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-notes-02.eml → lhost-notes-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-notes-03.eml → lhost-notes-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-office365-01.eml → lhost-office365-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-office365-02.eml → lhost-office365-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-office365-03.eml → lhost-office365-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-office365-04.eml → lhost-office365-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-office365-05.eml → lhost-office365-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-office365-06.eml → lhost-office365-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-office365-07.eml → lhost-office365-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-office365-08.eml → lhost-office365-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-office365-09.eml → lhost-office365-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-office365-10.eml → lhost-office365-10.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-office365-11.eml → lhost-office365-11.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-office365-12.eml → lhost-office365-12.eml} +0 -0
- data/set-of-emails/maildir/bsd/lhost-office365-13.eml +259 -0
- data/set-of-emails/maildir/bsd/{email-opensmtpd-01.eml → lhost-opensmtpd-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-opensmtpd-02.eml → lhost-opensmtpd-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-opensmtpd-03.eml → lhost-opensmtpd-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-opensmtpd-04.eml → lhost-opensmtpd-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-opensmtpd-05.eml → lhost-opensmtpd-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-opensmtpd-06.eml → lhost-opensmtpd-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-outlook-01.eml → lhost-outlook-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-outlook-02.eml → lhost-outlook-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-outlook-03.eml → lhost-outlook-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-outlook-04.eml → lhost-outlook-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-outlook-06.eml → lhost-outlook-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-outlook-07.eml → lhost-outlook-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-outlook-08.eml → lhost-outlook-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-outlook-09.eml → lhost-outlook-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-01.eml → lhost-postfix-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-02.eml → lhost-postfix-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-03.eml → lhost-postfix-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-04.eml → lhost-postfix-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-05.eml → lhost-postfix-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-06.eml → lhost-postfix-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-07.eml → lhost-postfix-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-08.eml → lhost-postfix-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-09.eml → lhost-postfix-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-10.eml → lhost-postfix-10.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-11.eml → lhost-postfix-11.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-13.eml → lhost-postfix-13.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-14.eml → lhost-postfix-14.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-15.eml → lhost-postfix-15.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-16.eml → lhost-postfix-16.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-17.eml → lhost-postfix-17.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-28.eml → lhost-postfix-28.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-29.eml → lhost-postfix-29.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-30.eml → lhost-postfix-30.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-31.eml → lhost-postfix-31.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-32.eml → lhost-postfix-32.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-33.eml → lhost-postfix-33.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-34.eml → lhost-postfix-34.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-35.eml → lhost-postfix-35.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-36.eml → lhost-postfix-36.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-37.eml → lhost-postfix-37.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-38.eml → lhost-postfix-38.eml} +1 -1
- data/set-of-emails/maildir/bsd/{email-postfix-39.eml → lhost-postfix-39.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-40.eml → lhost-postfix-40.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-41.eml → lhost-postfix-41.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-42.eml → lhost-postfix-42.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-43.eml → lhost-postfix-43.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-44.eml → lhost-postfix-44.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-45.eml → lhost-postfix-45.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-46.eml → lhost-postfix-46.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-47.eml → lhost-postfix-47.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-48.eml → lhost-postfix-48.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-49.eml → lhost-postfix-49.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-50.eml → lhost-postfix-50.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-51.eml → lhost-postfix-51.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-52.eml → lhost-postfix-52.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-53.eml → lhost-postfix-53.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-54.eml → lhost-postfix-54.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-55.eml → lhost-postfix-55.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-56.eml → lhost-postfix-56.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-57.eml → lhost-postfix-57.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-58.eml → lhost-postfix-58.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-59.eml → lhost-postfix-59.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-60.eml → lhost-postfix-60.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-61.eml → lhost-postfix-61.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-62.eml → lhost-postfix-62.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-63.eml → lhost-postfix-63.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-postfix-64.eml → lhost-postfix-64.eml} +0 -0
- data/set-of-emails/maildir/bsd/lhost-postfix-65.eml +69 -0
- data/set-of-emails/maildir/bsd/lhost-postfix-66.eml +80 -0
- data/set-of-emails/maildir/bsd/lhost-postfix-67.eml +80 -0
- data/set-of-emails/maildir/bsd/lhost-postfix-68.eml +82 -0
- data/set-of-emails/maildir/bsd/lhost-postfix-69.eml +80 -0
- data/set-of-emails/maildir/bsd/lhost-postfix-70.eml +87 -0
- data/set-of-emails/maildir/bsd/lhost-postfix-71.eml +81 -0
- data/set-of-emails/maildir/bsd/lhost-postfix-72.eml +81 -0
- data/set-of-emails/maildir/bsd/lhost-postfix-73.eml +79 -0
- data/set-of-emails/maildir/bsd/lhost-postfix-74.eml +83 -0
- data/set-of-emails/maildir/bsd/{rfc3464-05.eml → lhost-powermta-01.eml} +19 -18
- data/set-of-emails/maildir/bsd/lhost-powermta-02.eml +58 -0
- data/set-of-emails/maildir/bsd/lhost-powermta-03.eml +71 -0
- data/set-of-emails/maildir/bsd/{email-qmail-01.eml → lhost-qmail-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-qmail-02.eml → lhost-qmail-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-qmail-03.eml → lhost-qmail-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-qmail-04.eml → lhost-qmail-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-qmail-05.eml → lhost-qmail-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-qmail-06.eml → lhost-qmail-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-qmail-07.eml → lhost-qmail-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-qmail-08.eml → lhost-qmail-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-qmail-09.eml → lhost-qmail-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-qmail-10.eml → lhost-qmail-10.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-receivingses-01.eml → lhost-receivingses-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-receivingses-02.eml → lhost-receivingses-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-receivingses-03.eml → lhost-receivingses-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-receivingses-04.eml → lhost-receivingses-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-receivingses-05.eml → lhost-receivingses-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-receivingses-06.eml → lhost-receivingses-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-receivingses-07.eml → lhost-receivingses-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendgrid-01.eml → lhost-sendgrid-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendgrid-02.eml → lhost-sendgrid-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendgrid-03.eml → lhost-sendgrid-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-01.eml → lhost-sendmail-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-02.eml → lhost-sendmail-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-03.eml → lhost-sendmail-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-04.eml → lhost-sendmail-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-05.eml → lhost-sendmail-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-06.eml → lhost-sendmail-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-07.eml → lhost-sendmail-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-08.eml → lhost-sendmail-08.eml} +1 -1
- data/set-of-emails/maildir/bsd/{email-sendmail-09.eml → lhost-sendmail-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-10.eml → lhost-sendmail-10.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-11.eml → lhost-sendmail-11.eml} +1 -1
- data/set-of-emails/maildir/bsd/{email-sendmail-12.eml → lhost-sendmail-12.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-13.eml → lhost-sendmail-13.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-14.eml → lhost-sendmail-14.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-15.eml → lhost-sendmail-15.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-16.eml → lhost-sendmail-16.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-17.eml → lhost-sendmail-17.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-18.eml → lhost-sendmail-18.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-19.eml → lhost-sendmail-19.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-20.eml → lhost-sendmail-20.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-21.eml → lhost-sendmail-21.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-22.eml → lhost-sendmail-22.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-24.eml → lhost-sendmail-24.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-25.eml → lhost-sendmail-25.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-26.eml → lhost-sendmail-26.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-27.eml → lhost-sendmail-27.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-28.eml → lhost-sendmail-28.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-29.eml → lhost-sendmail-29.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-30.eml → lhost-sendmail-30.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-31.eml → lhost-sendmail-31.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-32.eml → lhost-sendmail-32.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-33.eml → lhost-sendmail-33.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-34.eml → lhost-sendmail-34.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-35.eml → lhost-sendmail-35.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-36.eml → lhost-sendmail-36.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-37.eml → lhost-sendmail-37.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-38.eml → lhost-sendmail-38.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-39.eml → lhost-sendmail-39.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-40.eml → lhost-sendmail-40.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-41.eml → lhost-sendmail-41.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-42.eml → lhost-sendmail-42.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-43.eml → lhost-sendmail-43.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-44.eml → lhost-sendmail-44.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-45.eml → lhost-sendmail-45.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-46.eml → lhost-sendmail-46.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-47.eml → lhost-sendmail-47.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-48.eml → lhost-sendmail-48.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-49.eml → lhost-sendmail-49.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-50.eml → lhost-sendmail-50.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-51.eml → lhost-sendmail-51.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-52.eml → lhost-sendmail-52.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-53.eml → lhost-sendmail-53.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-54.eml → lhost-sendmail-54.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-55.eml → lhost-sendmail-55.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-sendmail-56.eml → lhost-sendmail-56.eml} +0 -0
- data/set-of-emails/maildir/bsd/lhost-sendmail-57.eml +59 -0
- data/set-of-emails/maildir/bsd/lhost-sendmail-58.eml +70 -0
- data/set-of-emails/maildir/bsd/lhost-sendmail-59.eml +68 -0
- data/set-of-emails/maildir/bsd/{email-surfcontrol-01.eml → lhost-surfcontrol-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-surfcontrol-02.eml → lhost-surfcontrol-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-surfcontrol-03.eml → lhost-surfcontrol-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-v5sendmail-01.eml → lhost-v5sendmail-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-v5sendmail-02.eml → lhost-v5sendmail-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-v5sendmail-03.eml → lhost-v5sendmail-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-v5sendmail-04.eml → lhost-v5sendmail-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-v5sendmail-05.eml → lhost-v5sendmail-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-v5sendmail-06.eml → lhost-v5sendmail-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-v5sendmail-07.eml → lhost-v5sendmail-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-verizon-01.eml → lhost-verizon-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-verizon-02.eml → lhost-verizon-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-x1-01.eml → lhost-x1-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-x1-02.eml → lhost-x1-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-x2-01.eml → lhost-x2-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-x2-02.eml → lhost-x2-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-x2-03.eml → lhost-x2-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-x2-04.eml → lhost-x2-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-x2-05.eml → lhost-x2-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-x3-01.eml → lhost-x3-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-x3-02.eml → lhost-x3-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-x3-03.eml → lhost-x3-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-x3-05.eml → lhost-x3-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/lhost-x3-06.eml +53 -0
- data/set-of-emails/maildir/bsd/{email-x4-01.eml → lhost-x4-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-x4-08.eml → lhost-x4-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-x5-01.eml → lhost-x5-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/lhost-x6-01.eml +71 -0
- data/set-of-emails/maildir/bsd/lhost-x6-02.eml +68 -0
- data/set-of-emails/maildir/bsd/{email-yahoo-01.eml → lhost-yahoo-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-yahoo-02.eml → lhost-yahoo-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-yahoo-03.eml → lhost-yahoo-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-yahoo-04.eml → lhost-yahoo-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-yahoo-05.eml → lhost-yahoo-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-yahoo-06.eml → lhost-yahoo-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-yahoo-07.eml → lhost-yahoo-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-yahoo-08.eml → lhost-yahoo-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-yahoo-09.eml → lhost-yahoo-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-yahoo-10.eml → lhost-yahoo-10.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-yahoo-11.eml → lhost-yahoo-11.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-yahoo-12.eml → lhost-yahoo-12.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-yahoo-13.eml → lhost-yahoo-13.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-yahoo-14.eml → lhost-yahoo-14.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-yandex-01.eml → lhost-yandex-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-yandex-02.eml → lhost-yandex-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-yandex-03.eml → lhost-yandex-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-zoho-01.eml → lhost-zoho-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-zoho-02.eml → lhost-zoho-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-zoho-03.eml → lhost-zoho-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-zoho-04.eml → lhost-zoho-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{email-zoho-05.eml → lhost-zoho-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{rfc3464-41.eml → rfc3834-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/rhost-cox-01.eml +192 -0
- data/set-of-emails/maildir/bsd/{rhost-exchange-online-01.eml → rhost-exchangeonline-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{rhost-exchange-online-02.eml → rhost-exchangeonline-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{rhost-exchange-online-03.eml → rhost-exchangeonline-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{rhost-google-apps-01.eml → rhost-googleapps-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{rhost-google-apps-02.eml → rhost-googleapps-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/rhost-spectrum-01.eml +111 -0
- data/set-of-emails/maildir/dos/{email-activehunter-01.eml → lhost-activehunter-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-amavis-01.eml → lhost-amavis-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-amazonses-01.eml → lhost-amazonses-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-amazonworkmail-01.eml → lhost-amazonworkmail-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-aol-01.eml → lhost-aol-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-apachejames-01.eml → lhost-apachejames-01.eml} +0 -0
- data/set-of-emails/maildir/dos/lhost-barracuda-01.eml +67 -0
- data/set-of-emails/maildir/dos/{email-bigfoot-01.eml → lhost-bigfoot-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-biglobe-01.eml → lhost-biglobe-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-courier-01.eml → lhost-courier-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-domino-01.eml → lhost-domino-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-einsundeins-01.eml → lhost-einsundeins-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-exchange-01.eml → lhost-exchange-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-exchange2003-01.eml → lhost-exchange2003-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-exchange2007-01.eml → lhost-exchange2007-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-exim-01.eml → lhost-exim-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-ezweb-01.eml → lhost-ezweb-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-facebook-01.eml → lhost-facebook-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-google-01.eml → lhost-gmail-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-gmx-01.eml → lhost-gmx-01.eml} +0 -0
- data/set-of-emails/maildir/dos/lhost-googlegroups-01.eml +116 -0
- data/set-of-emails/maildir/dos/{email-gsuite-01.eml → lhost-gsuite-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-imailserver-01.eml → lhost-imailserver-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-interscanmss-01.eml → lhost-interscanmss-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-kddi-01.eml → lhost-kddi-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-mailfoundry-01.eml → lhost-mailfoundry-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-mailmarshalsmtp-01.eml → lhost-mailmarshalsmtp-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-mailru-01.eml → lhost-mailru-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-mcafee-01.eml → lhost-mcafee-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-messagelabs-01.eml → lhost-messagelabs-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-messagingserver-01.eml → lhost-messagingserver-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-mfilter-01.eml → lhost-mfilter-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-mxlogic-01.eml → lhost-mxlogic-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-notes-01.eml → lhost-notes-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-office365-01.eml → lhost-office365-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-opensmtpd-01.eml → lhost-opensmtpd-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-outlook-01.eml → lhost-outlook-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-postfix-01.eml → lhost-postfix-01.eml} +0 -0
- data/set-of-emails/maildir/dos/lhost-powermta-01.eml +64 -0
- data/set-of-emails/maildir/dos/{email-qmail-01.eml → lhost-qmail-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-receivingses-01.eml → lhost-receivingses-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-sendgrid-01.eml → lhost-sendgrid-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-sendmail-01.eml → lhost-sendmail-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-surfcontrol-01.eml → lhost-surfcontrol-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-v5sendmail-01.eml → lhost-v5sendmail-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-verizon-01.eml → lhost-verizon-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-x1-01.eml → lhost-x1-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-x2-01.eml → lhost-x2-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-x3-01.eml → lhost-x3-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-x4-01.eml → lhost-x4-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-x5-01.eml → lhost-x5-01.eml} +0 -0
- data/set-of-emails/maildir/dos/lhost-x6-01.eml +71 -0
- data/set-of-emails/maildir/dos/{email-yahoo-01.eml → lhost-yahoo-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-yandex-01.eml → lhost-yandex-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{email-zoho-01.eml → lhost-zoho-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{rhost-exchange-online-01.eml → rhost-exchangeonline-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{rhost-google-apps-01.eml → rhost-googleapps-01.eml} +0 -0
- data/set-of-emails/maildir/dos/rhost-iua-01.eml +70 -0
- data/set-of-emails/maildir/mac/{email-activehunter-01.eml → lhost-activehunter-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-amavis-01.eml → lhost-amavis-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-amazonses-01.eml → lhost-amazonses-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-amazonworkmail-01.eml → lhost-amazonworkmail-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-aol-01.eml → lhost-aol-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-apachejames-01.eml → lhost-apachejames-01.eml} +0 -0
- data/set-of-emails/maildir/mac/lhost-barracuda-01.eml +1 -4
- data/set-of-emails/maildir/mac/{email-bigfoot-01.eml → lhost-bigfoot-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-biglobe-01.eml → lhost-biglobe-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-courier-01.eml → lhost-courier-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-domino-01.eml → lhost-domino-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-einsundeins-01.eml → lhost-einsundeins-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-exchange-01.eml → lhost-exchange-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-exchange2003-01.eml → lhost-exchange2003-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-exchange2007-01.eml → lhost-exchange2007-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-exim-01.eml → lhost-exim-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-ezweb-01.eml → lhost-ezweb-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-facebook-01.eml → lhost-facebook-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-google-01.eml → lhost-gmail-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-gmx-01.eml → lhost-gmx-01.eml} +0 -0
- data/set-of-emails/maildir/mac/lhost-googlegroups-01.eml +1 -1
- data/set-of-emails/maildir/mac/{email-gsuite-01.eml → lhost-gsuite-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-imailserver-01.eml → lhost-imailserver-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-interscanmss-01.eml → lhost-interscanmss-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-kddi-01.eml → lhost-kddi-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-mailfoundry-01.eml → lhost-mailfoundry-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-mailmarshalsmtp-01.eml → lhost-mailmarshalsmtp-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-mailru-01.eml → lhost-mailru-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-mcafee-01.eml → lhost-mcafee-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-messagelabs-01.eml → lhost-messagelabs-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-messagingserver-01.eml → lhost-messagingserver-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-mfilter-01.eml → lhost-mfilter-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-mxlogic-01.eml → lhost-mxlogic-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-notes-01.eml → lhost-notes-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-office365-01.eml → lhost-office365-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-opensmtpd-01.eml → lhost-opensmtpd-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-outlook-01.eml → lhost-outlook-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-postfix-01.eml → lhost-postfix-01.eml} +0 -0
- data/set-of-emails/maildir/mac/lhost-powermta-01.eml +1 -4
- data/set-of-emails/maildir/mac/{email-qmail-01.eml → lhost-qmail-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-receivingses-01.eml → lhost-receivingses-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-sendgrid-01.eml → lhost-sendgrid-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-sendmail-01.eml → lhost-sendmail-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-surfcontrol-01.eml → lhost-surfcontrol-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-v5sendmail-01.eml → lhost-v5sendmail-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-verizon-01.eml → lhost-verizon-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-x1-01.eml → lhost-x1-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-x2-01.eml → lhost-x2-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-x3-01.eml → lhost-x3-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-x4-01.eml → lhost-x4-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-x5-01.eml → lhost-x5-01.eml} +0 -0
- data/set-of-emails/maildir/mac/lhost-x6-01.eml +1 -3
- data/set-of-emails/maildir/mac/{email-yahoo-01.eml → lhost-yahoo-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-yandex-01.eml → lhost-yandex-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{email-zoho-01.eml → lhost-zoho-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{rhost-exchange-online-01.eml → rhost-exchangeonline-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{rhost-google-apps-01.eml → rhost-googleapps-01.eml} +0 -0
- data/set-of-emails/maildir/mac/rhost-iua-01.eml +1 -4
- data/sisimai-java.gemspec +4 -4
- data/sisimai.gemspec +4 -4
- metadata +584 -524
- data/lib/sisimai/lhost/userdefined.rb +0 -95
data/lib/sisimai/lhost/x5.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Sisimai::Lhost
|
2
|
-
# Sisimai::Lhost::X5 parses a bounce email which created by Unknown
|
3
|
-
#
|
2
|
+
# Sisimai::Lhost::X5 parses a bounce email which created by Unknown MTA #5.
|
3
|
+
# Methods in the module are called from only Sisimai::Message.
|
4
4
|
module X5
|
5
5
|
class << self
|
6
6
|
# Imported from p5-Sisimail/lib/Sisimai/Lhost/X5.pm
|
@@ -10,21 +10,11 @@ module Sisimai::Lhost
|
|
10
10
|
ReBackbone = %r|^Content-Type:[ ]message/rfc822|.freeze
|
11
11
|
StartingOf = { message: ['Content-Type: message/delivery-status'] }.freeze
|
12
12
|
|
13
|
-
def description; return 'Unknown MTA #5'; end
|
14
|
-
def smtpagent; return Sisimai::Lhost.smtpagent(self); end
|
15
|
-
def headerlist; return []; end
|
16
|
-
|
17
13
|
# Parse bounce messages from Unknown MTA #5
|
18
|
-
# @param
|
19
|
-
# @
|
20
|
-
# @
|
21
|
-
# @
|
22
|
-
# @options mhead [Array] received Received headers
|
23
|
-
# @options mhead [String] others Other required headers
|
24
|
-
# @param [String] mbody Message body of a bounce email
|
25
|
-
# @return [Hash, Nil] Bounce data list and message/rfc822
|
26
|
-
# part or nil if it failed to parse or
|
27
|
-
# the arguments are missing
|
14
|
+
# @param [Hash] mhead Message headers of a bounce email
|
15
|
+
# @param [String] mbody Message body of a bounce email
|
16
|
+
# @return [Hash] Bounce data list and message/rfc822 part
|
17
|
+
# @return [Nil] it failed to parse or the arguments are missing
|
28
18
|
def make(mhead, mbody)
|
29
19
|
match = 0
|
30
20
|
match += 1 if mhead['to'].to_s.include?('NotificationRecipients')
|
@@ -49,13 +39,17 @@ module Sisimai::Lhost
|
|
49
39
|
require 'sisimai/rfc1894'
|
50
40
|
fieldtable = Sisimai::RFC1894.FIELDTABLE
|
51
41
|
dscontents = [Sisimai::Lhost.DELIVERYSTATUS]
|
52
|
-
emailsteak = Sisimai::RFC5322.fillet(mbody, ReBackbone)
|
53
|
-
bodyslices = emailsteak[0].split("\n")
|
54
42
|
readslices = ['']
|
55
43
|
readcursor = 0 # (Integer) Points the current cursor position
|
56
44
|
recipients = 0 # (Integer) The number of 'Final-Recipient' header
|
57
45
|
v = nil
|
58
46
|
|
47
|
+
# Pick the second message/rfc822 part because the format of email-x5-*.eml is nested structure
|
48
|
+
prefillets = mbody.split(ReBackbone, 2)
|
49
|
+
prefillets[1].sub!(/\A.+?\n\n/s, '')
|
50
|
+
emailsteak = Sisimai::RFC5322.fillet(prefillets[1], ReBackbone)
|
51
|
+
bodyslices = emailsteak[0].split("\n")
|
52
|
+
|
59
53
|
while e = bodyslices.shift do
|
60
54
|
# Read error messages and delivery status lines from the head of the email
|
61
55
|
# to the previous line of the beginning of the original message.
|
@@ -66,7 +60,7 @@ module Sisimai::Lhost
|
|
66
60
|
readcursor |= Indicators[:deliverystatus] if e.start_with?(StartingOf[:message][0])
|
67
61
|
next
|
68
62
|
end
|
69
|
-
next if (readcursor & Indicators[
|
63
|
+
next if (readcursor & Indicators[:deliverystatus]) == 0
|
70
64
|
next if e.empty?
|
71
65
|
|
72
66
|
v = dscontents[-1]
|
@@ -110,15 +104,10 @@ module Sisimai::Lhost
|
|
110
104
|
end
|
111
105
|
return nil unless recipients > 0
|
112
106
|
|
113
|
-
dscontents.each
|
114
|
-
e['agent'] = self.smtpagent
|
115
|
-
e['diagnosis'] ||= Sisimai::String.sweep(e['diagnosis'])
|
116
|
-
e.each_key { |a| e[a] ||= '' }
|
117
|
-
end
|
118
|
-
|
107
|
+
dscontents.each { |e| e['diagnosis'] ||= Sisimai::String.sweep(e['diagnosis']) }
|
119
108
|
return { 'ds' => dscontents, 'rfc822' => emailsteak[1] }
|
120
109
|
end
|
121
|
-
|
110
|
+
def description; return 'Unknown MTA #5'; end
|
122
111
|
end
|
123
112
|
end
|
124
113
|
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
module Sisimai::Lhost
|
2
|
+
# Sisimai::Lhost::X6 parses a bounce email which created by Unknown MTA #6.
|
3
|
+
# Methods in the module are called from only Sisimai::Message.
|
4
|
+
module X6
|
5
|
+
class << self
|
6
|
+
# Imported from p5-Sisimail/lib/Sisimai/Lhost/X6.pm
|
7
|
+
require 'sisimai/lhost'
|
8
|
+
|
9
|
+
Indicators = Sisimai::Lhost.INDICATORS
|
10
|
+
ReBackbone = %r/^The attachment contains the original mail headers.+$/.freeze
|
11
|
+
MarkingsOf = { message: %r/\A\d+[ ]*error[(]s[)]:/ }.freeze
|
12
|
+
|
13
|
+
# Parse bounce messages from Unknown MTA #6
|
14
|
+
# @param [Hash] mhead Message headers of a bounce email
|
15
|
+
# @param [String] mbody Message body of a bounce email
|
16
|
+
# @return [Hash] Bounce data list and message/rfc822 part
|
17
|
+
# @return [Nil] it failed to parse or the arguments are missing
|
18
|
+
# @since v4.25.6
|
19
|
+
def make(mhead, mbody)
|
20
|
+
return nil unless mhead['subject'].start_with?('There was an error sending your mail')
|
21
|
+
|
22
|
+
dscontents = [Sisimai::Lhost.DELIVERYSTATUS]
|
23
|
+
emailsteak = Sisimai::RFC5322.fillet(mbody, ReBackbone)
|
24
|
+
bodyslices = emailsteak[0].split("\n")
|
25
|
+
readcursor = 0 # (Integer) Points the current cursor position
|
26
|
+
recipients = 0 # (Integer) The number of 'Final-Recipient' header
|
27
|
+
v = nil
|
28
|
+
|
29
|
+
while e = bodyslices.shift do
|
30
|
+
# Read error messages and delivery status lines from the head of the email
|
31
|
+
# to the previous line of the beginning of the original message.
|
32
|
+
if readcursor == 0
|
33
|
+
# Beginning of the bounce message or delivery status part
|
34
|
+
readcursor |= Indicators[:deliverystatus] if e =~ MarkingsOf[:message]
|
35
|
+
next
|
36
|
+
end
|
37
|
+
next if (readcursor & Indicators[:deliverystatus]) == 0
|
38
|
+
next if e.empty?
|
39
|
+
|
40
|
+
# 1 error(s):
|
41
|
+
#
|
42
|
+
# SMTP Server <mta2.example.jp> rejected recipient <kijitora@examplejp>
|
43
|
+
# (Error following RCPT command). It responded as follows: [550 5.1.1 User unknown]v = dscontents[-1]
|
44
|
+
v = dscontents[-1]
|
45
|
+
if cv = e.match(/<([^ @]+[@][^ @]+)>/) || e.match(/errors:[ ]*([^ ]+[@][^ ]+)/)
|
46
|
+
# SMTP Server <mta2.example.jp> rejected recipient <kijitora@examplejp>
|
47
|
+
# The following recipients returned permanent errors: neko@example.jp.
|
48
|
+
if v['recipient']
|
49
|
+
# There are multiple recipient addresses in the message body.
|
50
|
+
dscontents << Sisimai::Lhost.DELIVERYSTATUS
|
51
|
+
v = dscontents[-1]
|
52
|
+
end
|
53
|
+
v['recipient'] = Sisimai::Address.s3s4(cv[1])
|
54
|
+
v['diagnosis'] = e
|
55
|
+
recipients += 1
|
56
|
+
end
|
57
|
+
end
|
58
|
+
return nil unless recipients > 0
|
59
|
+
|
60
|
+
dscontents.each do |e|
|
61
|
+
if cv = e['diagnosis'].match(/\b(HELO|EHLO|MAIL|RCPT|DATA)\b/)
|
62
|
+
# ...(Error following RCPT command).
|
63
|
+
e['command'] = cv[1]
|
64
|
+
end
|
65
|
+
e['diagnosis'] = Sisimai::String.sweep(e['diagnosis'])
|
66
|
+
end
|
67
|
+
|
68
|
+
return { 'ds' => dscontents, 'rfc822' => emailsteak[1] }
|
69
|
+
end
|
70
|
+
def description; return 'Unknown MTA #6'; end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
data/lib/sisimai/lhost/yahoo.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Sisimai::Lhost
|
2
|
-
# Sisimai::Lhost::Yahoo parses a bounce email which created by Yahoo!
|
3
|
-
#
|
2
|
+
# Sisimai::Lhost::Yahoo parses a bounce email which created by Yahoo! MAIL.
|
3
|
+
# Methods in the module are called from only Sisimai::Message.
|
4
4
|
module Yahoo
|
5
5
|
class << self
|
6
6
|
# Imported from p5-Sisimail/lib/Sisimai/Lhost/Yahoo.pm
|
@@ -10,28 +10,16 @@ module Sisimai::Lhost
|
|
10
10
|
ReBackbone = %r|^--- Below this line is a copy of the message[.]|.freeze
|
11
11
|
StartingOf = { message: ['Sorry, we were unable to deliver your message'] }.freeze
|
12
12
|
|
13
|
-
def description; return 'Yahoo! MAIL: https://www.yahoo.com'; end
|
14
|
-
def smtpagent; return Sisimai::Lhost.smtpagent(self); end
|
15
|
-
|
16
|
-
# X-YMailISG: YtyUVyYWLDsbDh...
|
17
|
-
# X-YMail-JAS: Pb65aU4VM1mei...
|
18
|
-
# X-YMail-OSG: bTIbpDEVM1lHz...
|
19
|
-
# X-Originating-IP: [192.0.2.9]
|
20
|
-
def headerlist; return %w[x-ymailisg]; end
|
21
|
-
|
22
13
|
# Parse bounce messages from Yahoo! MAIL
|
23
|
-
# @param
|
24
|
-
# @
|
25
|
-
# @
|
26
|
-
# @
|
27
|
-
# @options mhead [Array] received Received headers
|
28
|
-
# @options mhead [String] others Other required headers
|
29
|
-
# @param [String] mbody Message body of a bounce email
|
30
|
-
# @return [Hash, Nil] Bounce data list and message/rfc822
|
31
|
-
# part or nil if it failed to parse or
|
32
|
-
# the arguments are missing
|
14
|
+
# @param [Hash] mhead Message headers of a bounce email
|
15
|
+
# @param [String] mbody Message body of a bounce email
|
16
|
+
# @return [Hash] Bounce data list and message/rfc822 part
|
17
|
+
# @return [Nil] it failed to parse or the arguments are missing
|
33
18
|
def make(mhead, mbody)
|
34
|
-
# :
|
19
|
+
# X-YMailISG: YtyUVyYWLDsbDh...
|
20
|
+
# X-YMail-JAS: Pb65aU4VM1mei...
|
21
|
+
# X-YMail-OSG: bTIbpDEVM1lHz...
|
22
|
+
# X-Originating-IP: [192.0.2.9]
|
35
23
|
return nil unless mhead['x-ymailisg']
|
36
24
|
|
37
25
|
dscontents = [Sisimai::Lhost.DELIVERYSTATUS]
|
@@ -101,13 +89,12 @@ module Sisimai::Lhost
|
|
101
89
|
|
102
90
|
dscontents.each do |e|
|
103
91
|
e['diagnosis'] = Sisimai::String.sweep(e['diagnosis'].gsub(/\\n/, ' '))
|
104
|
-
e['agent'] = self.smtpagent
|
105
92
|
e['command'] ||= 'RCPT' if e['diagnosis'] =~ /[<].+[@].+[>]/
|
106
93
|
end
|
107
94
|
|
108
95
|
return { 'ds' => dscontents, 'rfc822' => emailsteak[1] }
|
109
96
|
end
|
110
|
-
|
97
|
+
def description; return 'Yahoo! MAIL: https://www.yahoo.com'; end
|
111
98
|
end
|
112
99
|
end
|
113
100
|
end
|
data/lib/sisimai/lhost/yandex.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Sisimai::Lhost
|
2
|
-
# Sisimai::Lhost::Yandex parses a bounce email which created by
|
3
|
-
#
|
2
|
+
# Sisimai::Lhost::Yandex parses a bounce email which created by Yandex.Mail.
|
3
|
+
# Methods in the module are called from only Sisimai::Message.
|
4
4
|
module Yandex
|
5
5
|
class << self
|
6
6
|
# Imported from p5-Sisimail/lib/Sisimai/Lhost/Yandex.pm
|
@@ -10,30 +10,19 @@ module Sisimai::Lhost
|
|
10
10
|
ReBackbone = %r|^Content-Type:[ ]message/rfc822|.freeze
|
11
11
|
StartingOf = { message: ['This is the mail system at host yandex.ru.'] }.freeze
|
12
12
|
|
13
|
-
def description; return 'Yandex.Mail: https://www.yandex.ru'; end
|
14
|
-
def smtpagent; return Sisimai::Lhost.smtpagent(self); end
|
15
|
-
|
16
|
-
# X-Yandex-Front: mxback1h.mail.yandex.net
|
17
|
-
# X-Yandex-TimeMark: 1417885948
|
18
|
-
# X-Yandex-Uniq: 92309766-f1c8-4bd4-92bc-657c75766587
|
19
|
-
# X-Yandex-Spam: 1
|
20
|
-
# X-Yandex-Forward: 10104c00ad0726da5f37374723b1e0c8
|
21
|
-
# X-Yandex-Queue-ID: 367D79E130D
|
22
|
-
# X-Yandex-Sender: rfc822; shironeko@yandex.example.com
|
23
|
-
def headerlist; return %w[x-yandex-uniq]; end
|
24
|
-
|
25
13
|
# Parse bounce messages from Yandex.Mail
|
26
|
-
# @param
|
27
|
-
# @
|
28
|
-
# @
|
29
|
-
# @
|
30
|
-
# @options mhead [Array] received Received headers
|
31
|
-
# @options mhead [String] others Other required headers
|
32
|
-
# @param [String] mbody Message body of a bounce email
|
33
|
-
# @return [Hash, Nil] Bounce data list and message/rfc822
|
34
|
-
# part or nil if it failed to parse or
|
35
|
-
# the arguments are missing
|
14
|
+
# @param [Hash] mhead Message headers of a bounce email
|
15
|
+
# @param [String] mbody Message body of a bounce email
|
16
|
+
# @return [Hash] Bounce data list and message/rfc822 part
|
17
|
+
# @return [Nil] it failed to parse or the arguments are missing
|
36
18
|
def make(mhead, mbody)
|
19
|
+
# X-Yandex-Front: mxback1h.mail.yandex.net
|
20
|
+
# X-Yandex-TimeMark: 1417885948
|
21
|
+
# X-Yandex-Uniq: 92309766-f1c8-4bd4-92bc-657c75766587
|
22
|
+
# X-Yandex-Spam: 1
|
23
|
+
# X-Yandex-Forward: 10104c00ad0726da5f37374723b1e0c8
|
24
|
+
# X-Yandex-Queue-ID: 367D79E130D
|
25
|
+
# X-Yandex-Sender: rfc822; shironeko@yandex.example.com
|
37
26
|
return nil unless mhead['x-yandex-uniq']
|
38
27
|
return nil unless mhead['from'] == 'mailer-daemon@yandex.ru'
|
39
28
|
|
@@ -123,12 +112,11 @@ module Sisimai::Lhost
|
|
123
112
|
|
124
113
|
e['command'] = commandset.shift || ''
|
125
114
|
e['diagnosis'] = Sisimai::String.sweep(e['diagnosis'].tr("\n", ' '))
|
126
|
-
e['agent'] = self.smtpagent
|
127
115
|
end
|
128
116
|
|
129
117
|
return { 'ds' => dscontents, 'rfc822' => emailsteak[1] }
|
130
118
|
end
|
131
|
-
|
119
|
+
def description; return 'Yandex.Mail: https://www.yandex.ru'; end
|
132
120
|
end
|
133
121
|
end
|
134
122
|
end
|
data/lib/sisimai/lhost/zoho.rb
CHANGED
@@ -11,33 +11,15 @@ module Sisimai::Lhost
|
|
11
11
|
StartingOf = { message: ['This message was created automatically by mail delivery'] }.freeze
|
12
12
|
MessagesOf = { 'expired' => ['Host not reachable'] }.freeze
|
13
13
|
|
14
|
-
def description; return 'Zoho Mail: https://www.zoho.com'; end
|
15
|
-
def smtpagent; return Sisimai::Lhost.smtpagent(self); end
|
16
|
-
|
17
|
-
# X-ZohoMail: Si CHF_MF_NL SS_10 UW48 UB48 FMWL UW48 UB48 SGR3_1_09124_42
|
18
|
-
# X-Zoho-Virus-Status: 2
|
19
|
-
# X-Mailer: Zoho Mail
|
20
|
-
def headerlist; return %w[x-zohomail]; end
|
21
|
-
|
22
14
|
# Parse bounce messages from Zoho Mail
|
23
|
-
# @param
|
24
|
-
# @
|
25
|
-
# @
|
26
|
-
# @
|
27
|
-
# @options mhead [Array] received Received headers
|
28
|
-
# @options mhead [String] others Other required headers
|
29
|
-
# @param [String] mbody Message body of a bounce email
|
30
|
-
# @return [Hash, Nil] Bounce data list and message/rfc822
|
31
|
-
# part or nil if it failed to parse or
|
32
|
-
# the arguments are missing
|
15
|
+
# @param [Hash] mhead Message headers of a bounce email
|
16
|
+
# @param [String] mbody Message body of a bounce email
|
17
|
+
# @return [Hash] Bounce data list and message/rfc822 part
|
18
|
+
# @return [Nil] it failed to parse or the arguments are missing
|
33
19
|
def make(mhead, mbody)
|
34
|
-
# :
|
35
|
-
# :
|
36
|
-
#
|
37
|
-
# |Mail[ ]Delivery[ ]Status[ ]Notification
|
38
|
-
# )
|
39
|
-
# }x,
|
40
|
-
# :'x-mailer' => %r/\AZoho Mail\z/,
|
20
|
+
# X-ZohoMail: Si CHF_MF_NL SS_10 UW48 UB48 FMWL UW48 UB48 SGR3_1_09124_42
|
21
|
+
# X-Zoho-Virus-Status: 2
|
22
|
+
# X-Mailer: Zoho Mail
|
41
23
|
return nil unless mhead['x-zohomail']
|
42
24
|
|
43
25
|
dscontents = [Sisimai::Lhost.DELIVERYSTATUS]
|
@@ -109,9 +91,7 @@ module Sisimai::Lhost
|
|
109
91
|
return nil unless recipients > 0
|
110
92
|
|
111
93
|
dscontents.each do |e|
|
112
|
-
e['agent'] = self.smtpagent
|
113
94
|
e['diagnosis'] = Sisimai::String.sweep(e['diagnosis'].tr("\n", ' '))
|
114
|
-
|
115
95
|
MessagesOf.each_key do |r|
|
116
96
|
# Verify each regular expression of session errors
|
117
97
|
next unless MessagesOf[r].any? { |a| e['diagnosis'].include?(a) }
|
@@ -122,7 +102,7 @@ module Sisimai::Lhost
|
|
122
102
|
|
123
103
|
return { 'ds' => dscontents, 'rfc822' => emailsteak[1] }
|
124
104
|
end
|
125
|
-
|
105
|
+
def description; return 'Zoho Mail: https://www.zoho.com'; end
|
126
106
|
end
|
127
107
|
end
|
128
108
|
end
|
data/lib/sisimai/mail.rb
CHANGED
@@ -1,28 +1,30 @@
|
|
1
1
|
module Sisimai
|
2
|
-
# Sisimai::Mail is a handler of UNIX mbox or Maildir for reading each mail.
|
3
|
-
# wrapper class of Sisimai::Mail::Mbox
|
2
|
+
# Sisimai::Mail is a handler of UNIX mbox or Maildir for reading each mail.
|
3
|
+
# It is a wrapper class of Sisimai::Mail::Mbox, Sisimai::Mail::Maildir, and
|
4
|
+
# Sisimai::Mail::Memory classes.
|
4
5
|
class Mail
|
5
6
|
# Imported from p5-Sisimail/lib/Sisimai/Mail.pm
|
7
|
+
|
6
8
|
# :path [String] path to mbox or Maildir/
|
7
|
-
# :
|
8
|
-
# :
|
9
|
-
attr_reader :path, :
|
10
|
-
attr_accessor :
|
9
|
+
# :kind [String] Data type: mailbox, maildir, or stdin
|
10
|
+
# :data [Sisimai::Mail::[Mbox,Maildir,Memory,STDIN]] Object
|
11
|
+
attr_reader :path, :kind
|
12
|
+
attr_accessor :data
|
11
13
|
|
12
14
|
# Constructor of Sisimai::Mail
|
13
15
|
# @param [String] argv1 Path to mbox or Maildir/
|
14
16
|
# @return [Sisimai::Mail, Nil] Object or nil if the argument was wrong
|
15
17
|
def initialize(argv1)
|
16
18
|
classname = nil
|
17
|
-
parameter = { 'path' => argv1, '
|
19
|
+
parameter = { 'path' => argv1, 'kind' => nil, 'data' => nil }
|
18
20
|
|
19
21
|
if argv1.is_a?(::String)
|
20
22
|
# Path to mail or '<STDIN>' ?
|
21
23
|
if argv1 == '<STDIN>'
|
22
24
|
# Sisimai::Mail.new('<STDIN>')
|
23
25
|
classname = self.class.to_s << '::STDIN'
|
24
|
-
parameter['
|
25
|
-
parameter['path'] =
|
26
|
+
parameter['kind'] = 'stdin'
|
27
|
+
parameter['path'] = '<STDIN>'
|
26
28
|
else
|
27
29
|
# The argumenet is a mailbox or a Maildir/.
|
28
30
|
mediatype = argv1.include?("\n") ? 'memory' : File.ftype(argv1)
|
@@ -30,17 +32,17 @@ module Sisimai
|
|
30
32
|
if mediatype == 'file'
|
31
33
|
# The argument is a file, it is an mbox or email file in Maildir/
|
32
34
|
classname = self.class.to_s << '::Mbox'
|
33
|
-
parameter['
|
35
|
+
parameter['kind'] = 'mailbox'
|
34
36
|
|
35
37
|
elsif mediatype == 'directory'
|
36
38
|
# The agument is not a file, it is a Maildir/
|
37
39
|
classname = self.class.to_s << '::Maildir'
|
38
|
-
parameter['
|
40
|
+
parameter['kind'] = 'maildir'
|
39
41
|
|
40
42
|
elsif mediatype == 'memory'
|
41
43
|
# The argument is an email string
|
42
44
|
classname = self.class.to_s << '::Memory'
|
43
|
-
parameter['
|
45
|
+
parameter['kind'] = 'memory'
|
44
46
|
parameter['path'] = 'MEMORY'
|
45
47
|
end
|
46
48
|
end
|
@@ -48,33 +50,27 @@ module Sisimai
|
|
48
50
|
# Read from STDIN
|
49
51
|
# The argument neither a mailbox nor a Maildir/.
|
50
52
|
classname = self.class.to_s << '::STDIN'
|
51
|
-
parameter['
|
53
|
+
parameter['kind'] = 'stdin'
|
54
|
+
parameter['path'] = '<STDIN>'
|
52
55
|
end
|
53
56
|
return nil unless classname
|
54
57
|
|
55
58
|
classpath = classname.gsub('::', '/').downcase
|
56
59
|
require classpath
|
57
|
-
parameter['
|
60
|
+
parameter['data'] = Module.const_get(classname).new(argv1)
|
58
61
|
|
59
62
|
@path = parameter['path']
|
60
|
-
@
|
61
|
-
@
|
63
|
+
@kind = parameter['kind']
|
64
|
+
@data = parameter['data']
|
62
65
|
end
|
63
66
|
|
64
|
-
#
|
67
|
+
# Alias method of Sisimai::Mail.data.read()
|
65
68
|
# @return [String] Contents of mbox/Maildir
|
66
69
|
def read
|
67
|
-
return nil unless
|
68
|
-
return
|
70
|
+
return nil unless data
|
71
|
+
return data.read
|
69
72
|
end
|
70
73
|
|
71
|
-
# Close the handle
|
72
|
-
# @return [True,False] true: Successfully closed the handle
|
73
|
-
# false: Mail handle is not defined
|
74
|
-
def close
|
75
|
-
return false unless mail.handle
|
76
|
-
mail.handle = nil
|
77
|
-
return true
|
78
|
-
end
|
79
74
|
end
|
80
75
|
end
|
76
|
+
|
data/lib/sisimai/mail/maildir.rb
CHANGED
@@ -1,23 +1,22 @@
|
|
1
1
|
module Sisimai
|
2
2
|
class Mail
|
3
|
-
# Sisimai::Mail::Maildir is a reader for getting contents of each email in
|
4
|
-
# Maildir/ directory.
|
3
|
+
# Sisimai::Mail::Maildir is a reader for getting contents of each email in
|
4
|
+
# the Maildir/ directory.
|
5
5
|
class Maildir
|
6
6
|
# Imported from p5-Sisimail/lib/Sisimai/Mail/Maildir.pm
|
7
7
|
# :dir [String] Path to Maildir/
|
8
|
-
# :size [Integer] The number of
|
8
|
+
# :size [Integer] The number of files/directories in the Maildir/
|
9
9
|
# :path [String] Path to each file
|
10
10
|
# :file, [String] Each file name of a mail in the Maildir/
|
11
|
-
# :
|
12
|
-
# :count [Integer] The number of file has read
|
11
|
+
# :offset [Integer] The number of email files in the Maildir/
|
13
12
|
# :handle [IO::Dir] Directory handle
|
14
|
-
attr_reader :dir
|
15
|
-
attr_accessor :
|
13
|
+
attr_reader :dir
|
14
|
+
attr_accessor :size, :path, :file, :offset, :handle
|
16
15
|
|
17
16
|
# Constructor of Sisimai::Mail::Maildir
|
18
|
-
# @param [String] argvs
|
19
|
-
# @return [Sisimai::Mail::Maildir
|
20
|
-
#
|
17
|
+
# @param [String] argvs Path to Maildir/
|
18
|
+
# @return [Sisimai::Mail::Maildir] Object
|
19
|
+
# [Nil] is not a directory or does not exist
|
21
20
|
def initialize(argv1)
|
22
21
|
raise Errno::ENOENT unless File.exist?(argv1)
|
23
22
|
raise Errno::ENOTDIR unless File.ftype(argv1) == 'directory'
|
@@ -26,45 +25,45 @@ module Sisimai
|
|
26
25
|
@size = Dir.entries(argv1).size
|
27
26
|
@dir = argv1
|
28
27
|
@file = nil
|
29
|
-
@
|
30
|
-
@count = 0
|
28
|
+
@offset = 0
|
31
29
|
@handle = Dir.open(argv1)
|
32
30
|
end
|
33
31
|
|
34
32
|
# Maildir reader, works as a iterator.
|
35
33
|
# @return [String] Contents of file in Maildir/
|
36
34
|
def read
|
37
|
-
return nil unless self.
|
38
|
-
|
35
|
+
return nil unless self.offset < self.size
|
39
36
|
seekhandle = self.handle
|
40
37
|
readbuffer = ''
|
41
38
|
|
42
39
|
begin
|
43
40
|
while r = seekhandle.read do
|
44
41
|
# Read each file in the directory
|
45
|
-
|
42
|
+
if r == '.' || r == '..'
|
43
|
+
# Is a directory
|
44
|
+
self.offset += 1
|
45
|
+
next
|
46
|
+
end
|
46
47
|
|
47
48
|
emailindir = (self.dir + '/' + r).squeeze('/')
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
49
|
+
if File.ftype(emailindir) != 'file' ||
|
50
|
+
File.size(emailindir) == 0 ||
|
51
|
+
File.readable?(emailindir) == false
|
52
|
+
# The file is not a file, is empty, is not readable
|
53
|
+
self.offset += 1
|
54
|
+
next
|
55
|
+
end
|
54
56
|
|
55
57
|
File.open(emailindir, 'r:UTF-8') do |f|
|
56
58
|
readbuffer = f.read
|
57
59
|
end
|
58
60
|
|
59
|
-
self.
|
60
|
-
self.path
|
61
|
-
self.file
|
62
|
-
|
61
|
+
self.offset += 1
|
62
|
+
self.path = emailindir
|
63
|
+
self.file = r
|
63
64
|
break
|
64
65
|
end
|
65
|
-
|
66
|
-
self.count += 1
|
67
|
-
seekhandle.close unless self.count < self.size
|
66
|
+
seekhandle.close unless self.offset < self.size
|
68
67
|
end
|
69
68
|
|
70
69
|
return readbuffer
|