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,141 @@
|
|
1
|
+
module Sisimai::Bite::Email
|
2
|
+
module X3
|
3
|
+
# Sisimai::Bite::Email::X3 parses a bounce email which created by Unknown
|
4
|
+
# MTA #3. Methods in the module are called from only Sisimai::Message.
|
5
|
+
class << self
|
6
|
+
# Imported from p5-Sisimail/lib/Sisimai/Bite/Email/X3.pm
|
7
|
+
require 'sisimai/bite/email'
|
8
|
+
|
9
|
+
Re0 = {
|
10
|
+
:from => %r/\AMail Delivery System/,
|
11
|
+
:subject => %r/\ADelivery status notification/,
|
12
|
+
}
|
13
|
+
Re1 = {
|
14
|
+
:begin => %r/\A[ \t]+This is an automatically generated Delivery Status Notification/,
|
15
|
+
:rfc822 => %r|\AContent-Type: message/rfc822|,
|
16
|
+
:endof => %r/\A__END_OF_EMAIL_MESSAGE__\z/,
|
17
|
+
}
|
18
|
+
Indicators = Sisimai::Bite::Email.INDICATORS
|
19
|
+
|
20
|
+
def description; return 'Unknown MTA #3'; end
|
21
|
+
def smtpagent; return Sisimai::Bite.smtpagent(self); end
|
22
|
+
def headerlist; return []; end
|
23
|
+
def pattern; return Re0; end
|
24
|
+
|
25
|
+
# Parse bounce messages from Unknown MTA #3
|
26
|
+
# @param [Hash] mhead Message headers of a bounce email
|
27
|
+
# @options mhead [String] from From header
|
28
|
+
# @options mhead [String] date Date header
|
29
|
+
# @options mhead [String] subject Subject header
|
30
|
+
# @options mhead [Array] received Received headers
|
31
|
+
# @options mhead [String] others Other required headers
|
32
|
+
# @param [String] mbody Message body of a bounce email
|
33
|
+
# @return [Hash, Nil] Bounce data list and message/rfc822
|
34
|
+
# part or nil if it failed to parse or
|
35
|
+
# the arguments are missing
|
36
|
+
def scan(mhead, mbody)
|
37
|
+
return nil unless mhead
|
38
|
+
return nil unless mbody
|
39
|
+
return nil unless mhead['subject'] =~ Re0[:subject]
|
40
|
+
return nil unless mhead['from'] =~ Re0[:from]
|
41
|
+
|
42
|
+
dscontents = [Sisimai::Bite.DELIVERYSTATUS]
|
43
|
+
hasdivided = mbody.split("\n")
|
44
|
+
rfc822list = [] # (Array) Each line in message/rfc822 part string
|
45
|
+
blanklines = 0 # (Integer) The number of blank lines
|
46
|
+
readcursor = 0 # (Integer) Points the current cursor position
|
47
|
+
recipients = 0 # (Integer) The number of 'Final-Recipient' header
|
48
|
+
v = nil
|
49
|
+
|
50
|
+
hasdivided.each do |e|
|
51
|
+
if readcursor.zero?
|
52
|
+
# Beginning of the bounce message or delivery status part
|
53
|
+
if e =~ Re1[:begin]
|
54
|
+
readcursor |= Indicators[:deliverystatus]
|
55
|
+
next
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
if readcursor & Indicators[:'message-rfc822'] == 0
|
60
|
+
# Beginning of the original message part
|
61
|
+
if e =~ Re1[:rfc822]
|
62
|
+
readcursor |= Indicators[:'message-rfc822']
|
63
|
+
next
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
if readcursor & Indicators[:'message-rfc822'] > 0
|
68
|
+
# After "message/rfc822"
|
69
|
+
if e.empty?
|
70
|
+
blanklines += 1
|
71
|
+
break if blanklines > 1
|
72
|
+
next
|
73
|
+
end
|
74
|
+
rfc822list << e
|
75
|
+
|
76
|
+
else
|
77
|
+
# Before "message/rfc822"
|
78
|
+
next if readcursor & Indicators[:deliverystatus] == 0
|
79
|
+
next if e.empty?
|
80
|
+
|
81
|
+
# ============================================================================
|
82
|
+
# This is an automatically generated Delivery Status Notification.
|
83
|
+
#
|
84
|
+
# Delivery to the following recipients failed permanently:
|
85
|
+
#
|
86
|
+
# * kijitora@example.com
|
87
|
+
#
|
88
|
+
#
|
89
|
+
# ============================================================================
|
90
|
+
# Technical details:
|
91
|
+
#
|
92
|
+
# SMTP:RCPT host 192.0.2.8: 553 5.3.0 <kijitora@example.com>... No such user here
|
93
|
+
#
|
94
|
+
#
|
95
|
+
# ============================================================================
|
96
|
+
v = dscontents[-1]
|
97
|
+
|
98
|
+
if cv = e.match(/\A[ \t]+[*][ ]([^ ]+[@][^ ]+)\z/)
|
99
|
+
# * kijitora@example.com
|
100
|
+
if v['recipient']
|
101
|
+
# There are multiple recipient addresses in the message body.
|
102
|
+
dscontents << Sisimai::Bite.DELIVERYSTATUS
|
103
|
+
v = dscontents[-1]
|
104
|
+
end
|
105
|
+
v['recipient'] = cv[1]
|
106
|
+
recipients += 1
|
107
|
+
|
108
|
+
else
|
109
|
+
# Detect error message
|
110
|
+
if cv = e.match(/\ASMTP:([^ ]+)[ ](.+)\z/)
|
111
|
+
# SMTP:RCPT host 192.0.2.8: 553 5.3.0 <kijitora@example.com>... No such user here
|
112
|
+
v['command'] = cv[1].upcase
|
113
|
+
v['diagnosis'] = cv[2]
|
114
|
+
|
115
|
+
elsif cv = e.match(/\ARouting: (.+)/)
|
116
|
+
# Routing: Could not find a gateway for kijitora@example.co.jp
|
117
|
+
v['diagnosis'] = cv[1]
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
return nil if recipients.zero?
|
124
|
+
require 'sisimai/string'
|
125
|
+
require 'sisimai/smtp/status'
|
126
|
+
|
127
|
+
dscontents.map do |e|
|
128
|
+
e['agent'] = self.smtpagent
|
129
|
+
e['diagnosis'] = Sisimai::String.sweep(e['diagnosis'])
|
130
|
+
e['status'] = Sisimai::SMTP::Status.find(e['diagnosis'])
|
131
|
+
e.each_key { |a| e[a] ||= '' }
|
132
|
+
end
|
133
|
+
|
134
|
+
rfc822part = Sisimai::RFC5322.weedout(rfc822list)
|
135
|
+
return { 'ds' => dscontents, 'rfc822' => rfc822part }
|
136
|
+
end
|
137
|
+
|
138
|
+
end
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
@@ -0,0 +1,325 @@
|
|
1
|
+
module Sisimai::Bite::Email
|
2
|
+
module X4
|
3
|
+
# Sisimai::Bite::Email::X4 parses a bounce email which created by some qmail
|
4
|
+
# clone. Methods in the module are called from only Sisimai::Message.
|
5
|
+
class << self
|
6
|
+
# Imported from p5-Sisimail/lib/Sisimai/Bite/Email/X4.pm
|
7
|
+
# MTA module for qmail clones
|
8
|
+
require 'sisimai/bite/email'
|
9
|
+
|
10
|
+
Re0 = {
|
11
|
+
:subject => %r{\A(?:
|
12
|
+
failure[ ]notice
|
13
|
+
|Permanent[ ]Delivery[ ]Failure
|
14
|
+
)
|
15
|
+
}xi,
|
16
|
+
:received => %r/\A[(]qmail[ ]+\d+[ ]+invoked[ ]+for[ ]+bounce[)]/,
|
17
|
+
}
|
18
|
+
# qmail-remote.c:248| if (code >= 500) {
|
19
|
+
# qmail-remote.c:249| out("h"); outhost(); out(" does not like recipient.\n");
|
20
|
+
# qmail-remote.c:265| if (code >= 500) quit("D"," failed on DATA command");
|
21
|
+
# qmail-remote.c:271| if (code >= 500) quit("D"," failed after I sent the message");
|
22
|
+
#
|
23
|
+
# Characters: K,Z,D in qmail-qmqpc.c, qmail-send.c, qmail-rspawn.c
|
24
|
+
# K = success, Z = temporary error, D = permanent error
|
25
|
+
Re1 = {
|
26
|
+
:begin => %r{\A(?>
|
27
|
+
He/Her[ ]is[ ]not.+[ ]user
|
28
|
+
|Hi[.][ ].+[ ]unable[ ]to[ ]deliver[ ]your[ ]message[ ]to[ ]
|
29
|
+
the[ ]following[ ]addresses
|
30
|
+
|Su[ ]mensaje[ ]no[ ]pudo[ ]ser[ ]entregado
|
31
|
+
|This[ ]is[ ]the[ ](?:
|
32
|
+
machine[ ]generated[ ]message[ ]from[ ]mail[ ]service
|
33
|
+
|mail[ ]delivery[ ]agent[ ]at
|
34
|
+
)
|
35
|
+
|Unable[ ]to[ ]deliver[ ]message[ ]to[ ]the[ ]following[ ]address
|
36
|
+
|Unfortunately,[ ]your[ ]mail[ ]was[ ]not[ ]delivered[ ]to[ ]the[ ]following[ ]address:
|
37
|
+
|Your[ ](?:
|
38
|
+
mail[ ]message[ ]to[ ]the[ ]following[ ]address
|
39
|
+
|message[ ]to[ ]the[ ]following[ ]addresses
|
40
|
+
)
|
41
|
+
|We're[ ]sorry[.]
|
42
|
+
)
|
43
|
+
}ix,
|
44
|
+
:rfc822 => %r{\A(?:
|
45
|
+
---[ ]Below[ ]this[ ]line[ ]is[ ]a[ ]copy[ ]of[ ]the[ ]message[.]
|
46
|
+
|---[ ]Original[ ]message[ ]follows[.]
|
47
|
+
)
|
48
|
+
}xi,
|
49
|
+
:error => %r/\ARemote host said:/,
|
50
|
+
:sorry => %r/\A[Ss]orry[,.][ ]/,
|
51
|
+
:endof => %r/\A__END_OF_EMAIL_MESSAGE__\z/,
|
52
|
+
}
|
53
|
+
ReSMTP = {
|
54
|
+
# Error text regular expressions which defined in qmail-remote.c
|
55
|
+
# qmail-remote.c:225| if (smtpcode() != 220) quit("ZConnected to "," but greeting failed");
|
56
|
+
conn: %r/(?:Error:)?Connected[ ]to[ ].+[ ]but[ ]greeting[ ]failed[.]/x,
|
57
|
+
# qmail-remote.c:231| if (smtpcode() != 250) quit("ZConnected to "," but my name was rejected");
|
58
|
+
ehlo: %r/(?:Error:)?Connected[ ]to[ ].+[ ]but[ ]my[ ]name[ ]was[ ]rejected[.]/x,
|
59
|
+
# qmail-remote.c:238| if (code >= 500) quit("DConnected to "," but sender was rejected");
|
60
|
+
# reason = rejected
|
61
|
+
mail: %r/(?:Error:)?Connected[ ]to[ ].+[ ]but[ ]sender[ ]was[ ]rejected[.]/x,
|
62
|
+
# qmail-remote.c:249| out("h"); outhost(); out(" does not like recipient.\n");
|
63
|
+
# qmail-remote.c:253| out("s"); outhost(); out(" does not like recipient.\n");
|
64
|
+
# reason = userunknown
|
65
|
+
rcpt: %r/(?:Error:)?.+[ ]does[ ]not[ ]like[ ]recipient[.]/x,
|
66
|
+
# qmail-remote.c:265| if (code >= 500) quit("D"," failed on DATA command");
|
67
|
+
# qmail-remote.c:266| if (code >= 400) quit("Z"," failed on DATA command");
|
68
|
+
# qmail-remote.c:271| if (code >= 500) quit("D"," failed after I sent the message");
|
69
|
+
# qmail-remote.c:272| if (code >= 400) quit("Z"," failed after I sent the message");
|
70
|
+
data: %r{(?:
|
71
|
+
(?:Error:)?.+[ ]failed[ ]on[ ]DATA[ ]command[.]
|
72
|
+
|(?:Error:)?.+[ ]failed[ ]after[ ]I[ ]sent[ ]the[ ]message[.]
|
73
|
+
)
|
74
|
+
}x,
|
75
|
+
}
|
76
|
+
# qmail-remote.c:261| if (!flagbother) quit("DGiving up on ","");
|
77
|
+
ReHost = %r{(?:
|
78
|
+
Giving[ ]up[ ]on[ ](.+[0-9a-zA-Z])[.]?\z
|
79
|
+
|Connected[ ]to[ ]([-0-9a-zA-Z.]+[0-9a-zA-Z])[ ]
|
80
|
+
|remote[ ]host[ ]([-0-9a-zA-Z.]+[0-9a-zA-Z])[ ]said:
|
81
|
+
)
|
82
|
+
}x
|
83
|
+
# qmail-ldap-1.03-20040101.patch:19817 - 19866
|
84
|
+
ReLDAP = {
|
85
|
+
suspend: %r/Mailaddress is administrative?le?y disabled/, # 5.2.1
|
86
|
+
userunknown: %r/[Ss]orry, no mailbox here by that name/, # 5.1.1
|
87
|
+
exceedlimit: %r/The message exeeded the maximum size the user accepts/, # 5.2.3
|
88
|
+
systemerror: %r{(?>
|
89
|
+
Automatic[ ]homedir[ ]creator[ ]crashed # 4.3.0
|
90
|
+
|Illegal[ ]value[ ]in[ ]LDAP[ ]attribute # 5.3.5
|
91
|
+
|LDAP[ ]attribute[ ]is[ ]not[ ]given[ ]but[ ]mandatory # 5.3.5
|
92
|
+
|Timeout[ ]while[ ]performing[ ]search[ ]on[ ]LDAP[ ]server # 4.4.3
|
93
|
+
|Too[ ]many[ ]results[ ]returned[ ]but[ ]needs[ ]to[ ]be[ ]unique # 5.3.5
|
94
|
+
|Permanent[ ]error[ ]while[ ]executing[ ]qmail[-]forward # 5.4.4
|
95
|
+
|Temporary[ ](?:
|
96
|
+
error[ ](?:
|
97
|
+
in[ ]automatic[ ]homedir[ ]creation # 4.3.0 or 5.3.0
|
98
|
+
|while[ ]executing[ ]qmail[-]forward # 4.4.4
|
99
|
+
)
|
100
|
+
|failure[ ]in[ ]LDAP[ ]lookup # 4.4.3
|
101
|
+
)
|
102
|
+
|Unable[ ]to[ ](?:
|
103
|
+
contact[ ]LDAP[ ]server # 4.4.3
|
104
|
+
|login[ ]into[ ]LDAP[ ]server,[ ]bad[ ]credentials # 4.4.3
|
105
|
+
)
|
106
|
+
)
|
107
|
+
}x,
|
108
|
+
}
|
109
|
+
# userunknown + expired
|
110
|
+
ReOnHold = %r/\A[^ ]+ does not like recipient[.][ ]+.+this message has been in the queue too long[.]\z/
|
111
|
+
# qmail-remote-fallback.patch
|
112
|
+
ReCommand = %r/Sorry,[ ]no[ ]SMTP[ ]connection[ ]got[ ]far[ ]enough;[ ]most[ ]progress[ ]was[ ]([A-Z]{4})[ ]/x
|
113
|
+
ReFailure = {
|
114
|
+
# qmail-local.c:589| strerr_die1x(100,"Sorry, no mailbox here by that name. (#5.1.1)");
|
115
|
+
# qmail-remote.c:253| out("s"); outhost(); out(" does not like recipient.\n");
|
116
|
+
userunknown: %r{(?:
|
117
|
+
no[ ]mailbox[ ]here[ ]by[ ]that[ ]name
|
118
|
+
|[ ]does[ ]not[ ]like[ ]recipient[.]
|
119
|
+
)
|
120
|
+
}x,
|
121
|
+
# error_str.c:192| X(EDQUOT,"disk quota exceeded")
|
122
|
+
mailboxfull: %r/disk[ ]quota[ ]exceeded/x,
|
123
|
+
# qmail-qmtpd.c:233| ... result = "Dsorry, that message size exceeds my databytes limit (#5.3.4)";
|
124
|
+
# qmail-smtpd.c:391| ... out("552 sorry, that message size exceeds my databytes limit (#5.3.4)\r\n"); return;
|
125
|
+
mesgtoobig: %r/Message[ ]size[ ]exceeds[ ]fixed[ ]maximum[ ]message[ ]size:/x,
|
126
|
+
# qmail-remote.c:68| Sorry, I couldn't find any host by that name. (#4.1.2)\n"); zerodie();
|
127
|
+
# qmail-remote.c:78| Sorry, I couldn't find any host named ");
|
128
|
+
hostunknown: %r/\ASorry[,][ ]I[ ]couldn[']t[ ]find[ ]any[ ]host[ ]/x,
|
129
|
+
systemerror: %r{(?>
|
130
|
+
bad[ ]interpreter:[ ]No[ ]such[ ]file[ ]or[ ]directory
|
131
|
+
|system[ ]error
|
132
|
+
|Unable[ ]to\b
|
133
|
+
)
|
134
|
+
}x,
|
135
|
+
networkerror: %r{Sorry(?:
|
136
|
+
[,][ ]I[ ]wasn[']t[ ]able[ ]to[ ]establish[ ]an[ ]SMTP[ ]connection
|
137
|
+
|[,][ ]I[ ]couldn[']t[ ]find[ ]a[ ]mail[ ]exchanger[ ]or[ ]IP[ ]address
|
138
|
+
|[.][ ]Although[ ]I[']m[ ]listed[ ]as[ ]a[ ]best[-]preference[ ]MX[ ]or[ ]A[ ]for[ ]that[ ]host
|
139
|
+
)
|
140
|
+
}x,
|
141
|
+
systemfull: %r/Requested action not taken: mailbox unavailable [(]not enough free space[)]/,
|
142
|
+
}
|
143
|
+
# qmail-send.c:922| ... (&dline[c],"I'm not going to try again; this message has been in the queue too long.\n")) nomem();
|
144
|
+
ReDelayed = %r/this[ ]message[ ]has[ ]been[ ]in[ ]the[ ]queue[ ]too[ ]long[.]\z/x
|
145
|
+
Indicators = Sisimai::Bite::Email.INDICATORS
|
146
|
+
|
147
|
+
def description; return 'Unknown MTA #4'; end
|
148
|
+
def smtpagent; return Sisimai::Bite.smtpagent(self); end
|
149
|
+
def headerlist; return []; end
|
150
|
+
def pattern; return Re0; end
|
151
|
+
|
152
|
+
# Parse bounce messages from Unknown MTA #4
|
153
|
+
# @param [Hash] mhead Message headers of a bounce email
|
154
|
+
# @options mhead [String] from From header
|
155
|
+
# @options mhead [String] date Date header
|
156
|
+
# @options mhead [String] subject Subject header
|
157
|
+
# @options mhead [Array] received Received headers
|
158
|
+
# @options mhead [String] others Other required headers
|
159
|
+
# @param [String] mbody Message body of a bounce email
|
160
|
+
# @return [Hash, Nil] Bounce data list and message/rfc822
|
161
|
+
# part or nil if it failed to parse or
|
162
|
+
# the arguments are missing
|
163
|
+
def scan(mhead, mbody)
|
164
|
+
return nil unless mhead
|
165
|
+
return nil unless mbody
|
166
|
+
|
167
|
+
# Pre process email headers and the body part of the message which generated
|
168
|
+
# by qmail, see http://cr.yp.to/qmail.html
|
169
|
+
# e.g.) Received: (qmail 12345 invoked for bounce); 29 Apr 2009 12:34:56 -0000
|
170
|
+
# Subject: failure notice
|
171
|
+
match = 0
|
172
|
+
match += 1 if mhead['subject'] =~ Re0[:subject]
|
173
|
+
match += 1 if mhead['received'].find { |a| a =~ Re0[:received] }
|
174
|
+
return nil if match.zero?
|
175
|
+
|
176
|
+
dscontents = [Sisimai::Bite.DELIVERYSTATUS]
|
177
|
+
hasdivided = mbody.split("\n")
|
178
|
+
rfc822list = [] # (Array) Each line in message/rfc822 part string
|
179
|
+
blanklines = 0 # (Integer) The number of blank lines
|
180
|
+
readcursor = 0 # (Integer) Points the current cursor position
|
181
|
+
recipients = 0 # (Integer) The number of 'Final-Recipient' header
|
182
|
+
v = nil
|
183
|
+
|
184
|
+
hasdivided.each do |e|
|
185
|
+
if readcursor.zero?
|
186
|
+
# Beginning of the bounce message or delivery status part
|
187
|
+
if e =~ Re1[:begin]
|
188
|
+
readcursor |= Indicators[:deliverystatus]
|
189
|
+
next
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
if readcursor & Indicators[:'message-rfc822'] == 0
|
194
|
+
# Beginning of the original message part
|
195
|
+
if e =~ Re1[:rfc822]
|
196
|
+
readcursor |= Indicators[:'message-rfc822']
|
197
|
+
next
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
if readcursor & Indicators[:'message-rfc822'] > 0
|
202
|
+
# After "message/rfc822"
|
203
|
+
if e.empty?
|
204
|
+
blanklines += 1
|
205
|
+
break if blanklines > 1
|
206
|
+
next
|
207
|
+
end
|
208
|
+
rfc822list << e
|
209
|
+
|
210
|
+
else
|
211
|
+
# Before "message/rfc822"
|
212
|
+
next if readcursor & Indicators[:deliverystatus] == 0
|
213
|
+
next if e.empty?
|
214
|
+
|
215
|
+
# <kijitora@example.jp>:
|
216
|
+
# 192.0.2.153 does not like recipient.
|
217
|
+
# Remote host said: 550 5.1.1 <kijitora@example.jp>... User Unknown
|
218
|
+
# Giving up on 192.0.2.153.
|
219
|
+
v = dscontents[-1]
|
220
|
+
|
221
|
+
if cv = e.match(/\A(?:To[ ]*:)?[<](.+[@].+)[>]:[ ]*\z/)
|
222
|
+
# <kijitora@example.jp>:
|
223
|
+
if v['recipient']
|
224
|
+
# There are multiple recipient addresses in the message body.
|
225
|
+
dscontents << Sisimai::Bite.DELIVERYSTATUS
|
226
|
+
v = dscontents[-1]
|
227
|
+
end
|
228
|
+
v['recipient'] = cv[1]
|
229
|
+
recipients += 1
|
230
|
+
|
231
|
+
elsif dscontents.size == recipients
|
232
|
+
# Append error message
|
233
|
+
next if e.empty?
|
234
|
+
v['diagnosis'] ||= ''
|
235
|
+
v['diagnosis'] += e + ' '
|
236
|
+
v['alterrors'] = e if e =~ Re1[:error]
|
237
|
+
|
238
|
+
next if v['rhost']
|
239
|
+
if cv = e.match(ReHost)
|
240
|
+
v['rhost'] = cv[1]
|
241
|
+
end
|
242
|
+
end
|
243
|
+
end
|
244
|
+
end
|
245
|
+
return nil if recipients.zero?
|
246
|
+
require 'sisimai/string'
|
247
|
+
|
248
|
+
dscontents.map do |e|
|
249
|
+
e['agent'] = self.smtpagent
|
250
|
+
e['diagnosis'] = Sisimai::String.sweep(e['diagnosis'])
|
251
|
+
|
252
|
+
unless e['command']
|
253
|
+
# Get the SMTP command name for the session
|
254
|
+
ReSMTP.each_key do |r|
|
255
|
+
# Verify each regular expression of SMTP commands
|
256
|
+
next unless e['diagnosis'] =~ ReSMTP[r]
|
257
|
+
e['command'] = r.to_s.upcase
|
258
|
+
break
|
259
|
+
end
|
260
|
+
|
261
|
+
unless e['command']
|
262
|
+
# Verify each regular expression of patches
|
263
|
+
if cv = e['diagnosis'].match(ReCommand)
|
264
|
+
e['command'] = cv[1].upcase
|
265
|
+
end
|
266
|
+
e['command'] ||= ''
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
270
|
+
# Detect the reason of bounce
|
271
|
+
if e['command'] == 'MAIL'
|
272
|
+
# MAIL | Connected to 192.0.2.135 but sender was rejected.
|
273
|
+
e['reason'] = 'rejected'
|
274
|
+
|
275
|
+
elsif e['command'] =~ /\A(?:HELO|EHLO)\z/
|
276
|
+
# HELO | Connected to 192.0.2.135 but my name was rejected.
|
277
|
+
e['reason'] = 'blocked'
|
278
|
+
|
279
|
+
else
|
280
|
+
# Try to match with each error message in the table
|
281
|
+
if e['diagnosis'] =~ ReOnHold
|
282
|
+
# To decide the reason require pattern match with
|
283
|
+
# Sisimai::Reason::* modules
|
284
|
+
e['reason'] = 'onhold'
|
285
|
+
|
286
|
+
else
|
287
|
+
ReFailure.each_key do |r|
|
288
|
+
# Verify each regular expression of session errors
|
289
|
+
if e['alterrors']
|
290
|
+
# Check the value of "alterrors"
|
291
|
+
next unless e['alterrors'] =~ ReFailure[r]
|
292
|
+
e['reason'] = r.to_s
|
293
|
+
end
|
294
|
+
break if e['reason']
|
295
|
+
|
296
|
+
next unless e['diagnosis'] =~ ReFailure[r]
|
297
|
+
e['reason'] = r.to_s
|
298
|
+
break
|
299
|
+
end
|
300
|
+
|
301
|
+
unless e['reason']
|
302
|
+
ReLDAP.each_key do |r|
|
303
|
+
# Verify each regular expression of LDAP errors
|
304
|
+
next unless e['diagnosis'] =~ ReLDAP[r]
|
305
|
+
e['reason'] = r.to_s
|
306
|
+
break
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
310
|
+
unless e['reason']
|
311
|
+
e['reason'] = 'expired' if e['diagnosis'] =~ ReDelayed
|
312
|
+
end
|
313
|
+
end
|
314
|
+
end
|
315
|
+
e.each_key { |a| e[a] ||= '' }
|
316
|
+
end
|
317
|
+
|
318
|
+
rfc822part = Sisimai::RFC5322.weedout(rfc822list)
|
319
|
+
return { 'ds' => dscontents, 'rfc822' => rfc822part }
|
320
|
+
end
|
321
|
+
|
322
|
+
end
|
323
|
+
end
|
324
|
+
end
|
325
|
+
|