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,206 @@
|
|
1
|
+
module Sisimai::Bite::Email
|
2
|
+
module MessagingServer
|
3
|
+
# Sisimai::Bite::Email::MessagingServer parses a bounce email which created
|
4
|
+
# by Oracle Communications Messaging Server and Sun Java System Messaging
|
5
|
+
# Server. Methods in the module are called from only Sisimai::Message.
|
6
|
+
class << self
|
7
|
+
# Imported from p5-Sisimail/lib/Sisimai/Bite/Email/MessagingServer.pm
|
8
|
+
require 'sisimai/bite'
|
9
|
+
require 'sisimai/rfc5322'
|
10
|
+
|
11
|
+
Re0 = {
|
12
|
+
:subject => %r/\ADelivery Notification: /,
|
13
|
+
:received => %r/[ ][(]MessagingServer[)][ ]with[ ]/,
|
14
|
+
:boundary => %r/Boundary_[(]ID_.+[)]/,
|
15
|
+
}
|
16
|
+
Re1 = {
|
17
|
+
:begin => %r/\AThis report relates to a message you sent with the following header fields:/,
|
18
|
+
:endof => %r/\A__END_OF_EMAIL_MESSAGE__\z/,
|
19
|
+
:rfc822 => %r!\A(?:Content-type:[ ]*message/rfc822|Return-path:[ ]*)!x,
|
20
|
+
}
|
21
|
+
ReFailure = {
|
22
|
+
hostunknown: %r|Illegal[ ]host/domain[ ]name[ ]found|x,
|
23
|
+
}
|
24
|
+
Indicators = Sisimai::Bite::Email.INDICATORS
|
25
|
+
|
26
|
+
def description; return 'Oracle Communications Messaging Server'; end
|
27
|
+
def smtpagent; return Sisimai::Bite.smtpagent(self); end
|
28
|
+
def headerlist; return []; end
|
29
|
+
def pattern; return Re0; end
|
30
|
+
|
31
|
+
# Parse bounce messages from MessagingServer
|
32
|
+
# @param [Hash] mhead Message headers of a bounce email
|
33
|
+
# @options mhead [String] from From header
|
34
|
+
# @options mhead [String] date Date header
|
35
|
+
# @options mhead [String] subject Subject header
|
36
|
+
# @options mhead [Array] received Received headers
|
37
|
+
# @options mhead [String] others Other required headers
|
38
|
+
# @param [String] mbody Message body of a bounce email
|
39
|
+
# @return [Hash, Nil] Bounce data list and message/rfc822
|
40
|
+
# part or nil if it failed to parse or
|
41
|
+
# the arguments are missing
|
42
|
+
def scan(mhead, mbody)
|
43
|
+
return nil unless mhead
|
44
|
+
return nil unless mbody
|
45
|
+
|
46
|
+
match = 0
|
47
|
+
match += 1 if mhead['content-type'] =~ Re0[:boundary]
|
48
|
+
match += 1 if mhead['subject'] =~ Re0[:subject]
|
49
|
+
return nil if match.zero?
|
50
|
+
|
51
|
+
require 'sisimai/address'
|
52
|
+
dscontents = [Sisimai::Bite.DELIVERYSTATUS]
|
53
|
+
hasdivided = mbody.split("\n")
|
54
|
+
rfc822list = [] # (Array) Each line in message/rfc822 part string
|
55
|
+
blanklines = 0 # (Integer) The number of blank lines
|
56
|
+
readcursor = 0 # (Integer) Points the current cursor position
|
57
|
+
recipients = 0 # (Integer) The number of 'Final-Recipient' header
|
58
|
+
v = nil
|
59
|
+
|
60
|
+
hasdivided.each do |e|
|
61
|
+
if readcursor.zero?
|
62
|
+
# Beginning of the bounce message or delivery status part
|
63
|
+
if e =~ Re1[:begin]
|
64
|
+
readcursor |= Indicators[:deliverystatus]
|
65
|
+
next
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
if readcursor & Indicators[:'message-rfc822'] == 0
|
70
|
+
# Beginning of the original message part
|
71
|
+
if e =~ Re1[:rfc822]
|
72
|
+
readcursor |= Indicators[:'message-rfc822']
|
73
|
+
next
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
if readcursor & Indicators[:'message-rfc822'] > 0
|
78
|
+
# After "message/rfc822"
|
79
|
+
if e.empty?
|
80
|
+
blanklines += 1
|
81
|
+
break if blanklines > 1
|
82
|
+
next
|
83
|
+
end
|
84
|
+
rfc822list << e
|
85
|
+
|
86
|
+
else
|
87
|
+
# Before "message/rfc822"
|
88
|
+
next if readcursor & Indicators[:deliverystatus] == 0
|
89
|
+
next if e.empty?
|
90
|
+
|
91
|
+
# --Boundary_(ID_0000000000000000000000)
|
92
|
+
# Content-type: text/plain; charset=us-ascii
|
93
|
+
# Content-language: en-US
|
94
|
+
#
|
95
|
+
# This report relates to a message you sent with the following header fields:
|
96
|
+
#
|
97
|
+
# Message-id: <CD8C6134-C312-41D5-B083-366F7FA1D752@me.example.com>
|
98
|
+
# Date: Fri, 21 Nov 2014 23:34:45 +0900
|
99
|
+
# From: Shironeko <shironeko@me.example.com>
|
100
|
+
# To: kijitora@example.jp
|
101
|
+
# Subject: Nyaaaaaaaaaaaaaaaaaaaaaan
|
102
|
+
#
|
103
|
+
# Your message cannot be delivered to the following recipients:
|
104
|
+
#
|
105
|
+
# Recipient address: kijitora@example.jp
|
106
|
+
# Reason: Remote SMTP server has rejected address
|
107
|
+
# Diagnostic code: smtp;550 5.1.1 <kijitora@example.jp>... User Unknown
|
108
|
+
# Remote system: dns;mx.example.jp (TCP|17.111.174.67|47323|192.0.2.225|25) (6jo.example.jp ESMTP SENDMAIL-VM)
|
109
|
+
v = dscontents[-1]
|
110
|
+
|
111
|
+
if cv = e.match(/\A[ \t]+Recipient address:[ \t]*([^ ]+[@][^ ]+)\z/)
|
112
|
+
# Recipient address: kijitora@example.jp
|
113
|
+
if v['recipient']
|
114
|
+
# There are multiple recipient addresses in the message body.
|
115
|
+
dscontents << Sisimai::Bite.DELIVERYSTATUS
|
116
|
+
v = dscontents[-1]
|
117
|
+
end
|
118
|
+
v['recipient'] = Sisimai::Address.s3s4(cv[1])
|
119
|
+
recipients += 1
|
120
|
+
|
121
|
+
elsif cv = e.match(/\A[ \t]+Original address:[ \t]*([^ ]+[@][^ ]+)\z/)
|
122
|
+
# Original address: kijitora@example.jp
|
123
|
+
v['recipient'] = Sisimai::Address.s3s4(cv[1])
|
124
|
+
|
125
|
+
elsif cv = e.match(/\A[ \t]+Date:[ \t]*(.+)\z/)
|
126
|
+
# Date: Fri, 21 Nov 2014 23:34:45 +0900
|
127
|
+
v['date'] = cv[1]
|
128
|
+
|
129
|
+
elsif cv = e.match(/\A[ \t]+Reason:[ \t]*(.+)\z/)
|
130
|
+
# Reason: Remote SMTP server has rejected address
|
131
|
+
v['diagnosis'] = cv[1]
|
132
|
+
|
133
|
+
elsif cv = e.match(/\A[ \t]+Diagnostic code:[ \t]*([^ ]+);(.+)\z/)
|
134
|
+
# Diagnostic code: smtp;550 5.1.1 <kijitora@example.jp>... User Unknown
|
135
|
+
v['spec'] = cv[1].upcase
|
136
|
+
v['diagnosis'] = cv[2]
|
137
|
+
|
138
|
+
elsif cv = e.match(/\A[ \t]+Remote system:[ ]*dns;([^ ]+)[ ]*([^ ]+)[ ]*.+\z/)
|
139
|
+
# Remote system: dns;mx.example.jp (TCP|17.111.174.67|47323|192.0.2.225|25)
|
140
|
+
# (6jo.example.jp ESMTP SENDMAIL-VM)
|
141
|
+
remotehost = cv[1] # remote host
|
142
|
+
sessionlog = cv[2] # smtp session
|
143
|
+
v['rhost'] = remotehost
|
144
|
+
|
145
|
+
if cv = sessionlog.match(/\A[(]TCP|(.+)|\d+|(.+)|\d+[)]/)
|
146
|
+
# The value does not include ".", use IP address instead.
|
147
|
+
# (TCP|17.111.174.67|47323|192.0.2.225|25)
|
148
|
+
v['lhost'] = cv[1]
|
149
|
+
v['rhost'] = cv[2] unless remotehost =~ /[^.]+[.][^.]+/
|
150
|
+
end
|
151
|
+
|
152
|
+
else
|
153
|
+
# Original-envelope-id: 0NFC009FLKOUVMA0@mr21p30im-asmtp004.me.com
|
154
|
+
# Reporting-MTA: dns;mr21p30im-asmtp004.me.com (tcp-daemon)
|
155
|
+
# Arrival-date: Thu, 29 Apr 2014 23:34:45 +0000 (GMT)
|
156
|
+
#
|
157
|
+
# Original-recipient: rfc822;kijitora@example.jp
|
158
|
+
# Final-recipient: rfc822;kijitora@example.jp
|
159
|
+
# Action: failed
|
160
|
+
# Status: 5.1.1 (Remote SMTP server has rejected address)
|
161
|
+
# Remote-MTA: dns;mx.example.jp (TCP|17.111.174.67|47323|192.0.2.225|25)
|
162
|
+
# (6jo.example.jp ESMTP SENDMAIL-VM)
|
163
|
+
# Diagnostic-code: smtp;550 5.1.1 <kijitora@example.jp>... User Unknown
|
164
|
+
#
|
165
|
+
if cv = e.match(/\A[Ss]tatus:[ ]*(\d[.]\d[.]\d)[ ]*[(](.+)[)]\z/)
|
166
|
+
# Status: 5.1.1 (Remote SMTP server has rejected address)
|
167
|
+
v['status'] = cv[1]
|
168
|
+
v['diagnosis'] ||= cv[2]
|
169
|
+
|
170
|
+
elsif cv = e.match(/\A[Aa]rrival-[Dd]ate:[ ]*(.+)\z/)
|
171
|
+
# Arrival-date: Thu, 29 Apr 2014 23:34:45 +0000 (GMT)
|
172
|
+
v['date'] ||= cv[1]
|
173
|
+
|
174
|
+
elsif cv = e.match(/\A[Rr]eporting-MTA:[ ]*(?:DNS|dns);[ ]*(.+)\z/)
|
175
|
+
# Reporting-MTA: dns;mr21p30im-asmtp004.me.com (tcp-daemon)
|
176
|
+
localhost = cv[1]
|
177
|
+
v['lhost'] ||= localhost
|
178
|
+
v['lhost'] = localhost unless v['lhost'] =~ /[^.]+[.][^ ]+/
|
179
|
+
end
|
180
|
+
end
|
181
|
+
end
|
182
|
+
end
|
183
|
+
return nil if recipients.zero?
|
184
|
+
require 'sisimai/string'
|
185
|
+
|
186
|
+
dscontents.map do |e|
|
187
|
+
e['agent'] = self.smtpagent
|
188
|
+
e['diagnosis'] = Sisimai::String.sweep(e['diagnosis'])
|
189
|
+
|
190
|
+
ReFailure.each_key do |r|
|
191
|
+
# Verify each regular expression of session errors
|
192
|
+
next unless e['diagnosis'] =~ ReFailure[r]
|
193
|
+
e['reason'] = r.to_s
|
194
|
+
break
|
195
|
+
end
|
196
|
+
e.each_key { |a| e[a] ||= '' }
|
197
|
+
end
|
198
|
+
|
199
|
+
rfc822part = Sisimai::RFC5322.weedout(rfc822list)
|
200
|
+
return { 'ds' => dscontents, 'rfc822' => rfc822part }
|
201
|
+
end
|
202
|
+
|
203
|
+
end
|
204
|
+
end
|
205
|
+
end
|
206
|
+
|
@@ -0,0 +1,165 @@
|
|
1
|
+
module Sisimai::Bite::Email
|
2
|
+
module MFILTER
|
3
|
+
# Sisimai::Bite::Email::mFILTER parses a bounce email which created by
|
4
|
+
# Digital Arts m-FILTER.
|
5
|
+
# Methods in the module are called from only Sisimai::Message.
|
6
|
+
class << self
|
7
|
+
# Imported from p5-Sisimail/lib/Sisimai/Bite/Email/mFILTER.pm
|
8
|
+
require 'sisimai/bite/email'
|
9
|
+
|
10
|
+
Re0 = {
|
11
|
+
:'from' => %r/\AMailer Daemon [<]MAILER-DAEMON[@]/,
|
12
|
+
:'subject' => %r/\Afailure notice\z/,
|
13
|
+
:'x-mailer' => %r/\Am-FILTER\z/,
|
14
|
+
}
|
15
|
+
Re1 = {
|
16
|
+
:begin => %r/\A[^ ]+[@][^ ]+[.][a-zA-Z]+\z/,
|
17
|
+
:error => %r/\A-------server message\z/,
|
18
|
+
:command => %r/\A-------SMTP command\z/,
|
19
|
+
:rfc822 => %r/\A-------original (?:message|mail info)\z/,
|
20
|
+
:endof => %r/\A__END_OF_EMAIL_MESSAGE__\z/,
|
21
|
+
}
|
22
|
+
Indicators = Sisimai::Bite::Email.INDICATORS
|
23
|
+
|
24
|
+
def description; return 'Digital Arts m-FILTER'; end
|
25
|
+
def smtpagent; return 'Email::mFILTER'; end
|
26
|
+
def headerlist; return ['X-Mailer']; end
|
27
|
+
def pattern; return Re0; end
|
28
|
+
|
29
|
+
# Parse bounce messages from Digital Arts m-FILTER
|
30
|
+
# @param [Hash] mhead Message headers of a bounce email
|
31
|
+
# @options mhead [String] from From header
|
32
|
+
# @options mhead [String] date Date header
|
33
|
+
# @options mhead [String] subject Subject header
|
34
|
+
# @options mhead [Array] received Received headers
|
35
|
+
# @options mhead [String] others Other required headers
|
36
|
+
# @param [String] mbody Message body of a bounce email
|
37
|
+
# @return [Hash, Nil] Bounce data list and message/rfc822
|
38
|
+
# part or nil if it failed to parse or
|
39
|
+
# the arguments are missing
|
40
|
+
def scan(mhead, mbody)
|
41
|
+
return nil unless mhead
|
42
|
+
return nil unless mbody
|
43
|
+
return nil unless mhead['x-mailer']
|
44
|
+
return nil unless mhead['x-mailer'] =~ Re0[:'x-mailer']
|
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
|
+
markingset = { 'diagnosis' => false, 'command' => false }
|
54
|
+
v = nil
|
55
|
+
|
56
|
+
hasdivided.each do |e|
|
57
|
+
if readcursor.zero?
|
58
|
+
# Beginning of the bounce message or delivery status part
|
59
|
+
readcursor |= Indicators[:deliverystatus] if e =~ Re1[:begin]
|
60
|
+
end
|
61
|
+
|
62
|
+
if readcursor & Indicators[:'message-rfc822'] == 0
|
63
|
+
# Beginning of the original message part
|
64
|
+
if e =~ Re1[:rfc822]
|
65
|
+
readcursor |= Indicators[:'message-rfc822']
|
66
|
+
next
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
if readcursor & Indicators[:'message-rfc822'] > 0
|
71
|
+
# After "message/rfc822"
|
72
|
+
if e.empty?
|
73
|
+
blanklines += 1
|
74
|
+
break if blanklines > 1
|
75
|
+
next
|
76
|
+
end
|
77
|
+
rfc822list << e
|
78
|
+
|
79
|
+
else
|
80
|
+
# Before "message/rfc822"
|
81
|
+
next if readcursor & Indicators[:deliverystatus] == 0
|
82
|
+
next if e.empty?
|
83
|
+
|
84
|
+
# このメールは「m-FILTER」が自動的に生成して送信しています。
|
85
|
+
# メールサーバーとの通信中、下記の理由により
|
86
|
+
# このメールは送信できませんでした。
|
87
|
+
#
|
88
|
+
# 以下のメールアドレスへの送信に失敗しました。
|
89
|
+
# kijitora@example.jp
|
90
|
+
#
|
91
|
+
#
|
92
|
+
# -------server message
|
93
|
+
# 550 5.1.1 unknown user <kijitora@example.jp>
|
94
|
+
#
|
95
|
+
# -------SMTP command
|
96
|
+
# DATA
|
97
|
+
#
|
98
|
+
# -------original message
|
99
|
+
v = dscontents[-1]
|
100
|
+
|
101
|
+
if cv = e.match(/\A([^ ]+[@][^ ]+)\z/)
|
102
|
+
# 以下のメールアドレスへの送信に失敗しました。
|
103
|
+
# kijitora@example.jp
|
104
|
+
if v['recipient']
|
105
|
+
# There are multiple recipient addresses in the message body.
|
106
|
+
dscontents << Sisimai::Bite.DELIVERYSTATUS
|
107
|
+
v = dscontents[-1]
|
108
|
+
end
|
109
|
+
v['recipient'] = cv[1]
|
110
|
+
recipients += 1
|
111
|
+
|
112
|
+
elsif e =~ /\A[A-Z]{4}/
|
113
|
+
# -------SMTP command
|
114
|
+
# DATA
|
115
|
+
next if v['command']
|
116
|
+
v['command'] = e if markingset['command']
|
117
|
+
|
118
|
+
else
|
119
|
+
# Get error message and SMTP command
|
120
|
+
if e =~ Re1[:error]
|
121
|
+
# -------server message
|
122
|
+
markingset['diagnosis'] = true
|
123
|
+
|
124
|
+
elsif e =~ Re1[:command]
|
125
|
+
# -------SMTP command
|
126
|
+
markingset['command'] = true
|
127
|
+
|
128
|
+
else
|
129
|
+
# 550 5.1.1 unknown user <kijitora@example.jp>
|
130
|
+
next if e =~ /\A[-]+/
|
131
|
+
next if v['diagnosis']
|
132
|
+
v['diagnosis'] = e
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
return nil if recipients.zero?
|
138
|
+
require 'sisimai/string'
|
139
|
+
|
140
|
+
dscontents.map do |e|
|
141
|
+
if mhead['received'].size > 0
|
142
|
+
# Get localhost and remote host name from Received header.
|
143
|
+
rheads = mhead['received']
|
144
|
+
rhosts = Sisimai::RFC5322.received(rheads[-1])
|
145
|
+
|
146
|
+
e['lhost'] ||= Sisimai::RFC5322.received(rheads[0]).shift
|
147
|
+
rhosts.each do |ee|
|
148
|
+
# Avoid "... by m-FILTER"
|
149
|
+
next unless ee =~ /[.]/
|
150
|
+
e['rhost'] = ee
|
151
|
+
end
|
152
|
+
end
|
153
|
+
e['diagnosis'] = Sisimai::String.sweep(e['diagnosis'])
|
154
|
+
e['agent'] = self.smtpagent
|
155
|
+
e.each_key { |a| e[a] ||= '' }
|
156
|
+
end
|
157
|
+
|
158
|
+
rfc822part = Sisimai::RFC5322.weedout(rfc822list)
|
159
|
+
return { 'ds' => dscontents, 'rfc822' => rfc822part }
|
160
|
+
end
|
161
|
+
|
162
|
+
end
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
@@ -0,0 +1,253 @@
|
|
1
|
+
module Sisimai::Bite::Email
|
2
|
+
module MXLogic
|
3
|
+
# Sisimai::Bite::Email::MXLogic parses a bounce email which created by
|
4
|
+
# McAfee SaaS (formerly MX Logic).
|
5
|
+
# Methods in the module are called from only Sisimai::Message.
|
6
|
+
class << self
|
7
|
+
# Imported from p5-Sisimail/lib/Sisimai/Bite/Email/MXLogic.pm
|
8
|
+
# Based on Sisimai::Bite::Email::Exim
|
9
|
+
require 'sisimai/bite/email'
|
10
|
+
|
11
|
+
Re0 = {
|
12
|
+
:'from' => %r/\AMail Delivery System/,
|
13
|
+
:'subject' => %r{(?:
|
14
|
+
Mail[ ]delivery[ ]failed(:[ ]returning[ ]message[ ]to[ ]sender)?
|
15
|
+
|Warning:[ ]message[ ].+[ ]delayed[ ]+
|
16
|
+
|Delivery[ ]Status[ ]Notification
|
17
|
+
)
|
18
|
+
}x,
|
19
|
+
:'message-id' => %r/\A[<]mxl[~][0-9a-f]+/,
|
20
|
+
}
|
21
|
+
Re1 = {
|
22
|
+
:rfc822 => %r/\AIncluded is a copy of the message header:\z/,
|
23
|
+
:begin => %r/\AThis message was created automatically by mail delivery software[.]\z/,
|
24
|
+
:endof => %r/\A__END_OF_EMAIL_MESSAGE__\z/,
|
25
|
+
}
|
26
|
+
ReCommand = [
|
27
|
+
%r/SMTP error from remote (?:mail server|mailer) after ([A-Za-z]{4})/,
|
28
|
+
%r/SMTP error from remote (?:mail server|mailer) after end of ([A-Za-z]{4})/,
|
29
|
+
]
|
30
|
+
ReFailure = {
|
31
|
+
userunknown: %r{
|
32
|
+
user[ ]not[ ]found
|
33
|
+
}x,
|
34
|
+
hostunknown: %r{(?>
|
35
|
+
all[ ](?:
|
36
|
+
host[ ]address[ ]lookups[ ]failed[ ]permanently
|
37
|
+
|relevant[ ]MX[ ]records[ ]point[ ]to[ ]non[-]existent[ ]hosts
|
38
|
+
)
|
39
|
+
|Unrouteable[ ]address
|
40
|
+
)
|
41
|
+
}x,
|
42
|
+
mailboxfull: %r{(?:
|
43
|
+
mailbox[ ]is[ ]full:?
|
44
|
+
|error:[ ]quota[ ]exceed
|
45
|
+
)
|
46
|
+
}x,
|
47
|
+
notaccept: %r{(?:
|
48
|
+
an[ ]MX[ ]or[ ]SRV[ ]record[ ]indicated[ ]no[ ]SMTP[ ]service
|
49
|
+
|no[ ]host[ ]found[ ]for[ ]existing[ ]SMTP[ ]connection
|
50
|
+
)
|
51
|
+
}x,
|
52
|
+
systemerror: %r{(?>
|
53
|
+
delivery[ ]to[ ](?:file|pipe)[ ]forbidden
|
54
|
+
|local[ ]delivery[ ]failed
|
55
|
+
|LMTP[ ]error[ ]after[ ]
|
56
|
+
)
|
57
|
+
}x,
|
58
|
+
contenterror: %r{
|
59
|
+
Too[ ]many[ ]["]Received["][ ]headers
|
60
|
+
}x,
|
61
|
+
}
|
62
|
+
ReDelayed = %r{(?:
|
63
|
+
retry[ ]timeout[ ]exceeded
|
64
|
+
|No[ ]action[ ]is[ ]required[ ]on[ ]your[ ]part
|
65
|
+
|retry[ ]time[ ]not[ ]reached[ ]for[ ]any[ ]host[ ]after[ ]a[ ]long[ ]failure[ ]period
|
66
|
+
|all[ ]hosts[ ]have[ ]been[ ]failing[ ]for[ ]a[ ]long[ ]time[ ]and[ ]were[ ]last[ ]tried
|
67
|
+
|Delay[ ]reason:[ ]
|
68
|
+
|Message[ ].+[ ](?:has[ ]been[ ]frozen|was[ ]frozen[ ]on[ ]arrival[ ]by[ ])
|
69
|
+
)
|
70
|
+
}x
|
71
|
+
Indicators = Sisimai::Bite::Email.INDICATORS
|
72
|
+
|
73
|
+
def description; return 'McAfee SaaS'; end
|
74
|
+
def smtpagent; return Sisimai::Bite.smtpagent(self); end
|
75
|
+
# X-MX-Bounce: mta/src/queue/bounce
|
76
|
+
# X-MXL-NoteHash: ffffffffffffffff-0000000000000000000000000000000000000000
|
77
|
+
# X-MXL-Hash: 4c9d4d411993da17-bbd4212b6c887f6c23bab7db4bd87ef5edc00758
|
78
|
+
def headerlist; return ['X-MXL-NoteHash', 'X-MXL-Hash', 'X-MX-Bounce']; end
|
79
|
+
def pattern; return Re0; end
|
80
|
+
|
81
|
+
# Parse bounce messages from MXLogic
|
82
|
+
# @param [Hash] mhead Message headers of a bounce email
|
83
|
+
# @options mhead [String] from From header
|
84
|
+
# @options mhead [String] date Date header
|
85
|
+
# @options mhead [String] subject Subject header
|
86
|
+
# @options mhead [Array] received Received headers
|
87
|
+
# @options mhead [String] others Other required headers
|
88
|
+
# @param [String] mbody Message body of a bounce email
|
89
|
+
# @return [Hash, Nil] Bounce data list and message/rfc822
|
90
|
+
# part or nil if it failed to parse or
|
91
|
+
# the arguments are missing
|
92
|
+
def scan(mhead, mbody)
|
93
|
+
return nil unless mhead
|
94
|
+
return nil unless mbody
|
95
|
+
|
96
|
+
match = 0
|
97
|
+
match += 1 if mhead['x-mx-bounce']
|
98
|
+
match += 1 if mhead['x-mxl-hash']
|
99
|
+
match += 1 if mhead['x-mxl-notehash']
|
100
|
+
match += 1 if mhead['subject'] =~ Re0[:subject]
|
101
|
+
match += 1 if mhead['from'] =~ Re0[:from]
|
102
|
+
return nil if match.zero?
|
103
|
+
|
104
|
+
dscontents = [Sisimai::Bite.DELIVERYSTATUS]
|
105
|
+
hasdivided = mbody.split("\n")
|
106
|
+
rfc822list = [] # (Array) Each line in message/rfc822 part string
|
107
|
+
blanklines = 0 # (Integer) The number of blank lines
|
108
|
+
readcursor = 0 # (Integer) Points the current cursor position
|
109
|
+
recipients = 0 # (Integer) The number of 'Final-Recipient' header
|
110
|
+
localhost0 = '' # (String) Local MTA
|
111
|
+
v = nil
|
112
|
+
|
113
|
+
hasdivided.each do |e|
|
114
|
+
if readcursor.zero?
|
115
|
+
# Beginning of the bounce message or delivery status part
|
116
|
+
if e =~ Re1[:begin]
|
117
|
+
readcursor |= Indicators[:deliverystatus]
|
118
|
+
next
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
if readcursor & Indicators[:'message-rfc822'] == 0
|
123
|
+
# Beginning of the original message part
|
124
|
+
if e =~ Re1[:rfc822]
|
125
|
+
readcursor |= Indicators[:'message-rfc822']
|
126
|
+
next
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
if readcursor & Indicators[:'message-rfc822'] > 0
|
131
|
+
# After "message/rfc822"
|
132
|
+
if e.empty?
|
133
|
+
blanklines += 1
|
134
|
+
break if blanklines > 1
|
135
|
+
next
|
136
|
+
end
|
137
|
+
rfc822list << e
|
138
|
+
|
139
|
+
else
|
140
|
+
# Before "message/rfc822"
|
141
|
+
next if readcursor & Indicators[:deliverystatus] == 0
|
142
|
+
next if e.empty?
|
143
|
+
|
144
|
+
# This message was created automatically by mail delivery software.
|
145
|
+
#
|
146
|
+
# A message that you sent could not be delivered to one or more of its
|
147
|
+
# recipients. This is a permanent error. The following address(es) failed:
|
148
|
+
#
|
149
|
+
# kijitora@example.jp
|
150
|
+
# SMTP error from remote mail server after RCPT TO:<kijitora@example.jp>:
|
151
|
+
# host neko.example.jp [192.0.2.222]: 550 5.1.1 <kijitora@example.jp>... User Unknown
|
152
|
+
v = dscontents[-1]
|
153
|
+
|
154
|
+
if cv = e.match(/\A[ \t]*[<]([^ ]+[@][^ ]+)[>]:(.+)\z/)
|
155
|
+
# A message that you have sent could not be delivered to one or more
|
156
|
+
# recipients. This is a permanent error. The following address failed:
|
157
|
+
#
|
158
|
+
# <kijitora@example.co.jp>: 550 5.1.1 ...
|
159
|
+
if v['recipient']
|
160
|
+
# There are multiple recipient addresses in the message body.
|
161
|
+
dscontents << Sisimai::Bite.DELIVERYSTATUS
|
162
|
+
v = dscontents[-1]
|
163
|
+
end
|
164
|
+
v['recipient'] = cv[1]
|
165
|
+
v['diagnosis'] = cv[2]
|
166
|
+
recipients += 1
|
167
|
+
|
168
|
+
elsif dscontents.size == recipients
|
169
|
+
# Error message
|
170
|
+
next if e.empty?
|
171
|
+
v['diagnosis'] ||= ''
|
172
|
+
v['diagnosis'] += e + ' '
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|
176
|
+
return nil if recipients.zero?
|
177
|
+
|
178
|
+
if mhead['received'].size > 0
|
179
|
+
# Get the name of local MTA
|
180
|
+
# Received: from marutamachi.example.org (c192128.example.net [192.0.2.128])
|
181
|
+
if cv = mhead['received'][-1].match(/from[ ]([^ ]+) /)
|
182
|
+
localhost0 = cv[1]
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
require 'sisimai/string'
|
187
|
+
dscontents.map do |e|
|
188
|
+
e['agent'] = self.smtpagent
|
189
|
+
e['lhost'] = localhost0
|
190
|
+
|
191
|
+
e['diagnosis'] = e['diagnosis'].gsub(/[-]{2}.*\z/, '')
|
192
|
+
e['diagnosis'] = Sisimai::String.sweep(e['diagnosis'])
|
193
|
+
|
194
|
+
unless e['rhost']
|
195
|
+
# Get the remote host name
|
196
|
+
if cv = e['diagnosis'].match(/host[ ]+([^ \t]+)[ ]\[.+\]:[ ]/)
|
197
|
+
# host neko.example.jp [192.0.2.222]: 550 5.1.1 <kijitora@example.jp>... User Unknown
|
198
|
+
e['rhost'] = cv[1]
|
199
|
+
end
|
200
|
+
|
201
|
+
unless e['rhost']
|
202
|
+
if mhead['received'].size > 0
|
203
|
+
# Get localhost and remote host name from Received header.
|
204
|
+
e['rhost'] = Sisimai::RFC5322.received(mhead['received'][-1]).pop
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
unless e['command']
|
210
|
+
# Get the SMTP command name for the session
|
211
|
+
ReCommand.each do |r|
|
212
|
+
# Verify each regular expression of SMTP commands
|
213
|
+
if cv = e['diagnosis'].match(r)
|
214
|
+
e['command'] = cv[1].upcase
|
215
|
+
break
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
# Detect the reason of bounce
|
220
|
+
if e['command'] == 'MAIL'
|
221
|
+
# MAIL | Connected to 192.0.2.135 but sender was rejected.
|
222
|
+
e['reason'] = 'rejected'
|
223
|
+
|
224
|
+
elsif e['command'] =~ /\A(?:HELO|EHLO)\z/
|
225
|
+
# HELO | Connected to 192.0.2.135 but my name was rejected.
|
226
|
+
e['reason'] = 'blocked'
|
227
|
+
|
228
|
+
else
|
229
|
+
# Verify each regular expression of session errors
|
230
|
+
ReFailure.each_key do |r|
|
231
|
+
# Check each regular expression
|
232
|
+
next unless e['diagnosis'] =~ ReFailure[r]
|
233
|
+
e['reason'] = r.to_s
|
234
|
+
break
|
235
|
+
end
|
236
|
+
|
237
|
+
unless e['reason']
|
238
|
+
# The reason "expired"
|
239
|
+
e['reason'] = 'expired' if e['diagnosis'] =~ ReDelayed
|
240
|
+
end
|
241
|
+
end
|
242
|
+
end
|
243
|
+
e.each_key { |a| e[a] ||= '' }
|
244
|
+
end
|
245
|
+
|
246
|
+
rfc822part = Sisimai::RFC5322.weedout(rfc822list)
|
247
|
+
return { 'ds' => dscontents, 'rfc822' => rfc822part }
|
248
|
+
end
|
249
|
+
|
250
|
+
end
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|