sisimai 4.21.1-java → 4.22.0-java
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sisimai might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/ANALYTICAL-PRECISION +56 -56
- data/ChangeLog.md +16 -0
- data/Developers.mk +15 -33
- data/LICENSE +1 -1
- data/README-JA.md +11 -11
- data/README.md +11 -11
- data/fig/sisimai-architecture.png +0 -0
- data/lib/sisimai.rb +4 -4
- data/lib/sisimai/address.rb +254 -5
- data/lib/sisimai/arf.rb +6 -6
- data/lib/sisimai/bite.rb +37 -0
- data/lib/sisimai/bite/email.rb +53 -0
- data/lib/sisimai/bite/email/activehunter.rb +124 -0
- data/lib/sisimai/bite/email/amazonses.rb +247 -0
- data/lib/sisimai/bite/email/amazonworkmail.rb +192 -0
- data/lib/sisimai/bite/email/aol.rb +208 -0
- data/lib/sisimai/bite/email/apachejames.rb +169 -0
- data/lib/sisimai/bite/email/bigfoot.rb +207 -0
- data/lib/sisimai/bite/email/biglobe.rb +148 -0
- data/lib/sisimai/bite/email/courier.rb +265 -0
- data/lib/sisimai/bite/email/domino.rb +174 -0
- data/lib/sisimai/bite/email/einsundeins.rb +143 -0
- data/lib/sisimai/bite/email/exchange2003.rb +284 -0
- data/lib/sisimai/bite/email/exchange2007.rb +178 -0
- data/lib/sisimai/bite/email/exim.rb +522 -0
- data/lib/sisimai/bite/email/ezweb.rb +260 -0
- data/lib/sisimai/bite/email/facebook.rb +274 -0
- data/lib/sisimai/bite/email/gmx.rb +167 -0
- data/lib/sisimai/bite/email/google.rb +320 -0
- data/lib/sisimai/bite/email/gsuite.rb +273 -0
- data/lib/sisimai/bite/email/imailserver.rb +181 -0
- data/lib/sisimai/bite/email/interscanmss.rb +146 -0
- data/lib/sisimai/bite/email/kddi.rb +166 -0
- data/lib/sisimai/bite/email/mailfoundry.rb +133 -0
- data/lib/sisimai/bite/email/mailmarshalsmtp.rb +173 -0
- data/lib/sisimai/bite/email/mailru.rb +271 -0
- data/lib/sisimai/bite/email/mcafee.rb +169 -0
- data/lib/sisimai/bite/email/messagelabs.rb +213 -0
- data/lib/sisimai/bite/email/messagingserver.rb +206 -0
- data/lib/sisimai/bite/email/mfilter.rb +165 -0
- data/lib/sisimai/bite/email/mxlogic.rb +253 -0
- data/lib/sisimai/bite/email/notes.rb +181 -0
- data/lib/sisimai/bite/email/office365.rb +262 -0
- data/lib/sisimai/bite/email/opensmtpd.rb +192 -0
- data/lib/sisimai/bite/email/outlook.rb +207 -0
- data/lib/sisimai/bite/email/postfix.rb +310 -0
- data/lib/sisimai/bite/email/qmail.rb +304 -0
- data/lib/sisimai/bite/email/receivingses.rb +221 -0
- data/lib/sisimai/bite/email/sendgrid.rb +223 -0
- data/lib/sisimai/bite/email/sendmail.rb +290 -0
- data/lib/sisimai/bite/email/surfcontrol.rb +162 -0
- data/lib/sisimai/bite/email/userdefined.rb +129 -0
- data/lib/sisimai/bite/email/v5sendmail.rb +208 -0
- data/lib/sisimai/bite/email/verizon.rb +265 -0
- data/lib/sisimai/bite/email/x1.rb +124 -0
- data/lib/sisimai/bite/email/x2.rb +125 -0
- data/lib/sisimai/bite/email/x3.rb +141 -0
- data/lib/sisimai/bite/email/x4.rb +325 -0
- data/lib/sisimai/bite/email/x5.rb +178 -0
- data/lib/sisimai/bite/email/yahoo.rb +148 -0
- data/lib/sisimai/bite/email/yandex.rb +204 -0
- data/lib/sisimai/bite/email/zoho.rb +167 -0
- data/lib/sisimai/bite/json.rb +38 -0
- data/lib/sisimai/bite/json/amazonses.rb +255 -0
- data/lib/sisimai/bite/json/sendgrid.rb +79 -0
- data/lib/sisimai/ced.rb +30 -6
- data/lib/sisimai/data.rb +5 -5
- data/lib/sisimai/message.rb +6 -6
- data/lib/sisimai/message/email.rb +12 -11
- data/lib/sisimai/message/json.rb +20 -19
- data/lib/sisimai/msp.rb +15 -3
- data/lib/sisimai/mta.rb +15 -3
- data/lib/sisimai/order.rb +1 -1
- data/lib/sisimai/order/email.rb +113 -119
- data/lib/sisimai/order/json.rb +11 -10
- data/lib/sisimai/reason.rb +5 -4
- data/lib/sisimai/reason/policyviolation.rb +64 -0
- data/lib/sisimai/reason/securityerror.rb +13 -23
- data/lib/sisimai/reason/spamdetected.rb +1 -0
- data/lib/sisimai/reason/syntaxerror.rb +1 -0
- data/lib/sisimai/reason/virusdetected.rb +56 -0
- data/lib/sisimai/rfc3464.rb +8 -8
- data/lib/sisimai/rfc3834.rb +2 -2
- data/lib/sisimai/rfc5322.rb +1 -1
- data/lib/sisimai/skeleton.rb +1 -1
- data/lib/sisimai/smtp/error.rb +3 -3
- data/lib/sisimai/smtp/status.rb +26 -24
- data/lib/sisimai/version.rb +1 -1
- data/set-of-emails/README.md +1 -0
- data/set-of-emails/{jsonapi/ced-us-amazonses-01.json → jsonobj/json-amazonses-01.json} +0 -0
- data/set-of-emails/{jsonapi/ced-us-amazonses-02.json → jsonobj/json-amazonses-02.json} +0 -0
- data/set-of-emails/{jsonapi/ced-us-amazonses-03.json → jsonobj/json-amazonses-03.json} +0 -0
- data/set-of-emails/{jsonapi/ced-us-amazonses-04.json → jsonobj/json-amazonses-04.json} +0 -0
- data/set-of-emails/{jsonapi/ced-us-amazonses-05.json → jsonobj/json-amazonses-05.json} +0 -0
- data/set-of-emails/{jsonapi/ced-us-sendgrid-01.json → jsonobj/json-sendgrid-01.json} +0 -0
- data/set-of-emails/{jsonapi/ced-us-sendgrid-02.json → jsonobj/json-sendgrid-02.json} +0 -0
- data/set-of-emails/{jsonapi/ced-us-sendgrid-03.json → jsonobj/json-sendgrid-03.json} +0 -0
- data/set-of-emails/{jsonapi/ced-us-sendgrid-04.json → jsonobj/json-sendgrid-04.json} +0 -0
- data/set-of-emails/{jsonapi/ced-us-sendgrid-05.json → jsonobj/json-sendgrid-05.json} +0 -0
- data/set-of-emails/{jsonapi/ced-us-sendgrid-06.json → jsonobj/json-sendgrid-06.json} +0 -0
- data/set-of-emails/{jsonapi/ced-us-sendgrid-07.json → jsonobj/json-sendgrid-07.json} +0 -0
- data/set-of-emails/{jsonapi/ced-us-sendgrid-08.json → jsonobj/json-sendgrid-08.json} +0 -0
- data/set-of-emails/{jsonapi/ced-us-sendgrid-09.json → jsonobj/json-sendgrid-09.json} +0 -0
- data/set-of-emails/{jsonapi/ced-us-sendgrid-10.json → jsonobj/json-sendgrid-10.json} +0 -0
- data/set-of-emails/{jsonapi/ced-us-sendgrid-11.json → jsonobj/json-sendgrid-11.json} +0 -0
- data/set-of-emails/maildir/bsd/README.md +25 -17
- data/set-of-emails/maildir/bsd/{mta-activehunter-01.eml → email-activehunter-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-activehunter-02.eml → email-activehunter-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-amazonses-01.eml → email-amazonses-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-amazonses-02.eml → email-amazonses-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-amazonses-03.eml → email-amazonses-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-amazonses-04.eml → email-amazonses-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-amazonses-05.eml → email-amazonses-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-amazonses-06.eml → email-amazonses-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-amazonses-07.eml → email-amazonses-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-amazonses-08.eml → email-amazonses-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{ced-us-amazonses-01.eml → email-amazonses-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{ced-us-amazonses-02.eml → email-amazonses-10.eml} +0 -0
- data/set-of-emails/maildir/bsd/{ced-us-amazonses-03.eml → email-amazonses-11.eml} +0 -0
- data/set-of-emails/maildir/bsd/{ced-us-amazonses-04.eml → email-amazonses-12.eml} +0 -0
- data/set-of-emails/maildir/bsd/{ced-us-amazonses-05.eml → email-amazonses-13.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-amazonworkmail-01.eml → email-amazonworkmail-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-amazonworkmail-02.eml → email-amazonworkmail-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-amazonworkmail-03.eml → email-amazonworkmail-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-amazonworkmail-04.eml → email-amazonworkmail-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-amazonworkmail-05.eml → email-amazonworkmail-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-amazonworkmail-06.eml → email-amazonworkmail-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-amazonworkmail-07.eml → email-amazonworkmail-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-aol-01.eml → email-aol-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-aol-02.eml → email-aol-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-aol-03.eml → email-aol-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-aol-04.eml → email-aol-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-aol-05.eml → email-aol-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-aol-06.eml → email-aol-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-apachejames-01.eml → email-apachejames-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-bigfoot-01.eml → email-bigfoot-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-jp-biglobe-01.eml → email-biglobe-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-courier-01.eml → email-courier-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-courier-02.eml → email-courier-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-courier-03.eml → email-courier-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-courier-04.eml → email-courier-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-domino-01.eml → email-domino-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-domino-02.eml → email-domino-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-de-einsundeins-01.eml → email-einsundeins-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exchange2003-01.eml → email-exchange2003-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exchange2003-02.eml → email-exchange2003-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exchange2003-03.eml → email-exchange2003-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exchange2003-04.eml → email-exchange2003-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exchange2003-05.eml → email-exchange2003-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exchange2003-06.eml → email-exchange2003-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exchange2007-01.eml → email-exchange2007-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exchange2007-02.eml → email-exchange2007-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exchange2007-03.eml → email-exchange2007-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-01.eml → email-exim-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-02.eml → email-exim-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-03.eml → email-exim-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-04.eml → email-exim-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-05.eml → email-exim-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-06.eml → email-exim-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-07.eml → email-exim-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-08.eml → email-exim-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-09.eml → email-exim-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-10.eml → email-exim-10.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-11.eml → email-exim-11.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-12.eml → email-exim-12.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-13.eml → email-exim-13.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-14.eml → email-exim-14.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-15.eml → email-exim-15.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-16.eml → email-exim-16.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-17.eml → email-exim-17.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-18.eml → email-exim-18.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-19.eml → email-exim-19.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-20.eml → email-exim-20.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-21.eml → email-exim-21.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-22.eml → email-exim-22.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-23.eml → email-exim-23.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-24.eml → email-exim-24.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-25.eml → email-exim-25.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-26.eml → email-exim-26.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-27.eml → email-exim-27.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-28.eml → email-exim-28.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-29.eml → email-exim-29.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-exim-30.eml → email-exim-30.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-jp-ezweb-01.eml → email-ezweb-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-jp-ezweb-02.eml → email-ezweb-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-jp-ezweb-03.eml → email-ezweb-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-jp-ezweb-04.eml → email-ezweb-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-jp-ezweb-05.eml → email-ezweb-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-jp-ezweb-06.eml → email-ezweb-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-facebook-01.eml → email-facebook-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-facebook-02.eml → email-facebook-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-de-gmx-01.eml → email-gmx-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-de-gmx-02.eml → email-gmx-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-de-gmx-03.eml → email-gmx-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-de-gmx-04.eml → email-gmx-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-01.eml → email-google-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-02.eml → email-google-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-03.eml → email-google-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-04.eml → email-google-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-05.eml → email-google-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-06.eml → email-google-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-07.eml → email-google-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-08.eml → email-google-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-09.eml → email-google-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-10.eml → email-google-10.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-11.eml → email-google-11.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-12.eml → email-google-12.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-13.eml → email-google-13.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-14.eml → email-google-14.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-15.eml → email-google-15.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-16.eml → email-google-16.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-google-17.eml → email-google-17.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-gsuite-01.eml → email-gsuite-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-gsuite-02.eml → email-gsuite-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-gsuite-03.eml → email-gsuite-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-gsuite-04.eml → email-gsuite-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-gsuite-05.eml → email-gsuite-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-gsuite-06.eml → email-gsuite-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-gsuite-07.eml → email-gsuite-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-imailserver-01.eml → email-imailserver-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-imailserver-02.eml → email-imailserver-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-imailserver-03.eml → email-imailserver-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-imailserver-04.eml → email-imailserver-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-imailserver-05.eml → email-imailserver-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-imailserver-06.eml → email-imailserver-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-interscanmss-01.eml → email-interscanmss-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-interscanmss-02.eml → email-interscanmss-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-jp-kddi-01.eml → email-kddi-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-jp-kddi-02.eml → email-kddi-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-jp-kddi-03.eml → email-kddi-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-mailfoundry-01.eml → email-mailfoundry-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-mailfoundry-02.eml → email-mailfoundry-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-mailmarshalsmtp-01.eml → email-mailmarshalsmtp-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-ru-mailru-01.eml → email-mailru-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-ru-mailru-02.eml → email-mailru-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-ru-mailru-03.eml → email-mailru-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-ru-mailru-04.eml → email-mailru-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-ru-mailru-05.eml → email-mailru-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-ru-mailru-06.eml → email-mailru-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-mcafee-01.eml → email-mcafee-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-mcafee-02.eml → email-mcafee-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-mcafee-03.eml → email-mcafee-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-uk-messagelabs-01.eml → email-messagelabs-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-messagingserver-01.eml → email-messagingserver-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-messagingserver-02.eml → email-messagingserver-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-messagingserver-03.eml → email-messagingserver-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-messagingserver-04.eml → email-messagingserver-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-messagingserver-05.eml → email-messagingserver-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-messagingserver-06.eml → email-messagingserver-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-messagingserver-07.eml → email-messagingserver-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-mfilter-01.eml → email-mfilter-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-mfilter-02.eml → email-mfilter-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-mfilter-03.eml → email-mfilter-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-mxlogic-01.eml → email-mxlogic-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-mxlogic-02.eml → email-mxlogic-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-mxlogic-03.eml → email-mxlogic-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-notes-01.eml → email-notes-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-notes-02.eml → email-notes-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-notes-03.eml → email-notes-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-notes-04.eml → email-notes-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-office365-01.eml → email-office365-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-office365-02.eml → email-office365-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-opensmtpd-01.eml → email-opensmtpd-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-opensmtpd-02.eml → email-opensmtpd-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-opensmtpd-03.eml → email-opensmtpd-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-opensmtpd-04.eml → email-opensmtpd-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-opensmtpd-05.eml → email-opensmtpd-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-opensmtpd-06.eml → email-opensmtpd-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-outlook-01.eml → email-outlook-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-outlook-02.eml → email-outlook-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-outlook-03.eml → email-outlook-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-outlook-04.eml → email-outlook-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-outlook-05.eml → email-outlook-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-outlook-06.eml → email-outlook-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-outlook-07.eml → email-outlook-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-01.eml → email-postfix-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-02.eml → email-postfix-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-03.eml → email-postfix-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-04.eml → email-postfix-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-05.eml → email-postfix-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-06.eml → email-postfix-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-07.eml → email-postfix-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-08.eml → email-postfix-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-09.eml → email-postfix-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-10.eml → email-postfix-10.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-11.eml → email-postfix-11.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-12.eml → email-postfix-12.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-13.eml → email-postfix-13.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-14.eml → email-postfix-14.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-15.eml → email-postfix-15.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-16.eml → email-postfix-16.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-17.eml → email-postfix-17.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-18.eml → email-postfix-18.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-19.eml → email-postfix-19.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-20.eml → email-postfix-20.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-21.eml → email-postfix-21.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-22.eml → email-postfix-22.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-23.eml → email-postfix-23.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-24.eml → email-postfix-24.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-25.eml → email-postfix-25.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-26.eml → email-postfix-26.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-27.eml → email-postfix-27.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-28.eml → email-postfix-28.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-postfix-29.eml → email-postfix-29.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-qmail-01.eml → email-qmail-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-qmail-02.eml → email-qmail-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-qmail-03.eml → email-qmail-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-qmail-04.eml → email-qmail-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-qmail-05.eml → email-qmail-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-qmail-06.eml → email-qmail-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-qmail-07.eml → email-qmail-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-qmail-08.eml → email-qmail-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-qmail-09.eml → email-qmail-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-qmail-10.eml → email-qmail-10.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-qmail-11.eml → email-qmail-11.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-qmail-12.eml → email-qmail-12.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-receivingses-01.eml → email-receivingses-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-receivingses-02.eml → email-receivingses-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-receivingses-03.eml → email-receivingses-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-receivingses-04.eml → email-receivingses-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-receivingses-05.eml → email-receivingses-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-receivingses-06.eml → email-receivingses-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-receivingses-07.eml → email-receivingses-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-sendgrid-01.eml → email-sendgrid-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-sendgrid-02.eml → email-sendgrid-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-sendgrid-03.eml → email-sendgrid-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-01.eml → email-sendmail-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-02.eml → email-sendmail-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-03.eml → email-sendmail-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-04.eml → email-sendmail-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-05.eml → email-sendmail-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-06.eml → email-sendmail-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-07.eml → email-sendmail-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-08.eml → email-sendmail-08.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-09.eml → email-sendmail-09.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-10.eml → email-sendmail-10.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-11.eml → email-sendmail-11.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-12.eml → email-sendmail-12.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-13.eml → email-sendmail-13.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-14.eml → email-sendmail-14.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-15.eml → email-sendmail-15.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-16.eml → email-sendmail-16.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-17.eml → email-sendmail-17.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-18.eml → email-sendmail-18.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-19.eml → email-sendmail-19.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-20.eml → email-sendmail-20.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-21.eml → email-sendmail-21.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-22.eml → email-sendmail-22.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-23.eml → email-sendmail-23.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-24.eml → email-sendmail-24.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-25.eml → email-sendmail-25.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-26.eml → email-sendmail-26.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-27.eml → email-sendmail-27.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-28.eml → email-sendmail-28.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-29.eml → email-sendmail-29.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-30.eml → email-sendmail-30.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-31.eml → email-sendmail-31.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-32.eml → email-sendmail-32.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-33.eml → email-sendmail-33.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-34.eml → email-sendmail-34.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-35.eml → email-sendmail-35.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-36.eml → email-sendmail-36.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-37.eml → email-sendmail-37.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-38.eml → email-sendmail-38.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-39.eml → email-sendmail-39.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-40.eml → email-sendmail-40.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-41.eml → email-sendmail-41.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-42.eml → email-sendmail-42.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-sendmail-43.eml → email-sendmail-43.eml} +0 -0
- data/set-of-emails/maildir/bsd/email-sendmail-44.eml +67 -0
- data/set-of-emails/maildir/bsd/{mta-surfcontrol-01.eml → email-surfcontrol-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-surfcontrol-02.eml → email-surfcontrol-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-surfcontrol-03.eml → email-surfcontrol-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-v5sendmail-01.eml → email-v5sendmail-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-v5sendmail-02.eml → email-v5sendmail-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-v5sendmail-03.eml → email-v5sendmail-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-v5sendmail-04.eml → email-v5sendmail-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-v5sendmail-05.eml → email-v5sendmail-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-v5sendmail-06.eml → email-v5sendmail-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-v5sendmail-07.eml → email-v5sendmail-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-verizon-01.eml → email-verizon-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-verizon-02.eml → email-verizon-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x1-01.eml → email-x1-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x1-02.eml → email-x1-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x2-01.eml → email-x2-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x2-02.eml → email-x2-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x2-03.eml → email-x2-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x2-04.eml → email-x2-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x2-05.eml → email-x2-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x3-01.eml → email-x3-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x3-02.eml → email-x3-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x3-03.eml → email-x3-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x3-04.eml → email-x3-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x4-01.eml → email-x4-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x4-02.eml → email-x4-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x4-03.eml → email-x4-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x4-04.eml → email-x4-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x4-05.eml → email-x4-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x4-06.eml → email-x4-06.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x4-07.eml → email-x4-07.eml} +0 -0
- data/set-of-emails/maildir/bsd/{mta-x5-01.eml → email-x5-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-yahoo-01.eml → email-yahoo-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-yahoo-02.eml → email-yahoo-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-yahoo-03.eml → email-yahoo-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-yahoo-04.eml → email-yahoo-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-yahoo-05.eml → email-yahoo-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-ru-yandex-01.eml → email-yandex-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-ru-yandex-02.eml → email-yandex-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-ru-yandex-03.eml → email-yandex-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-zoho-01.eml → email-zoho-01.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-zoho-02.eml → email-zoho-02.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-zoho-03.eml → email-zoho-03.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-zoho-04.eml → email-zoho-04.eml} +0 -0
- data/set-of-emails/maildir/bsd/{msp-us-zoho-05.eml → email-zoho-05.eml} +0 -0
- data/set-of-emails/maildir/bsd/rfc3464-31.eml +141 -0
- data/set-of-emails/maildir/bsd/rfc3464-32.eml +158 -0
- data/set-of-emails/maildir/dos/{mta-activehunter-01.eml → email-activehunter-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-us-amazonses-01.eml → email-amazonses-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-us-amazonworkmail-01.eml → email-amazonworkmail-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-us-aol-01.eml → email-aol-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-apachejames-01.eml → email-apachejames-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-us-bigfoot-01.eml → email-bigfoot-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-jp-biglobe-01.eml → email-biglobe-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-courier-01.eml → email-courier-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-domino-01.eml → email-domino-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-de-einsundeins-01.eml → email-einsundeins-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-exchange-01.eml → email-exchange-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-exchange2003-01.eml → email-exchange2003-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-exchange2007-01.eml → email-exchange2007-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-exim-01.eml → email-exim-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-jp-ezweb-01.eml → email-ezweb-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-us-facebook-01.eml → email-facebook-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-de-gmx-01.eml → email-gmx-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-us-google-01.eml → email-google-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-imailserver-01.eml → email-imailserver-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-interscanmss-01.eml → email-interscanmss-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-jp-kddi-01.eml → email-kddi-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-mailfoundry-01.eml → email-mailfoundry-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-mailmarshalsmtp-01.eml → email-mailmarshalsmtp-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-ru-mailru-01.eml → email-mailru-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-mcafee-01.eml → email-mcafee-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-uk-messagelabs-01.eml → email-messagelabs-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-messagingserver-01.eml → email-messagingserver-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-mfilter-01.eml → email-mfilter-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-mxlogic-01.eml → email-mxlogic-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-notes-01.eml → email-notes-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-us-office365-01.eml → email-office365-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-opensmtpd-01.eml → email-opensmtpd-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-us-outlook-01.eml → email-outlook-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-postfix-01.eml → email-postfix-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-qmail-01.eml → email-qmail-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-us-receivingses-01.eml → email-receivingses-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-us-sendgrid-01.eml → email-sendgrid-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-sendmail-01.eml → email-sendmail-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-surfcontrol-01.eml → email-surfcontrol-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-v5sendmail-01.eml → email-v5sendmail-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-us-verizon-01.eml → email-verizon-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-x1-01.eml → email-x1-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-x2-01.eml → email-x2-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-x3-01.eml → email-x3-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-x4-01.eml → email-x4-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{mta-x5-01.eml → email-x5-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-us-yahoo-01.eml → email-yahoo-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-ru-yandex-01.eml → email-yandex-01.eml} +0 -0
- data/set-of-emails/maildir/dos/{msp-us-zoho-01.eml → email-zoho-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-activehunter-01.eml → email-activehunter-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-us-amazonses-01.eml → email-amazonses-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-us-amazonworkmail-01.eml → email-amazonworkmail-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-us-aol-01.eml → email-aol-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-apachejames-01.eml → email-apachejames-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-us-bigfoot-01.eml → email-bigfoot-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-jp-biglobe-01.eml → email-biglobe-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-courier-01.eml → email-courier-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-domino-01.eml → email-domino-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-de-einsundeins-01.eml → email-einsundeins-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-exchange-01.eml → email-exchange-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-exchange2003-01.eml → email-exchange2003-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-exchange2007-01.eml → email-exchange2007-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-exim-01.eml → email-exim-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-jp-ezweb-01.eml → email-ezweb-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-us-facebook-01.eml → email-facebook-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-de-gmx-01.eml → email-gmx-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-us-google-01.eml → email-google-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-imailserver-01.eml → email-imailserver-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-interscanmss-01.eml → email-interscanmss-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-jp-kddi-01.eml → email-kddi-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-mailfoundry-01.eml → email-mailfoundry-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-mailmarshalsmtp-01.eml → email-mailmarshalsmtp-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-ru-mailru-01.eml → email-mailru-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-mcafee-01.eml → email-mcafee-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-uk-messagelabs-01.eml → email-messagelabs-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-messagingserver-01.eml → email-messagingserver-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-mfilter-01.eml → email-mfilter-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-mxlogic-01.eml → email-mxlogic-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-notes-01.eml → email-notes-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-us-office365-01.eml → email-office365-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-opensmtpd-01.eml → email-opensmtpd-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-us-outlook-01.eml → email-outlook-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-postfix-01.eml → email-postfix-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-qmail-01.eml → email-qmail-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-us-receivingses-01.eml → email-receivingses-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-us-sendgrid-01.eml → email-sendgrid-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-sendmail-01.eml → email-sendmail-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-surfcontrol-01.eml → email-surfcontrol-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-v5sendmail-01.eml → email-v5sendmail-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-us-verizon-01.eml → email-verizon-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-x1-01.eml → email-x1-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-x2-01.eml → email-x2-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-x3-01.eml → email-x3-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-x4-01.eml → email-x4-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{mta-x5-01.eml → email-x5-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-us-yahoo-01.eml → email-yahoo-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-ru-yandex-01.eml → email-yandex-01.eml} +0 -0
- data/set-of-emails/maildir/mac/{msp-us-zoho-01.eml → email-zoho-01.eml} +0 -0
- metadata +483 -478
- data/lib/sisimai/ced/us/amazonses.rb +0 -269
- data/lib/sisimai/ced/us/sendgrid.rb +0 -86
- data/lib/sisimai/msp/de/einsundeins.rb +0 -146
- data/lib/sisimai/msp/de/gmx.rb +0 -170
- data/lib/sisimai/msp/jp/biglobe.rb +0 -150
- data/lib/sisimai/msp/jp/ezweb.rb +0 -262
- data/lib/sisimai/msp/jp/kddi.rb +0 -168
- data/lib/sisimai/msp/ru/mailru.rb +0 -274
- data/lib/sisimai/msp/ru/yandex.rb +0 -207
- data/lib/sisimai/msp/uk/messagelabs.rb +0 -216
- data/lib/sisimai/msp/us/amazonses.rb +0 -237
- data/lib/sisimai/msp/us/amazonworkmail.rb +0 -195
- data/lib/sisimai/msp/us/aol.rb +0 -211
- data/lib/sisimai/msp/us/bigfoot.rb +0 -210
- data/lib/sisimai/msp/us/facebook.rb +0 -277
- data/lib/sisimai/msp/us/google.rb +0 -323
- data/lib/sisimai/msp/us/gsuite.rb +0 -277
- data/lib/sisimai/msp/us/office365.rb +0 -264
- data/lib/sisimai/msp/us/outlook.rb +0 -209
- data/lib/sisimai/msp/us/receivingses.rb +0 -224
- data/lib/sisimai/msp/us/sendgrid.rb +0 -226
- data/lib/sisimai/msp/us/verizon.rb +0 -267
- data/lib/sisimai/msp/us/yahoo.rb +0 -150
- data/lib/sisimai/msp/us/zoho.rb +0 -170
- data/lib/sisimai/mta/activehunter.rb +0 -126
- data/lib/sisimai/mta/apachejames.rb +0 -172
- data/lib/sisimai/mta/courier.rb +0 -268
- data/lib/sisimai/mta/domino.rb +0 -177
- data/lib/sisimai/mta/exchange2003.rb +0 -287
- data/lib/sisimai/mta/exchange2007.rb +0 -182
- data/lib/sisimai/mta/exim.rb +0 -525
- data/lib/sisimai/mta/imailserver.rb +0 -182
- data/lib/sisimai/mta/interscanmss.rb +0 -149
- data/lib/sisimai/mta/mailfoundry.rb +0 -137
- data/lib/sisimai/mta/mailmarshalsmtp.rb +0 -176
- data/lib/sisimai/mta/mcafee.rb +0 -172
- data/lib/sisimai/mta/messagingserver.rb +0 -208
- data/lib/sisimai/mta/mfilter.rb +0 -167
- data/lib/sisimai/mta/mxlogic.rb +0 -255
- data/lib/sisimai/mta/notes.rb +0 -183
- data/lib/sisimai/mta/opensmtpd.rb +0 -195
- data/lib/sisimai/mta/postfix.rb +0 -312
- data/lib/sisimai/mta/qmail.rb +0 -307
- data/lib/sisimai/mta/sendmail.rb +0 -293
- data/lib/sisimai/mta/surfcontrol.rb +0 -164
- data/lib/sisimai/mta/userdefined.rb +0 -132
- data/lib/sisimai/mta/v5sendmail.rb +0 -210
- data/lib/sisimai/mta/x1.rb +0 -127
- data/lib/sisimai/mta/x2.rb +0 -128
- data/lib/sisimai/mta/x3.rb +0 -144
- data/lib/sisimai/mta/x4.rb +0 -328
- data/lib/sisimai/mta/x5.rb +0 -181
- data/set-of-emails/maildir/bsd/mta-README.md +0 -319
- data/set-of-emails/maildir/dos/ced-us-amazonses-01.eml +0 -47
- data/set-of-emails/maildir/mac/ced-us-amazonses-01.eml +0 -2
@@ -0,0 +1,174 @@
|
|
1
|
+
module Sisimai::Bite::Email
|
2
|
+
module Domino
|
3
|
+
# Sisimai::Bite::Email::Domino parses a bounce email which created by IBM
|
4
|
+
# Domino Server. Methods in the module are called from only Sisimai::Message.
|
5
|
+
class << self
|
6
|
+
# Imported from p5-Sisimail/lib/Sisimai/Bite/Email/Domino.pm
|
7
|
+
require 'sisimai/bite/email'
|
8
|
+
|
9
|
+
Re0 = {
|
10
|
+
:subject => %r/\ADELIVERY FAILURE:/,
|
11
|
+
}
|
12
|
+
Re1 = {
|
13
|
+
:begin => %r/\AYour message/,
|
14
|
+
:rfc822 => %r|\AContent-Type: message/delivery-status\z|,
|
15
|
+
:endof => %r/\A__END_OF_EMAIL_MESSAGE__\z/,
|
16
|
+
}
|
17
|
+
ReFailure = {
|
18
|
+
userunknown: %r{(?>
|
19
|
+
not[ ]listed[ ]in[ ](?:
|
20
|
+
Domino[ ]Directory
|
21
|
+
|public[ ]Name[ ][&][ ]Address[ ]Book
|
22
|
+
)
|
23
|
+
|Domino[ ]ディレクトリには見つかりません
|
24
|
+
)
|
25
|
+
}x,
|
26
|
+
filtered: %r/Cannot[ ]route[ ]mail[ ]to[ ]user/x,
|
27
|
+
systemerror: %r/Several[ ]matches[ ]found[ ]in[ ]Domino[ ]Directory/x,
|
28
|
+
}
|
29
|
+
Indicators = Sisimai::Bite::Email.INDICATORS
|
30
|
+
|
31
|
+
def description; return 'IBM Domino Server'; end
|
32
|
+
def smtpagent; return Sisimai::Bite.smtpagent(self); end
|
33
|
+
def headerlist; return []; end
|
34
|
+
def pattern; return Re0; end
|
35
|
+
|
36
|
+
# Parse bounce messages from IBM Domino Server
|
37
|
+
# @param [Hash] mhead Message headers of a bounce email
|
38
|
+
# @options mhead [String] from From header
|
39
|
+
# @options mhead [String] date Date header
|
40
|
+
# @options mhead [String] subject Subject header
|
41
|
+
# @options mhead [Array] received Received headers
|
42
|
+
# @options mhead [String] others Other required headers
|
43
|
+
# @param [String] mbody Message body of a bounce email
|
44
|
+
# @return [Hash, Nil] Bounce data list and message/rfc822
|
45
|
+
# part or nil if it failed to parse or
|
46
|
+
# the arguments are missing
|
47
|
+
def scan(mhead, mbody)
|
48
|
+
return nil unless mhead
|
49
|
+
return nil unless mbody
|
50
|
+
return nil unless mhead['subject'] =~ Re0[:subject]
|
51
|
+
|
52
|
+
require 'sisimai/address'
|
53
|
+
dscontents = [Sisimai::Bite.DELIVERYSTATUS]
|
54
|
+
hasdivided = mbody.split("\n")
|
55
|
+
rfc822list = [] # (Array) Each line in message/rfc822 part string
|
56
|
+
blanklines = 0 # (Integer) The number of blank lines
|
57
|
+
readcursor = 0 # (Integer) Points the current cursor position
|
58
|
+
recipients = 0 # (Integer) The number of 'Final-Recipient' header
|
59
|
+
subjecttxt = '' # (String) The value of Subject:
|
60
|
+
v = nil
|
61
|
+
|
62
|
+
hasdivided.each do |e|
|
63
|
+
next if e.empty?
|
64
|
+
|
65
|
+
if readcursor.zero?
|
66
|
+
# Beginning of the bounce message or delivery status part
|
67
|
+
if e =~ Re1[:begin]
|
68
|
+
readcursor |= Indicators[:deliverystatus]
|
69
|
+
next
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
if readcursor & Indicators[:'message-rfc822'] == 0
|
74
|
+
# Beginning of the original message part
|
75
|
+
if e =~ Re1[:rfc822]
|
76
|
+
readcursor |= Indicators[:'message-rfc822']
|
77
|
+
next
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
if readcursor & Indicators[:'message-rfc822'] > 0
|
82
|
+
# After "message/rfc822"
|
83
|
+
if e.empty?
|
84
|
+
blanklines += 1
|
85
|
+
break if blanklines > 1
|
86
|
+
next
|
87
|
+
end
|
88
|
+
rfc822list << e
|
89
|
+
|
90
|
+
else
|
91
|
+
# Before "message/rfc822"
|
92
|
+
next if readcursor & Indicators[:deliverystatus] == 0
|
93
|
+
|
94
|
+
# Your message
|
95
|
+
#
|
96
|
+
# Subject: Test Bounce
|
97
|
+
#
|
98
|
+
# was not delivered to:
|
99
|
+
#
|
100
|
+
# kijitora@example.net
|
101
|
+
#
|
102
|
+
# because:
|
103
|
+
#
|
104
|
+
# User some.name (kijitora@example.net) not listed in Domino Directory
|
105
|
+
#
|
106
|
+
v = dscontents[-1]
|
107
|
+
|
108
|
+
if e =~ /\Awas not delivered to:\z/
|
109
|
+
# was not delivered to:
|
110
|
+
if v['recipient']
|
111
|
+
# There are multiple recipient addresses in the message body.
|
112
|
+
dscontents << Sisimai::Bite.DELIVERYSTATUS
|
113
|
+
v = dscontents[-1]
|
114
|
+
end
|
115
|
+
v['recipient'] ||= e
|
116
|
+
recipients += 1
|
117
|
+
|
118
|
+
elsif cv = e.match(/\A[ ][ ]([^ ]+[@][^ ]+)\z/)
|
119
|
+
# Continued from the line "was not delivered to:"
|
120
|
+
# kijitora@example.net
|
121
|
+
v['recipient'] = Sisimai::Address.s3s4(cv[1])
|
122
|
+
|
123
|
+
elsif e =~ /\Abecause:\z/
|
124
|
+
# because:
|
125
|
+
v['diagnosis'] = e
|
126
|
+
|
127
|
+
else
|
128
|
+
|
129
|
+
if v['diagnosis'] && v['diagnosis'] == 'because:'
|
130
|
+
# Error message, continued from the line "because:"
|
131
|
+
v['diagnosis'] = e
|
132
|
+
|
133
|
+
elsif cv = e.match(/\A[ ][ ]Subject: (.+)\z/)
|
134
|
+
# Subject: Nyaa
|
135
|
+
subjecttxt = cv[1]
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
return nil if recipients.zero?
|
142
|
+
require 'sisimai/string'
|
143
|
+
require 'sisimai/smtp/status'
|
144
|
+
|
145
|
+
dscontents.map do |e|
|
146
|
+
e['agent'] = self.smtpagent
|
147
|
+
e['diagnosis'] = Sisimai::String.sweep(e['diagnosis'])
|
148
|
+
e['recipient'] = Sisimai::Address.s3s4(e['recipient'])
|
149
|
+
|
150
|
+
ReFailure.each_key do |r|
|
151
|
+
# Check each regular expression of Domino error messages
|
152
|
+
next unless e['diagnosis'] =~ ReFailure[r]
|
153
|
+
e['reason'] = r.to_s
|
154
|
+
pseudostatus = Sisimai::SMTP::Status.code(r.to_s, false)
|
155
|
+
e['status'] = pseudostatus if pseudostatus.size > 0
|
156
|
+
break
|
157
|
+
end
|
158
|
+
e.each_key { |a| e[a] ||= '' }
|
159
|
+
end
|
160
|
+
|
161
|
+
unless rfc822list.find { |a| a =~ /^Subject:/ }
|
162
|
+
# Set the value of $subjecttxt as a Subject if there is no original
|
163
|
+
# message in the bounce mail.
|
164
|
+
rfc822list << sprintf('Subject: %s', subjecttxt)
|
165
|
+
end
|
166
|
+
|
167
|
+
rfc822part = Sisimai::RFC5322.weedout(rfc822list)
|
168
|
+
return { 'ds' => dscontents, 'rfc822' => rfc822part }
|
169
|
+
end
|
170
|
+
|
171
|
+
end
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
@@ -0,0 +1,143 @@
|
|
1
|
+
module Sisimai::Bite::Email
|
2
|
+
module EinsUndEins
|
3
|
+
# Sisimai::Bite::Email::EinsUndEins parses a bounce email which created by
|
4
|
+
# 1&1. Methods in the module are called from only Sisimai::Message.
|
5
|
+
class << self
|
6
|
+
# Imported from p5-Sisimail/lib/Sisimai/Bite/Email/EinsUndEins.pm
|
7
|
+
require 'sisimai/bite/email'
|
8
|
+
|
9
|
+
Re0 = {
|
10
|
+
:from => %r/\A["]Mail Delivery System["]/,
|
11
|
+
:subject => %r/\AMail delivery failed: returning message to sender\z/,
|
12
|
+
}
|
13
|
+
Re1 = {
|
14
|
+
:begin => %r/\AThis message was created automatically by mail delivery software/,
|
15
|
+
:error => %r/\AFor the following reason:/,
|
16
|
+
:rfc822 => %r/\A--- The header of the original message is following/,
|
17
|
+
:endof => %r/\A__END_OF_EMAIL_MESSAGE__\z/,
|
18
|
+
}
|
19
|
+
ReFailure = {
|
20
|
+
mesgtoobig: %r/Mail[ ]size[ ]limit[ ]exceeded/x,
|
21
|
+
}
|
22
|
+
Indicators = Sisimai::Bite::Email.INDICATORS
|
23
|
+
|
24
|
+
def description; return '1&1: http://www.1and1.de'; end
|
25
|
+
def smtpagent; return Sisimai::Bite.smtpagent(self); end
|
26
|
+
# X-UI-Out-Filterresults: unknown:0;
|
27
|
+
def headerlist; return []; end
|
28
|
+
def pattern; return Re0; end
|
29
|
+
|
30
|
+
# Parse bounce messages from 1&1
|
31
|
+
# @param [Hash] mhead Message headers of a bounce email
|
32
|
+
# @options mhead [String] from From header
|
33
|
+
# @options mhead [String] date Date header
|
34
|
+
# @options mhead [String] subject Subject header
|
35
|
+
# @options mhead [Array] received Received headers
|
36
|
+
# @options mhead [String] others Other required headers
|
37
|
+
# @param [String] mbody Message body of a bounce email
|
38
|
+
# @return [Hash, Nil] Bounce data list and message/rfc822
|
39
|
+
# part or nil if it failed to parse or
|
40
|
+
# the arguments are missing
|
41
|
+
def scan(mhead, mbody)
|
42
|
+
return nil unless mhead
|
43
|
+
return nil unless mbody
|
44
|
+
return nil unless mhead['from'] =~ Re0[:from]
|
45
|
+
return nil unless mhead['subject'] =~ Re0[:subject]
|
46
|
+
|
47
|
+
dscontents = [Sisimai::Bite.DELIVERYSTATUS]
|
48
|
+
hasdivided = mbody.split("\n")
|
49
|
+
rfc822list = [] # (Array) Each line in message/rfc822 part string
|
50
|
+
blanklines = 0 # (Integer) The number of blank lines
|
51
|
+
readcursor = 0 # (Integer) Points the current cursor position
|
52
|
+
recipients = 0 # (Integer) The number of 'Final-Recipient' header
|
53
|
+
v = nil
|
54
|
+
|
55
|
+
hasdivided.each do |e|
|
56
|
+
if readcursor.zero?
|
57
|
+
# Beginning of the bounce message or delivery status part
|
58
|
+
if e =~ Re1[:begin]
|
59
|
+
readcursor |= Indicators[:deliverystatus]
|
60
|
+
next
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
if readcursor & Indicators[:'message-rfc822'] == 0
|
65
|
+
# Beginning of the original message part
|
66
|
+
if e =~ Re1[:rfc822]
|
67
|
+
readcursor |= Indicators[:'message-rfc822']
|
68
|
+
next
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
if readcursor & Indicators[:'message-rfc822'] > 0
|
73
|
+
# After "message/rfc822"
|
74
|
+
if e.empty?
|
75
|
+
blanklines += 1
|
76
|
+
break if blanklines > 1
|
77
|
+
next
|
78
|
+
end
|
79
|
+
rfc822list << e
|
80
|
+
|
81
|
+
else
|
82
|
+
# Before "message/rfc822"
|
83
|
+
next if readcursor & Indicators[:deliverystatus] == 0
|
84
|
+
next if e.empty?
|
85
|
+
|
86
|
+
# The following address failed:
|
87
|
+
#
|
88
|
+
# general@example.eu
|
89
|
+
#
|
90
|
+
# For the following reason:
|
91
|
+
#
|
92
|
+
# Mail size limit exceeded. For explanation visit
|
93
|
+
# http://postmaster.1and1.com/en/error-messages?ip=%1s
|
94
|
+
v = dscontents[-1]
|
95
|
+
|
96
|
+
if cv = e.match(/\A([^ ]+[@][^ ]+)\z/)
|
97
|
+
# general@example.eu
|
98
|
+
if v['recipient']
|
99
|
+
# There are multiple recipient addresses in the message body.
|
100
|
+
dscontents << Sisimai::Bite.DELIVERYSTATUS
|
101
|
+
v = dscontents[-1]
|
102
|
+
end
|
103
|
+
v['recipient'] = cv[1]
|
104
|
+
recipients += 1
|
105
|
+
|
106
|
+
elsif e =~ Re1[:error]
|
107
|
+
# For the following reason:
|
108
|
+
v['diagnosis'] = e
|
109
|
+
|
110
|
+
else
|
111
|
+
# Get error message
|
112
|
+
if v['diagnosis']
|
113
|
+
# Append error message strings
|
114
|
+
v['diagnosis'] += ' ' + e
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
return nil if recipients.zero?
|
120
|
+
require 'sisimai/string'
|
121
|
+
|
122
|
+
dscontents.map do |e|
|
123
|
+
e['agent'] = self.smtpagent
|
124
|
+
e['diagnosis'] ||= ''
|
125
|
+
e['diagnosis'] = e['diagnosis'].gsub(/\A#{Re1[:error]}/, '')
|
126
|
+
e['diagnosis'] = Sisimai::String.sweep(e['diagnosis'])
|
127
|
+
|
128
|
+
ReFailure.each_key do |r|
|
129
|
+
# Verify each regular expression of session errors
|
130
|
+
next unless e['diagnosis'] =~ ReFailure[r]
|
131
|
+
e['reason'] = r.to_s
|
132
|
+
break
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
rfc822part = Sisimai::RFC5322.weedout(rfc822list)
|
137
|
+
return { 'ds' => dscontents, 'rfc822' => rfc822part }
|
138
|
+
end
|
139
|
+
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
@@ -0,0 +1,284 @@
|
|
1
|
+
module Sisimai::Bite::Email
|
2
|
+
module Exchange2003
|
3
|
+
# Sisimai::Bite::Email::Exchange2003 parses a bounce email which created by
|
4
|
+
# Microsoft Exchange Server 2003.
|
5
|
+
# Methods in the module are called from only Sisimai::Message.
|
6
|
+
class << self
|
7
|
+
# Imported from p5-Sisimail/lib/Sisimai/Bite/Email/Exchange2003.pm
|
8
|
+
require 'sisimai/bite/email'
|
9
|
+
|
10
|
+
Re0 = {
|
11
|
+
# X-Mailer: Internet Mail Service (5.0.1461.28)
|
12
|
+
# X-Mailer: Microsoft Exchange Server Internet Mail Connector Version ...
|
13
|
+
:'x-mailer' => %r{\A(?:
|
14
|
+
Internet[ ]Mail[ ]Service[ ][(][\d.]+[)]\z
|
15
|
+
|Microsoft[ ]Exchange[ ]Server[ ]Internet[ ]Mail[ ]Connector
|
16
|
+
)
|
17
|
+
}x,
|
18
|
+
:'x-mimeole' => %r/\AProduced By Microsoft Exchange/,
|
19
|
+
# Received: by ***.**.** with Internet Mail Service (5.5.2657.72)
|
20
|
+
:'received' => %r/\Aby .+ with Internet Mail Service [(][\d.]+[)]/,
|
21
|
+
}
|
22
|
+
Re1 = {
|
23
|
+
:begin => %r/\AYour message/,
|
24
|
+
:error => %r/\Adid not reach the following recipient[(]s[)]:/,
|
25
|
+
:rfc822 => %r|\AContent-Type: message/rfc822|,
|
26
|
+
:endof => %r/\A__END_OF_EMAIL_MESSAGE__\z/,
|
27
|
+
}
|
28
|
+
CodeTable = {
|
29
|
+
onhold: [
|
30
|
+
'000B099C', # Host Unknown, Message exceeds size limit, ...
|
31
|
+
'000B09AA', # Unable to relay for, Message exceeds size limit,...
|
32
|
+
'000B09B6', # Error messages by remote MTA
|
33
|
+
],
|
34
|
+
userunknown: [
|
35
|
+
'000C05A6', # Unknown Recipient,
|
36
|
+
],
|
37
|
+
systemerror: [
|
38
|
+
'00010256', # Too many recipients.
|
39
|
+
'000D06B5', # No proxy for recipient (non-smtp mail?)
|
40
|
+
],
|
41
|
+
networkerror: [
|
42
|
+
'00120270', # Too Many Hops
|
43
|
+
],
|
44
|
+
contenterr: [
|
45
|
+
'00050311', # Conversion to Internet format failed
|
46
|
+
'000502CC', # Conversion to Internet format failed
|
47
|
+
],
|
48
|
+
securityerr: [
|
49
|
+
'000B0981', # 502 Server does not support AUTH
|
50
|
+
],
|
51
|
+
filtered: [
|
52
|
+
'000C0595', # Ambiguous Recipient
|
53
|
+
],
|
54
|
+
}
|
55
|
+
Indicators = Sisimai::Bite::Email.INDICATORS
|
56
|
+
|
57
|
+
def description; return 'Microsoft Exchange Server 2003'; end
|
58
|
+
def smtpagent; return Sisimai::Bite.smtpagent(self); end
|
59
|
+
def headerlist; return ['X-MS-Embedded-Report', 'X-MimeOLE']; end
|
60
|
+
def pattern; return Re0; end
|
61
|
+
|
62
|
+
# Parse bounce messages from Microsoft Exchange Server 2003
|
63
|
+
# @param [Hash] mhead Message headers of a bounce email
|
64
|
+
# @options mhead [String] from From header
|
65
|
+
# @options mhead [String] date Date header
|
66
|
+
# @options mhead [String] subject Subject header
|
67
|
+
# @options mhead [Array] received Received headers
|
68
|
+
# @options mhead [String] others Other required headers
|
69
|
+
# @param [String] mbody Message body of a bounce email
|
70
|
+
# @return [Hash, Nil] Bounce data list and message/rfc822
|
71
|
+
# part or nil if it failed to parse or
|
72
|
+
# the arguments are missing
|
73
|
+
def scan(mhead, mbody)
|
74
|
+
return nil unless mhead
|
75
|
+
return nil unless mbody
|
76
|
+
match = 0
|
77
|
+
|
78
|
+
match += 1 if mhead['x-ms-embedded-report']
|
79
|
+
catch :EXCHANGE_OR_NOT do
|
80
|
+
loop do
|
81
|
+
throw :EXCHANGE_OR_NOT if match > 0
|
82
|
+
|
83
|
+
if mhead['x-mailer']
|
84
|
+
# X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.994.63
|
85
|
+
# X-Mailer: Internet Mail Service (5.5.2232.9)
|
86
|
+
match += 1 if mhead['x-mailer'] =~ Re0[:'x-mailer']
|
87
|
+
throw :EXCHANGE_OR_NOT if match > 0
|
88
|
+
end
|
89
|
+
|
90
|
+
if mhead['x-mimeole']
|
91
|
+
# X-MimeOLE: Produced By Microsoft Exchange V6.5
|
92
|
+
match += 1 if mhead['x-mimeole'] =~ Re0[:'x-mimeole']
|
93
|
+
throw :EXCHANGE_OR_NOT if match > 0
|
94
|
+
end
|
95
|
+
|
96
|
+
throw :EXCHANGE_OR_NOT if mhead['received'].size.zero?
|
97
|
+
mhead['received'].each do |e|
|
98
|
+
# Received: by ***.**.** with Internet Mail Service (5.5.2657.72)
|
99
|
+
next unless e =~ Re0[:'received']
|
100
|
+
match += 1
|
101
|
+
throw :EXCHANGE_OR_NOT
|
102
|
+
end
|
103
|
+
break
|
104
|
+
end
|
105
|
+
end
|
106
|
+
return nil if match.zero?
|
107
|
+
|
108
|
+
dscontents = [Sisimai::Bite.DELIVERYSTATUS]
|
109
|
+
hasdivided = mbody.split("\n")
|
110
|
+
rfc822list = [] # (Array) Each line in message/rfc822 part string
|
111
|
+
blanklines = 0 # (Integer) The number of blank lines
|
112
|
+
readcursor = 0 # (Integer) Points the current cursor position
|
113
|
+
recipients = 0 # (Integer) The number of 'Final-Recipient' header
|
114
|
+
statuspart = false # (Boolean) Flag, true = have got delivery status part.
|
115
|
+
connvalues = 0 # (Integer) Flag, 1 if all the value of $connheader have been set
|
116
|
+
connheader = {
|
117
|
+
'to' => '', # The value of "To"
|
118
|
+
'date' => '', # The value of "Date"
|
119
|
+
'subject' => '', # The value of "Subject"
|
120
|
+
}
|
121
|
+
v = nil
|
122
|
+
|
123
|
+
hasdivided.each do |e|
|
124
|
+
if readcursor.zero?
|
125
|
+
# Beginning of the bounce message or delivery status part
|
126
|
+
if e =~ Re1[:begin]
|
127
|
+
readcursor |= Indicators[:deliverystatus]
|
128
|
+
next
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
if readcursor & Indicators[:'message-rfc822'] == 0
|
133
|
+
# Beginning of the original message part
|
134
|
+
if e =~ Re1[:rfc822]
|
135
|
+
readcursor |= Indicators[:'message-rfc822']
|
136
|
+
next
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
if readcursor & Indicators[:'message-rfc822'] > 0
|
141
|
+
# After "message/rfc822"
|
142
|
+
if e.empty?
|
143
|
+
blanklines += 1
|
144
|
+
break if blanklines > 1
|
145
|
+
next
|
146
|
+
end
|
147
|
+
rfc822list << e
|
148
|
+
|
149
|
+
else
|
150
|
+
# Before "message/rfc822"
|
151
|
+
next if readcursor & Indicators[:deliverystatus] == 0
|
152
|
+
next if statuspart
|
153
|
+
|
154
|
+
if connvalues == connheader.keys.size
|
155
|
+
# did not reach the following recipient(s):
|
156
|
+
#
|
157
|
+
# kijitora@example.co.jp on Thu, 29 Apr 2007 16:51:51 -0500
|
158
|
+
# The recipient name is not recognized
|
159
|
+
# The MTS-ID of the original message is: c=jp;a= ;p=neko
|
160
|
+
# ;l=EXCHANGE000000000000000000
|
161
|
+
# MSEXCH:IMS:KIJITORA CAT:EXAMPLE:EXCHANGE 0 (000C05A6) Unknown Recipient
|
162
|
+
# mikeneko@example.co.jp on Thu, 29 Apr 2007 16:51:51 -0500
|
163
|
+
# The recipient name is not recognized
|
164
|
+
# The MTS-ID of the original message is: c=jp;a= ;p=neko
|
165
|
+
# ;l=EXCHANGE000000000000000000
|
166
|
+
# MSEXCH:IMS:KIJITORA CAT:EXAMPLE:EXCHANGE 0 (000C05A6) Unknown Recipient
|
167
|
+
v = dscontents[-1]
|
168
|
+
|
169
|
+
if cv = e.match(/\A[ \t]*([^ ]+[@][^ ]+) on[ \t]*.*\z/) ||
|
170
|
+
e.match(/\A[ \t]*.+(?:SMTP|smtp)=([^ ]+[@][^ ]+) on[ \t]*.*\z/)
|
171
|
+
# kijitora@example.co.jp on Thu, 29 Apr 2007 16:51:51 -0500
|
172
|
+
# kijitora@example.com on 4/29/99 9:19:59 AM
|
173
|
+
if v['recipient']
|
174
|
+
# There are multiple recipient addresses in the message body.
|
175
|
+
dscontents << Sisimai::Bite.DELIVERYSTATUS
|
176
|
+
v = dscontents[-1]
|
177
|
+
end
|
178
|
+
v['recipient'] = cv[1]
|
179
|
+
v['msexch'] = false
|
180
|
+
recipients += 1
|
181
|
+
|
182
|
+
elsif cv = e.match(/\A[ \t]+(MSEXCH:.+)\z/)
|
183
|
+
# MSEXCH:IMS:KIJITORA CAT:EXAMPLE:EXCHANGE 0 (000C05A6) Unknown Recipient
|
184
|
+
v['diagnosis'] ||= ''
|
185
|
+
v['diagnosis'] += cv[1]
|
186
|
+
|
187
|
+
else
|
188
|
+
next if v['msexch']
|
189
|
+
if v['diagnosis'] =~ /\AMSEXCH:.+/
|
190
|
+
# Continued from MEEXCH in the previous line
|
191
|
+
v['msexch'] = true
|
192
|
+
v['diagnosis'] ||= ''
|
193
|
+
v['diagnosis'] += ' ' + e
|
194
|
+
statuspart = true
|
195
|
+
|
196
|
+
else
|
197
|
+
# Error message in the body part
|
198
|
+
v['alterrors'] ||= ''
|
199
|
+
v['alterrors'] += ' ' + e
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
else
|
204
|
+
# Your message
|
205
|
+
#
|
206
|
+
# To: shironeko@example.jp
|
207
|
+
# Subject: ...
|
208
|
+
# Sent: Thu, 29 Apr 2010 18:14:35 +0000
|
209
|
+
#
|
210
|
+
if cv = e.match(/\A[ \t]+To:[ \t]+(.+)\z/)
|
211
|
+
# To: shironeko@example.jp
|
212
|
+
next if connheader['to'].size > 0
|
213
|
+
connheader['to'] = cv[1]
|
214
|
+
connvalues += 1
|
215
|
+
|
216
|
+
elsif cv = e.match(/\A[ \t]+Subject:[ \t]+(.+)\z/)
|
217
|
+
# Subject: ...
|
218
|
+
next if connheader['subject'].size > 0
|
219
|
+
connheader['subject'] = cv[1]
|
220
|
+
connvalues += 1
|
221
|
+
|
222
|
+
elsif cv = e.match(%r|\A[ \t]+Sent:[ \t]+([A-Z][a-z]{2},.+[-+]\d{4})\z|) ||
|
223
|
+
cv = e.match(%r|\A[ \t]+Sent:[ \t]+(\d+[/]\d+[/]\d+[ \t]+\d+:\d+:\d+[ \t].+)|)
|
224
|
+
# Sent: Thu, 29 Apr 2010 18:14:35 +0000
|
225
|
+
# Sent: 4/29/99 9:19:59 AM
|
226
|
+
next if connheader['date'].size > 0
|
227
|
+
connheader['date'] = cv[1]
|
228
|
+
connvalues += 1
|
229
|
+
end
|
230
|
+
end
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
return nil if recipients.zero?
|
235
|
+
require 'sisimai/string'
|
236
|
+
require 'sisimai/smtp/status'
|
237
|
+
|
238
|
+
dscontents.map do |e|
|
239
|
+
if cv = e['diagnosis'].match(/\AMSEXCH:.+[ \t]*[(]([0-9A-F]{8})[)][ \t]*(.*)\z/)
|
240
|
+
# MSEXCH:IMS:KIJITORA CAT:EXAMPLE:EXCHANGE 0 (000C05A6) Unknown Recipient
|
241
|
+
capturedcode = cv[1]
|
242
|
+
errormessage = cv[2]
|
243
|
+
pseudostatus = ''
|
244
|
+
|
245
|
+
CodeTable.each_key do |r|
|
246
|
+
# Find captured code from the error code table
|
247
|
+
next unless CodeTable[r].index(capturedcode)
|
248
|
+
e['reason'] = r.to_s
|
249
|
+
pseudostatus = Sisimai::SMTP::Status.code(r.to_s)
|
250
|
+
e['status'] = pseudostatus if pseudostatus.size > 0
|
251
|
+
break
|
252
|
+
end
|
253
|
+
e['diagnosis'] = errormessage
|
254
|
+
end
|
255
|
+
|
256
|
+
unless e['reason']
|
257
|
+
# Could not detect the reason from the value of "diagnosis".
|
258
|
+
if e['alterrors']
|
259
|
+
# Copy alternative error message
|
260
|
+
e['diagnosis'] = e['alterrors'] + ' ' + e['diagnosis']
|
261
|
+
e['diagnosis'] = Sisimai::String.sweep(e['diagnosis'])
|
262
|
+
e.delete('alterrors')
|
263
|
+
end
|
264
|
+
end
|
265
|
+
e['agent'] = self.smtpagent
|
266
|
+
e.delete('msexch')
|
267
|
+
e.each_key { |a| e[a] ||= '' }
|
268
|
+
end
|
269
|
+
|
270
|
+
if rfc822list.empty?
|
271
|
+
# When original message does not included in the bounce message
|
272
|
+
rfc822list << sprintf('From: %s', connheader['to'])
|
273
|
+
rfc822list << sprintf('Date: %s', connheader['date'])
|
274
|
+
rfc822list << sprintf('Subject: %s', connheader['subject'])
|
275
|
+
end
|
276
|
+
|
277
|
+
rfc822part = Sisimai::RFC5322.weedout(rfc822list)
|
278
|
+
return { 'ds' => dscontents, 'rfc822' => rfc822part }
|
279
|
+
end
|
280
|
+
|
281
|
+
end
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|