sisimai 4.25.3 → 4.25.8
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 +5 -5
- data/.gitignore +1 -0
- data/.travis.yml +3 -2
- data/ANALYTICAL-PRECISION +60 -58
- data/Benchmarks.mk +5 -3
- data/CONTRIBUTING +4 -0
- data/ChangeLog.md +195 -1
- data/Developers.mk +3 -74
- data/Makefile +5 -1
- data/README-JA.md +30 -54
- data/README.md +31 -54
- data/Repository.mk +1 -1
- data/lib/sisimai.rb +19 -73
- data/lib/sisimai/address.rb +13 -17
- data/lib/sisimai/arf.rb +26 -32
- data/lib/sisimai/data.rb +16 -39
- data/lib/sisimai/datetime.rb +3 -3
- data/lib/sisimai/lhost.rb +79 -0
- data/lib/sisimai/lhost/activehunter.rb +78 -0
- data/lib/sisimai/lhost/amavis.rb +166 -0
- data/lib/sisimai/lhost/amazonses.rb +343 -0
- data/lib/sisimai/lhost/amazonworkmail.rb +131 -0
- data/lib/sisimai/lhost/aol.rb +128 -0
- data/lib/sisimai/lhost/apachejames.rb +120 -0
- data/lib/sisimai/lhost/barracuda.rb +94 -0
- data/lib/sisimai/lhost/bigfoot.rb +126 -0
- data/lib/sisimai/lhost/biglobe.rb +101 -0
- data/lib/sisimai/lhost/courier.rb +146 -0
- data/lib/sisimai/lhost/domino.rb +118 -0
- data/lib/sisimai/lhost/einsundeins.rb +115 -0
- data/lib/sisimai/lhost/exchange2003.rb +230 -0
- data/lib/sisimai/lhost/exchange2007.rb +153 -0
- data/lib/sisimai/{bite/email → lhost}/exim.rb +136 -175
- data/lib/sisimai/{bite/email → lhost}/ezweb.rb +65 -97
- data/lib/sisimai/{bite/email → lhost}/facebook.rb +61 -98
- data/lib/sisimai/lhost/fml.rb +119 -0
- data/lib/sisimai/{bite/email/google.rb → lhost/gmail.rb} +58 -97
- data/lib/sisimai/lhost/gmx.rb +114 -0
- data/lib/sisimai/lhost/googlegroups.rb +77 -0
- data/lib/sisimai/lhost/gsuite.rb +196 -0
- data/lib/sisimai/lhost/imailserver.rb +118 -0
- data/lib/sisimai/lhost/interscanmss.rb +88 -0
- data/lib/sisimai/lhost/kddi.rb +113 -0
- data/lib/sisimai/lhost/mailfoundry.rb +83 -0
- data/lib/sisimai/lhost/mailmarshalsmtp.rb +127 -0
- data/lib/sisimai/{bite/email → lhost}/mailru.rb +65 -101
- data/lib/sisimai/lhost/mcafee.rb +119 -0
- data/lib/sisimai/lhost/messagelabs.rb +123 -0
- data/lib/sisimai/lhost/messagingserver.rb +152 -0
- data/lib/sisimai/lhost/mfilter.rb +120 -0
- data/lib/sisimai/{bite/email → lhost}/mxlogic.rb +54 -92
- data/lib/sisimai/lhost/notes.rb +126 -0
- data/lib/sisimai/lhost/office365.rb +216 -0
- data/lib/sisimai/{bite/email → lhost}/opensmtpd.rb +42 -78
- data/lib/sisimai/lhost/outlook.rb +133 -0
- data/lib/sisimai/lhost/postfix.rb +249 -0
- data/lib/sisimai/lhost/powermta.rb +120 -0
- data/lib/sisimai/{bite/email → lhost}/qmail.rb +47 -80
- data/lib/sisimai/lhost/receivingses.rb +132 -0
- data/lib/sisimai/lhost/sendgrid.rb +150 -0
- data/lib/sisimai/lhost/sendmail.rb +207 -0
- data/lib/sisimai/lhost/surfcontrol.rb +105 -0
- data/lib/sisimai/lhost/v5sendmail.rb +150 -0
- data/lib/sisimai/lhost/verizon.rb +164 -0
- data/lib/sisimai/lhost/x1.rb +78 -0
- data/lib/sisimai/lhost/x2.rb +71 -0
- data/lib/sisimai/lhost/x3.rb +92 -0
- data/lib/sisimai/{bite/email → lhost}/x4.rb +48 -84
- data/lib/sisimai/lhost/x5.rb +114 -0
- data/lib/sisimai/lhost/x6.rb +74 -0
- data/lib/sisimai/lhost/yahoo.rb +101 -0
- data/lib/sisimai/lhost/yandex.rb +123 -0
- data/lib/sisimai/lhost/zoho.rb +109 -0
- data/lib/sisimai/mail.rb +36 -25
- data/lib/sisimai/mail/maildir.rb +31 -36
- data/lib/sisimai/mail/mbox.rb +8 -12
- data/lib/sisimai/mail/memory.rb +18 -20
- data/lib/sisimai/mail/stdin.rb +8 -12
- data/lib/sisimai/mda.rb +7 -13
- data/lib/sisimai/message.rb +308 -74
- data/lib/sisimai/mime.rb +28 -33
- data/lib/sisimai/order.rb +179 -4
- data/lib/sisimai/reason.rb +29 -20
- data/lib/sisimai/reason/norelaying.rb +1 -1
- data/lib/sisimai/reason/rejected.rb +1 -0
- data/lib/sisimai/reason/userunknown.rb +13 -6
- data/lib/sisimai/reason/virusdetected.rb +1 -0
- data/lib/sisimai/rfc1894.rb +3 -3
- data/lib/sisimai/rfc3464.rb +49 -67
- data/lib/sisimai/rfc3834.rb +14 -26
- data/lib/sisimai/rfc5322.rb +21 -33
- data/lib/sisimai/rhost.rb +10 -12
- data/lib/sisimai/rhost/cox.rb +112 -0
- data/lib/sisimai/rhost/exchangeonline.rb +26 -23
- data/lib/sisimai/rhost/franceptt.rb +120 -24
- data/lib/sisimai/rhost/godaddy.rb +1 -1
- data/lib/sisimai/rhost/iua.rb +39 -0
- data/lib/sisimai/rhost/spectrum.rb +73 -0
- data/lib/sisimai/smtp.rb +0 -13
- data/lib/sisimai/smtp/error.rb +7 -7
- data/lib/sisimai/string.rb +3 -11
- data/lib/sisimai/version.rb +1 -1
- data/set-of-emails/README.md +5 -5
- data/set-of-emails/maildir/bsd/arf-24.eml +50 -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} +0 -0
- 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} +0 -0
- 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/lhost-einsundeins-03.eml +66 -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/lhost-exchange2007-05.eml +1469 -0
- data/set-of-emails/maildir/bsd/lhost-exchange2007-06.eml +764 -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/{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/lhost-gsuite-13.eml +261 -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/lhost-postfix-62.eml +105 -0
- data/set-of-emails/maildir/bsd/lhost-postfix-63.eml +85 -0
- data/set-of-emails/maildir/bsd/lhost-postfix-64.eml +96 -0
- data/set-of-emails/maildir/bsd/lhost-postfix-65.eml +69 -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} +0 -0
- 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} +0 -0
- 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/{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/{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/rfc3834-03.eml +26 -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-franceptt-04.eml +66 -0
- data/set-of-emails/maildir/bsd/rhost-franceptt-05.eml +96 -0
- data/set-of-emails/maildir/bsd/rhost-franceptt-06.eml +100 -0
- data/set-of-emails/maildir/bsd/rhost-franceptt-07.eml +97 -0
- data/set-of-emails/maildir/bsd/rhost-franceptt-08.eml +78 -0
- data/set-of-emails/maildir/bsd/rhost-franceptt-10.eml +79 -0
- data/set-of-emails/maildir/bsd/rhost-franceptt-11.eml +96 -0
- data/set-of-emails/maildir/bsd/rhost-iua-01.eml +70 -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-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-iua-01.eml +1 -4
- metadata +614 -584
- data/fig/sisimai-architecture.png +0 -0
- data/lib/sisimai/bite.rb +0 -37
- data/lib/sisimai/bite/email.rb +0 -61
- data/lib/sisimai/bite/email/activehunter.rb +0 -117
- data/lib/sisimai/bite/email/amavis.rb +0 -133
- data/lib/sisimai/bite/email/amazonses.rb +0 -186
- data/lib/sisimai/bite/email/amazonworkmail.rb +0 -170
- data/lib/sisimai/bite/email/aol.rb +0 -168
- data/lib/sisimai/bite/email/apachejames.rb +0 -158
- data/lib/sisimai/bite/email/bigfoot.rb +0 -162
- data/lib/sisimai/bite/email/biglobe.rb +0 -134
- data/lib/sisimai/bite/email/courier.rb +0 -181
- data/lib/sisimai/bite/email/domino.rb +0 -156
- data/lib/sisimai/bite/email/einsundeins.rb +0 -124
- data/lib/sisimai/bite/email/exchange2003.rb +0 -261
- data/lib/sisimai/bite/email/exchange2007.rb +0 -164
- data/lib/sisimai/bite/email/fml.rb +0 -158
- data/lib/sisimai/bite/email/gmx.rb +0 -152
- data/lib/sisimai/bite/email/gsuite.rb +0 -228
- data/lib/sisimai/bite/email/imailserver.rb +0 -163
- data/lib/sisimai/bite/email/interscanmss.rb +0 -133
- data/lib/sisimai/bite/email/kddi.rb +0 -146
- data/lib/sisimai/bite/email/mailfoundry.rb +0 -120
- data/lib/sisimai/bite/email/mailmarshalsmtp.rb +0 -165
- data/lib/sisimai/bite/email/mcafee.rb +0 -157
- data/lib/sisimai/bite/email/messagelabs.rb +0 -161
- data/lib/sisimai/bite/email/messagingserver.rb +0 -187
- data/lib/sisimai/bite/email/mfilter.rb +0 -152
- data/lib/sisimai/bite/email/notes.rb +0 -167
- data/lib/sisimai/bite/email/office365.rb +0 -243
- data/lib/sisimai/bite/email/outlook.rb +0 -173
- data/lib/sisimai/bite/email/postfix.rb +0 -261
- data/lib/sisimai/bite/email/receivingses.rb +0 -173
- data/lib/sisimai/bite/email/sendgrid.rb +0 -189
- data/lib/sisimai/bite/email/sendmail.rb +0 -247
- data/lib/sisimai/bite/email/surfcontrol.rb +0 -147
- data/lib/sisimai/bite/email/userdefined.rb +0 -115
- data/lib/sisimai/bite/email/v5sendmail.rb +0 -193
- data/lib/sisimai/bite/email/verizon.rb +0 -225
- data/lib/sisimai/bite/email/x1.rb +0 -114
- data/lib/sisimai/bite/email/x2.rb +0 -110
- data/lib/sisimai/bite/email/x3.rb +0 -128
- data/lib/sisimai/bite/email/x5.rb +0 -153
- data/lib/sisimai/bite/email/yahoo.rb +0 -138
- data/lib/sisimai/bite/email/yandex.rb +0 -161
- data/lib/sisimai/bite/email/zoho.rb +0 -153
- data/lib/sisimai/bite/json.rb +0 -36
- data/lib/sisimai/bite/json/amazonses.rb +0 -242
- data/lib/sisimai/bite/json/sendgrid.rb +0 -123
- data/lib/sisimai/message/email.rb +0 -477
- data/lib/sisimai/message/json.rb +0 -198
- data/lib/sisimai/order/email.rb +0 -205
- data/lib/sisimai/order/json.rb +0 -52
- data/set-of-emails/jsonobj/json-amazonses-01.json +0 -1
- data/set-of-emails/jsonobj/json-amazonses-02.json +0 -11
- data/set-of-emails/jsonobj/json-amazonses-03.json +0 -1
- data/set-of-emails/jsonobj/json-amazonses-04.json +0 -1
- data/set-of-emails/jsonobj/json-amazonses-05.json +0 -1
- data/set-of-emails/jsonobj/json-amazonses-06.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-01.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-02.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-03.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-04.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-05.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-06.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-07.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-08.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-09.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-10.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-11.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-12.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-13.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-14.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-15.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-16.json +0 -1
- data/set-of-emails/jsonobj/json-sendgrid-17.json +0 -1
@@ -1,123 +0,0 @@
|
|
1
|
-
module Sisimai::Bite::JSON
|
2
|
-
# Sisimai::Bite::JSON::SendGrid parses a bounce object(JSON) which created by
|
3
|
-
# SendGrid. Methods in the module are called from only Sisimai::Message.
|
4
|
-
module SendGrid
|
5
|
-
# Imported from p5-Sisimail/lib/Sisimai/Bite/JSON/SendGrid.pm
|
6
|
-
class << self
|
7
|
-
require 'sisimai/bite/json'
|
8
|
-
|
9
|
-
def smtpagent; return Sisimai::Bite.smtpagent(self); end
|
10
|
-
def description; return 'SendGrid(JSON): http://sendgrid.com/'; end
|
11
|
-
|
12
|
-
# @abstract Adapt SendGrid bounce object for Sisimai::Message format
|
13
|
-
# @param [Hash] argvs bounce object(JSON) retrieved from SendGrid API
|
14
|
-
# @return [Hash, Nil] Bounce data list and message/rfc822 part or
|
15
|
-
# nil if it failed to parse or the
|
16
|
-
# arguments are missing
|
17
|
-
# @since v4.20.0
|
18
|
-
def adapt(argvs)
|
19
|
-
return nil unless argvs.is_a? Hash
|
20
|
-
return nil if argvs.empty?
|
21
|
-
return nil unless argvs.key?('email')
|
22
|
-
return nil unless Sisimai::RFC5322.is_emailaddress(argvs['email'])
|
23
|
-
|
24
|
-
dscontents = nil
|
25
|
-
rfc822head = {}
|
26
|
-
v = nil
|
27
|
-
|
28
|
-
if argvs.key?('event')
|
29
|
-
# https://sendgrid.com/docs/API_Reference/Webhooks/event.html
|
30
|
-
# {
|
31
|
-
# 'tls' => 0,
|
32
|
-
# 'timestamp' => 1504555832,
|
33
|
-
# 'event' => 'bounce',
|
34
|
-
# 'email' => 'mailboxfull@example.jp',
|
35
|
-
# 'ip' => '192.0.2.22',
|
36
|
-
# 'sg_message_id' => '03_Wof6nRbqqzxRvLpZbfw.filter0017p3mdw1-11399-59ADB335-16.0',
|
37
|
-
# 'type' => 'blocked',
|
38
|
-
# 'sg_event_id' => 'S4wr46YHS0qr3BKhawTQjQ',
|
39
|
-
# 'reason' => '550 5.2.2 <mailboxfull@example.jp>... Mailbox Full ',
|
40
|
-
# 'smtp-id' => '<201709042010.v84KAQ5T032530@example.nyaan.jp>',
|
41
|
-
# 'status' => '5.2.2'
|
42
|
-
# },
|
43
|
-
return nil unless %w[bounce deferred delivered spamreport].include?(argvs['event'])
|
44
|
-
dscontents = [Sisimai::Bite.DELIVERYSTATUS]
|
45
|
-
diagnostic = argvs['reason'] || ''
|
46
|
-
diagnostic = argvs['response'] || '' if diagnostic.empty?
|
47
|
-
timestamp0 = Sisimai::Time.parse(::Time.at(argvs['timestamp']).to_s)
|
48
|
-
v = dscontents[-1]
|
49
|
-
|
50
|
-
v['date'] = timestamp0.strftime("%a, %d %b %Y %T %z")
|
51
|
-
v['agent'] = self.smtpagent
|
52
|
-
v['lhost'] = argvs['ip'] || ''
|
53
|
-
v['status'] = argvs['status'] || nil
|
54
|
-
v['diagnosis'] = Sisimai::String.sweep(diagnostic)
|
55
|
-
v['recipient'] = argvs['email']
|
56
|
-
|
57
|
-
if argvs['event'] == 'delivered'
|
58
|
-
# "event": "delivered"
|
59
|
-
v['reason'] = 'delivered'
|
60
|
-
elsif argvs['event'] == 'spamreport'
|
61
|
-
# [
|
62
|
-
# {
|
63
|
-
# "email": "kijitora@example.com",
|
64
|
-
# "timestamp": 1504837383,
|
65
|
-
# "sg_message_id": "6_hrAeKvTDaB5ynBI2nbnQ.filter0002p3las1-27574-59B1FDA3-19.0",
|
66
|
-
# "sg_event_id": "o70uHqbMSXOaaoveMZIjjg",
|
67
|
-
# "event": "spamreport"
|
68
|
-
# }
|
69
|
-
# ]
|
70
|
-
v['reason'] = 'feedback'
|
71
|
-
v['feedbacktype'] = 'abuse'
|
72
|
-
end
|
73
|
-
v['status'] ||= Sisimai::SMTP::Status.find(v['diagnosis']) || ''
|
74
|
-
v['replycode'] ||= Sisimai::SMTP::Reply.find(v['diagnosis']) || ''
|
75
|
-
|
76
|
-
# Generate pseudo message/rfc822 part
|
77
|
-
rfc822head = {
|
78
|
-
'from' => Sisimai::Address.undisclosed('s'),
|
79
|
-
'message-id' => v['sg_message_id'],
|
80
|
-
}
|
81
|
-
else
|
82
|
-
# {
|
83
|
-
# "status": "4.0.0",
|
84
|
-
# "created": "2011-09-16 22:02:19",
|
85
|
-
# "reason": "Unable to resolve MX host sendgrid.ne",
|
86
|
-
# "email": "esting@sendgrid.ne"
|
87
|
-
# },
|
88
|
-
dscontents = [Sisimai::Bite.DELIVERYSTATUS]
|
89
|
-
v = dscontents[-1]
|
90
|
-
|
91
|
-
v['recipient'] = argvs['email']
|
92
|
-
v['date'] = argvs['created'] || ''
|
93
|
-
|
94
|
-
statuscode = argvs['status'] || ''
|
95
|
-
diagnostic = Sisimai::String.sweep(argvs['reason']) || ''
|
96
|
-
|
97
|
-
if statuscode =~ /\A[245]\d\d\z/
|
98
|
-
# "status": "550"
|
99
|
-
v['replycode'] = statuscode
|
100
|
-
|
101
|
-
elsif statuscode =~ /\A[245][.]\d[.]\d+\z/
|
102
|
-
# "status": "5.1.1"
|
103
|
-
v['status'] = statuscode
|
104
|
-
end
|
105
|
-
|
106
|
-
v['status'] ||= Sisimai::SMTP::Status.find(diagnostic) || ''
|
107
|
-
v['replycode'] ||= Sisimai::SMTP::Reply.find(diagnostic) || ''
|
108
|
-
v['diagnosis'] = argvs['reason'] || ''
|
109
|
-
v['agent'] = self.smtpagent
|
110
|
-
|
111
|
-
# Generate pseudo message/rfc822 part
|
112
|
-
rfc822head = {
|
113
|
-
'from' => Sisimai::Address.undisclosed('s'),
|
114
|
-
'date' => v['date'],
|
115
|
-
}
|
116
|
-
end
|
117
|
-
return { 'ds' => dscontents, 'rfc822' => rfc822head }
|
118
|
-
end
|
119
|
-
|
120
|
-
end
|
121
|
-
end
|
122
|
-
end
|
123
|
-
|
@@ -1,477 +0,0 @@
|
|
1
|
-
module Sisimai
|
2
|
-
class Message
|
3
|
-
# Sisimai::Message::Email convert bounce email text to data structure. It
|
4
|
-
# resolves an email text into an UNIX From line, the header part of the mail,
|
5
|
-
# delivery status, and RFC822 header part. When the email given as a argument
|
6
|
-
# of "new" method is not a bounce email, the method returns nil.
|
7
|
-
class Email
|
8
|
-
# Imported from p5-Sisimail/lib/Sisimai/Message/Email.pm
|
9
|
-
require 'sisimai/arf'
|
10
|
-
require 'sisimai/mime'
|
11
|
-
require 'sisimai/rfc3834'
|
12
|
-
require 'sisimai/order/email'
|
13
|
-
|
14
|
-
@@ToBeLoaded = []
|
15
|
-
@@TryOnFirst = []
|
16
|
-
|
17
|
-
BorderLine = '__MIME_ENCODED_BOUNDARY__'
|
18
|
-
EndOfEmail = Sisimai::String.EOM
|
19
|
-
RFC822Head = Sisimai::RFC5322.HEADERFIELDS
|
20
|
-
RFC3834Set = Sisimai::RFC3834.headerlist
|
21
|
-
HeaderList = %w[from to date subject content-type reply-to message-id
|
22
|
-
received content-transfer-encoding return-path x-mailer]
|
23
|
-
IsMultiple = { 'received' => true }
|
24
|
-
DefaultSet = Sisimai::Order::Email.another
|
25
|
-
SubjectTab = Sisimai::Order::Email.by('subject')
|
26
|
-
ExtHeaders = Sisimai::Order::Email.headers
|
27
|
-
|
28
|
-
# Make data structure from the email message(a body part and headers)
|
29
|
-
# @param [Hash] argvs Email data
|
30
|
-
# @options argvs [String] data Entire email message
|
31
|
-
# @options argvs [Array] load User defined MTA module list
|
32
|
-
# @options argvs [Array] field Email header names to be captured
|
33
|
-
# @options argvs [Array] order The order of MTA modules
|
34
|
-
# @options argvs [Code] hook Reference to callback method
|
35
|
-
# @return [Hash] Resolved data structure
|
36
|
-
def self.make(argvs)
|
37
|
-
email = argvs['data']
|
38
|
-
|
39
|
-
hookmethod = argvs['hook'] || nil
|
40
|
-
processing = {
|
41
|
-
'from' => '', # From_ line
|
42
|
-
'header' => {}, # Email header
|
43
|
-
'rfc822' => '', # Original message part
|
44
|
-
'ds' => [], # Parsed data, Delivery Status
|
45
|
-
'catch' => nil, # Data parsed by callback method
|
46
|
-
}
|
47
|
-
methodargv = {
|
48
|
-
'load' => argvs['load'] || [],
|
49
|
-
'order' => argvs['order'] || []
|
50
|
-
}
|
51
|
-
tobeloaded = Sisimai::Message::Email.load(methodargv)
|
52
|
-
|
53
|
-
# 1. Split email data to headers and a body part.
|
54
|
-
return nil unless aftersplit = Sisimai::Message::Email.divideup(email)
|
55
|
-
|
56
|
-
# 2. Convert email headers from text to hash reference
|
57
|
-
headerargv = {
|
58
|
-
'extheaders' => ExtHeaders,
|
59
|
-
'tryonfirst' => [],
|
60
|
-
'extrafield' => argvs['field'] || [],
|
61
|
-
}
|
62
|
-
processing['from'] = aftersplit['from']
|
63
|
-
processing['header'] = Sisimai::Message::Email.headers(aftersplit['header'], headerargv)
|
64
|
-
|
65
|
-
# 3. Check headers for detecting MTA modules
|
66
|
-
if headerargv['tryonfirst'].empty?
|
67
|
-
headerargv['tryonfirst'] += Sisimai::Message::Email.makeorder(processing['header'])
|
68
|
-
end
|
69
|
-
|
70
|
-
# 4. Rewrite message body for detecting the bounce reason
|
71
|
-
methodargv = {
|
72
|
-
'hook' => hookmethod,
|
73
|
-
'mail' => processing,
|
74
|
-
'body' => aftersplit['body'],
|
75
|
-
'tryonfirst' => headerargv['tryonfirst'],
|
76
|
-
'tobeloaded' => tobeloaded,
|
77
|
-
}
|
78
|
-
return nil unless bouncedata = Sisimai::Message::Email.parse(methodargv)
|
79
|
-
return nil if bouncedata.empty?
|
80
|
-
processing['ds'] = bouncedata['ds']
|
81
|
-
processing['catch'] = bouncedata['catch']
|
82
|
-
|
83
|
-
# 5. Rewrite headers of the original message in the body part
|
84
|
-
rfc822part = bouncedata['rfc822']
|
85
|
-
rfc822part = aftersplit['body'] if rfc822part.empty?
|
86
|
-
|
87
|
-
processing['rfc822'] = if rfc822part.is_a? ::String
|
88
|
-
# The value returned from Sisimai::Bite::Email::* modules
|
89
|
-
Sisimai::Message::Email.takeapart(rfc822part)
|
90
|
-
else
|
91
|
-
# The value returned from Sisimai::Bite::JSON::* modules
|
92
|
-
rfc822part
|
93
|
-
end
|
94
|
-
return processing
|
95
|
-
end
|
96
|
-
|
97
|
-
# Load MTA modules which specified at 'order' and 'load' in the argument
|
98
|
-
# @param [Hash] argvs Module information to be loaded
|
99
|
-
# @options argvs [Array] load User defined MTA module list
|
100
|
-
# @options argvs [Array] order The order of MTA modules
|
101
|
-
# @return [Array] Module list
|
102
|
-
# @since v4.20.0
|
103
|
-
def self.load(argvs)
|
104
|
-
modulelist = []
|
105
|
-
tobeloaded = []
|
106
|
-
|
107
|
-
%w[load order].each do |e|
|
108
|
-
# The order of MTA modules specified by user
|
109
|
-
next unless argvs.key?(e)
|
110
|
-
next unless argvs[e].is_a? Array
|
111
|
-
next if argvs[e].empty?
|
112
|
-
|
113
|
-
modulelist += argvs['order'] if e == 'order'
|
114
|
-
next unless e == 'load'
|
115
|
-
|
116
|
-
# Load user defined MTA module
|
117
|
-
argvs['load'].each do |v|
|
118
|
-
# Load user defined MTA module
|
119
|
-
begin
|
120
|
-
require v.to_s.gsub('::', '/').downcase
|
121
|
-
rescue LoadError
|
122
|
-
warn ' ***warning: Failed to load ' << v
|
123
|
-
next
|
124
|
-
end
|
125
|
-
|
126
|
-
Module.const_get(v).headerlist.each do |w|
|
127
|
-
# Get header name which required user defined MTA module
|
128
|
-
ExtHeaders[w] ||= {}
|
129
|
-
ExtHeaders[w][v] = 1
|
130
|
-
end
|
131
|
-
tobeloaded << v
|
132
|
-
end
|
133
|
-
end
|
134
|
-
|
135
|
-
while e = modulelist.shift do
|
136
|
-
# Append the custom order of MTA modules
|
137
|
-
next if tobeloaded.index(e)
|
138
|
-
tobeloaded << e
|
139
|
-
end
|
140
|
-
|
141
|
-
return tobeloaded
|
142
|
-
end
|
143
|
-
|
144
|
-
# Divide email data up headers and a body part.
|
145
|
-
# @param [String] email Email data
|
146
|
-
# @return [Hash] Email data after split
|
147
|
-
def self.divideup(email)
|
148
|
-
return nil if email.empty?
|
149
|
-
|
150
|
-
block = { 'from' => '', 'header' => '', 'body' => '' }
|
151
|
-
email.scrub!('?')
|
152
|
-
email.gsub!(/\r\n/, "\n") if email.include?("\r\n")
|
153
|
-
email.gsub!(/[ \t]+$/, '') if email =~ /[ \t]+$/
|
154
|
-
|
155
|
-
(block['header'], block['body']) = email.split(/\n\n/, 2)
|
156
|
-
return nil unless block['header']
|
157
|
-
return nil unless block['body']
|
158
|
-
|
159
|
-
if block['header'][0, 5] == 'From '
|
160
|
-
# From MAILER-DAEMON Tue Feb 11 00:00:00 2014
|
161
|
-
block['from'] = block['header'].split(/\n/, 2)[0].delete("\r")
|
162
|
-
else
|
163
|
-
# Set pseudo UNIX From line
|
164
|
-
block['from'] = 'MAILER-DAEMON Tue Feb 11 00:00:00 2014'
|
165
|
-
end
|
166
|
-
|
167
|
-
block['body'] << "\n"
|
168
|
-
return block
|
169
|
-
end
|
170
|
-
|
171
|
-
# Convert email headers from text to hash reference
|
172
|
-
# @param [String] heads Email header data
|
173
|
-
# @param [Hash] argvs
|
174
|
-
# @param options extheaders [Array] External header table
|
175
|
-
# @return [Hash] Structured email header data
|
176
|
-
def self.headers(heads, argvs = {})
|
177
|
-
return nil unless heads
|
178
|
-
|
179
|
-
currheader = ''
|
180
|
-
allheaders = {}
|
181
|
-
structured = {}
|
182
|
-
extheaders = argvs['extheaders'] || []
|
183
|
-
extrafield = argvs['extrafield'] || []
|
184
|
-
hasdivided = heads.split("\n")
|
185
|
-
|
186
|
-
HeaderList.each { |e| structured[e] = nil }
|
187
|
-
HeaderList.each { |e| allheaders[e] = true }
|
188
|
-
RFC3834Set.each { |e| allheaders[e] = true }
|
189
|
-
IsMultiple.each_key { |e| structured[e] = [] }
|
190
|
-
extheaders.each_key { |e| allheaders[e] = true }
|
191
|
-
unless extrafield.empty?
|
192
|
-
extrafield.each { |e| allheaders[e] = true }
|
193
|
-
end
|
194
|
-
|
195
|
-
while e = hasdivided.shift do
|
196
|
-
# Convert email headers to hash
|
197
|
-
if cv = e.match(/\A[ \t]+(.+)\z/)
|
198
|
-
# Continued (foled) header value from the previous line
|
199
|
-
next unless allheaders.key?(currheader)
|
200
|
-
|
201
|
-
# Header line continued from the previous line
|
202
|
-
if structured[currheader].is_a? Array
|
203
|
-
# Concatenate a header which have multi-lines such as 'Received'
|
204
|
-
structured[currheader][-1] << ' ' << cv[1]
|
205
|
-
else
|
206
|
-
structured[currheader] ||= ''
|
207
|
-
structured[currheader] << ' ' << cv[1]
|
208
|
-
end
|
209
|
-
else
|
210
|
-
# split the line into a header name and a header content
|
211
|
-
(lhs, rhs) = e.split(/:[ ]*/, 2)
|
212
|
-
currheader = lhs ? lhs.downcase : ''
|
213
|
-
next unless allheaders.key?(currheader)
|
214
|
-
|
215
|
-
if IsMultiple.key?(currheader)
|
216
|
-
# Such as 'Received' header, there are multiple headers in a single
|
217
|
-
# email message.
|
218
|
-
#rhs = rhs.tr("\t", ' ').squeeze(' ')
|
219
|
-
rhs = rhs.tr("\t", ' ')
|
220
|
-
structured[currheader] << rhs
|
221
|
-
else
|
222
|
-
# Other headers except "Received" and so on
|
223
|
-
if extheaders[currheader]
|
224
|
-
# MTA specific header
|
225
|
-
extheaders[currheader].each do |r|
|
226
|
-
next if argvs['tryonfirst'].index(r)
|
227
|
-
argvs['tryonfirst'] << r
|
228
|
-
end
|
229
|
-
end
|
230
|
-
structured[currheader] = rhs
|
231
|
-
end
|
232
|
-
end
|
233
|
-
end
|
234
|
-
return structured
|
235
|
-
end
|
236
|
-
|
237
|
-
# Check headers for detecting MTA module and returns the order of modules
|
238
|
-
# @param [Hash] heads Email header data
|
239
|
-
# @return [Array] Order of MTA modules
|
240
|
-
def self.makeorder(heads)
|
241
|
-
return [] unless heads
|
242
|
-
return [] unless heads['subject']
|
243
|
-
return [] if heads['subject'].empty?
|
244
|
-
order = []
|
245
|
-
|
246
|
-
# Try to match the value of "Subject" with patterns generated by
|
247
|
-
# Sisimai::Order->by('subject') method
|
248
|
-
title = heads['subject'].downcase
|
249
|
-
SubjectTab.each_key do |e|
|
250
|
-
# Get MTA list from the subject header
|
251
|
-
next unless title.include?(e)
|
252
|
-
order += SubjectTab[e] # Matched and push MTA list
|
253
|
-
break
|
254
|
-
end
|
255
|
-
return order
|
256
|
-
end
|
257
|
-
|
258
|
-
# Take each email header in the original message apart
|
259
|
-
# @param [String] heads The original message header
|
260
|
-
# @return [Hash] Structured message headers
|
261
|
-
def self.takeapart(heads)
|
262
|
-
return {} unless heads
|
263
|
-
|
264
|
-
# 1. Scrub to avoid "invalid byte sequence in UTF-8" exception (#82)
|
265
|
-
# 2. Convert from string to hash reference
|
266
|
-
heads = heads.scrub('?').gsub(/^[>]+[ ]/m, '').gsub(/=[ ]+=/, "=\n =")
|
267
|
-
|
268
|
-
previousfn = '' # Previous field name
|
269
|
-
asciiarmor = {} # Header names which has MIME encoded value
|
270
|
-
headerpart = {} # Required headers in the original message part
|
271
|
-
hasdivided = heads.split("\n")
|
272
|
-
|
273
|
-
while e = hasdivided.shift do
|
274
|
-
# Header name as a key, The value of header as a value
|
275
|
-
if e.start_with?(' ', "\t")
|
276
|
-
# Continued (foled) header value from the previous line
|
277
|
-
next if previousfn.empty?
|
278
|
-
|
279
|
-
# Concatenate the line if it is the value of required header
|
280
|
-
if Sisimai::MIME.is_mimeencoded(e)
|
281
|
-
# The line is MIME-Encoded test
|
282
|
-
headerpart[previousfn] << if previousfn == 'subject'
|
283
|
-
# Subject: header
|
284
|
-
BorderLine + e
|
285
|
-
else
|
286
|
-
# Is not Subject header
|
287
|
-
e
|
288
|
-
end
|
289
|
-
asciiarmor[previousfn] = true
|
290
|
-
else
|
291
|
-
# ASCII Characters only: Not MIME-Encoded
|
292
|
-
headerpart[previousfn] << e.lstrip
|
293
|
-
asciiarmor[previousfn] ||= false
|
294
|
-
end
|
295
|
-
else
|
296
|
-
# Header name as a key, The value of header as a value
|
297
|
-
(lhs, rhs) = e.split(/:[ ]*/, 2)
|
298
|
-
next unless lhs
|
299
|
-
lhs.downcase!
|
300
|
-
previousfn = ''
|
301
|
-
|
302
|
-
next unless RFC822Head.key?(lhs)
|
303
|
-
previousfn = lhs
|
304
|
-
headerpart[previousfn] = rhs unless headerpart[previousfn]
|
305
|
-
end
|
306
|
-
end
|
307
|
-
return headerpart unless headerpart['subject']
|
308
|
-
|
309
|
-
# Convert MIME-Encoded subject
|
310
|
-
if Sisimai::String.is_8bit(headerpart['subject'])
|
311
|
-
# The value of ``Subject'' header is including multibyte character,
|
312
|
-
# is not MIME-Encoded text.
|
313
|
-
headerpart['subject'] = 'MULTIBYTE CHARACTERS HAVE BEEN REMOVED'
|
314
|
-
else
|
315
|
-
# MIME-Encoded subject field or ASCII characters only
|
316
|
-
r = []
|
317
|
-
if asciiarmor['subject']
|
318
|
-
# split the value of Subject by borderline
|
319
|
-
headerpart['subject'].split(BorderLine).each do |v|
|
320
|
-
# Insert value to the array if the string is MIME encoded text
|
321
|
-
r << v if Sisimai::MIME.is_mimeencoded(v)
|
322
|
-
end
|
323
|
-
else
|
324
|
-
# Subject line is not MIME encoded
|
325
|
-
r << headerpart['subject']
|
326
|
-
end
|
327
|
-
headerpart['subject'] = Sisimai::MIME.mimedecode(r)
|
328
|
-
end
|
329
|
-
return headerpart
|
330
|
-
end
|
331
|
-
|
332
|
-
# @abstract Parse bounce mail with each MTA module
|
333
|
-
# @param [Hash] argvs Processing message entity.
|
334
|
-
# @param options argvs [Hash] mail Email message entity
|
335
|
-
# @param options mail [String] from From line of mbox
|
336
|
-
# @param options mail [Hash] header Email header data
|
337
|
-
# @param options mail [String] rfc822 Original message part
|
338
|
-
# @param options mail [Array] ds Delivery status list(parsed data)
|
339
|
-
# @param options argvs [String] body Email message body
|
340
|
-
# @param options argvs [Array] tryonfirst MTA module list to load on first
|
341
|
-
# @param options argvs [Array] tobeloaded User defined MTA module list
|
342
|
-
# @return [Hash] Parsed and structured bounce mails
|
343
|
-
def self.parse(argvs)
|
344
|
-
mesgentity = argvs['mail']
|
345
|
-
bodystring = argvs['body']
|
346
|
-
hookmethod = argvs['hook'] || nil
|
347
|
-
havecaught = nil
|
348
|
-
tryonfirst = argvs['tryonfirst'] || []
|
349
|
-
tobeloaded = argvs['tobeloaded'] || []
|
350
|
-
mailheader = mesgentity['header']
|
351
|
-
|
352
|
-
return nil unless argvs['mail']
|
353
|
-
return nil unless argvs['body']
|
354
|
-
|
355
|
-
# PRECHECK_EACH_HEADER:
|
356
|
-
# Set empty string if the value is nil
|
357
|
-
mailheader['from'] ||= ''
|
358
|
-
mailheader['subject'] ||= ''
|
359
|
-
mailheader['content-type'] ||= ''
|
360
|
-
|
361
|
-
# Decode BASE64 Encoded message body, rewrite.
|
362
|
-
mesgformat = (mailheader['content-type'] || '').downcase
|
363
|
-
ctencoding = (mailheader['content-transfer-encoding'] || '').downcase
|
364
|
-
|
365
|
-
if mesgformat.start_with?('text/plain', 'text/html')
|
366
|
-
# Content-Type: text/plain; charset=UTF-8
|
367
|
-
if ctencoding == 'base64'
|
368
|
-
# Content-Transfer-Encoding: base64
|
369
|
-
bodystring = Sisimai::MIME.base64d(bodystring)
|
370
|
-
|
371
|
-
elsif ctencoding == 'quoted-printable'
|
372
|
-
# Content-Transfer-Encoding: quoted-printable
|
373
|
-
bodystring = Sisimai::MIME.qprintd(bodystring)
|
374
|
-
end
|
375
|
-
|
376
|
-
if mesgformat.start_with?('text/html;')
|
377
|
-
# Content-Type: text/html;...
|
378
|
-
bodystring = Sisimai::String.to_plain(bodystring, true)
|
379
|
-
end
|
380
|
-
else
|
381
|
-
# NOT text/plain
|
382
|
-
if mesgformat.start_with?('multipart/')
|
383
|
-
# In case of Content-Type: multipart/*
|
384
|
-
p = Sisimai::MIME.makeflat(mailheader['content-type'], bodystring)
|
385
|
-
bodystring = p unless p.empty?
|
386
|
-
end
|
387
|
-
end
|
388
|
-
|
389
|
-
# EXPAND_FORWARDED_MESSAGE:
|
390
|
-
# Check whether or not the message is a bounce mail.
|
391
|
-
# Pre-Process email body if it is a forwarded bounce message.
|
392
|
-
# Get the original text when the subject begins from 'fwd:' or 'fw:'
|
393
|
-
if mailheader['subject'].downcase =~ /\A[ \t]*fwd?:/
|
394
|
-
# Delete quoted strings, quote symbols(>)
|
395
|
-
bodystring = bodystring.gsub(/^[>]+[ ]/m, '').gsub(/^[>]$/m, '')
|
396
|
-
elsif Sisimai::MIME.is_mimeencoded(mailheader['subject'])
|
397
|
-
# Decode MIME-Encoded "Subject:" header
|
398
|
-
mailheader['subject'] = Sisimai::MIME.mimedecode(mailheader['subject'].split(/[ ]/))
|
399
|
-
mailheader['subject'].scrub!('?')
|
400
|
-
end
|
401
|
-
bodystring = bodystring.scrub('?').delete("\r")
|
402
|
-
|
403
|
-
if hookmethod.is_a? Proc
|
404
|
-
# Call the hook method
|
405
|
-
begin
|
406
|
-
p = {
|
407
|
-
'datasrc' => 'email',
|
408
|
-
'headers' => mailheader,
|
409
|
-
'message' => bodystring,
|
410
|
-
'bounces' => nil
|
411
|
-
}
|
412
|
-
havecaught = hookmethod.call(p)
|
413
|
-
rescue StandardError => ce
|
414
|
-
warn ' ***warning: Something is wrong in hook method :' << ce.to_s
|
415
|
-
end
|
416
|
-
end
|
417
|
-
|
418
|
-
bodystring << EndOfEmail
|
419
|
-
haveloaded = {}
|
420
|
-
scannedset = nil
|
421
|
-
|
422
|
-
catch :SCANNER do
|
423
|
-
while true
|
424
|
-
# 1. Sisimai::ARF
|
425
|
-
# 2. User-Defined Module
|
426
|
-
# 3. MTA Module Candidates to be tried on first
|
427
|
-
# 4. Sisimai::Bite::Email::*
|
428
|
-
# 5. Sisimai::RFC3464
|
429
|
-
# 6. Sisimai::RFC3834
|
430
|
-
if Sisimai::ARF.is_arf(mailheader)
|
431
|
-
# Feedback Loop message
|
432
|
-
scannedset = Sisimai::ARF.scan(mailheader, bodystring)
|
433
|
-
throw :SCANNER if scannedset
|
434
|
-
end
|
435
|
-
|
436
|
-
while r = tobeloaded.shift do
|
437
|
-
# Call user defined MTA modules
|
438
|
-
next if haveloaded[r]
|
439
|
-
scannedset = Module.const_get(r).scan(mailheader, bodystring)
|
440
|
-
haveloaded[r] = true
|
441
|
-
throw :SCANNER if scannedset
|
442
|
-
end
|
443
|
-
|
444
|
-
tryonfirst.concat(DefaultSet)
|
445
|
-
while r = tryonfirst.shift do
|
446
|
-
# Try MTA module candidates
|
447
|
-
next if haveloaded.key?(r)
|
448
|
-
require r.gsub('::', '/').downcase
|
449
|
-
scannedset = Module.const_get(r).scan(mailheader, bodystring)
|
450
|
-
haveloaded[r] = true
|
451
|
-
throw :SCANNER if scannedset
|
452
|
-
end
|
453
|
-
|
454
|
-
# When the all of Sisimai::Bite::Email::* modules did not return
|
455
|
-
# bounce data, call Sisimai::RFC3464;
|
456
|
-
require 'sisimai/rfc3464'
|
457
|
-
scannedset = Sisimai::RFC3464.scan(mailheader, bodystring)
|
458
|
-
break if scannedset
|
459
|
-
|
460
|
-
# Try to parse the message as auto reply message defined in RFC3834
|
461
|
-
require 'sisimai/rfc3834'
|
462
|
-
scannedset = Sisimai::RFC3834.scan(mailheader, bodystring)
|
463
|
-
break if scannedset
|
464
|
-
|
465
|
-
# as of now, we have no sample email for coding this block
|
466
|
-
break
|
467
|
-
end
|
468
|
-
end
|
469
|
-
|
470
|
-
scannedset['catch'] = havecaught if scannedset
|
471
|
-
return scannedset
|
472
|
-
end
|
473
|
-
|
474
|
-
end
|
475
|
-
end
|
476
|
-
end
|
477
|
-
|