Skip to content

v4.25.6

Compare
Choose a tag to compare
@azumakuniyuki azumakuniyuki released this 22 Apr 07:20
· 184 commits to master since this release
  • Performance improvement: 10% faster, reduced 9% of method calls
  • #176 Make Sisimai::Message 27% faster
    • Use the negative look-ahead regular expression code to convert all of the email header strings into key-value pairs as a HASH at newly implemented method Sisiai::Message.makemap #175. Thanks to @xtetsuji
    • Remove Sisimai::Message.takeapart (replaced with makemap)
    • Remove Sisimai::Message.headers (replaced with makemap)
    • Code improvement for require statement before method calls #177
  • Make Sisimai::Order 44% faster
    • Rewrite Sisimai::Order.make
    • Remove Sisimai::Order.by
    • Remove Sisimai::Order.headers
    • Remove Sisimai::Lhost.headerlist
    • And all headerlist method have been removed from Sisimai::Lhost::*, Sisimai::RFC3834 and Sisimai::ARF
    • The MTA module to be loaded at first is decided by the first 2 words of each bounce mail subject, is defined at Subject in Sisimai::Order
    • Some variables are replaced with state
  • Each field parameter has been removed from the following methods because Sisimai detect all the email header fields by Sisimai::Message.makemap() without having to specify field names at field parameter
    • Sisimai.make
    • Sisimai::Message.new
    • Sisimai::Message.make
  • Code improvement for require statement before calling match() method of some modules defined in $PreMatches at Sisimai::Reason::UserUnknown
  • Remove the following unused methods:
    • Sisimai::MIME.patterns
    • Sisimai::SMTP.command
  • Sisimai::Lhost::Google has been renamed to Sisimai::Lhost::Gmail
  • Implement 3 MTA modules: #178 #181
    • Sisimai::Lhost::Barracuda
    • Sisimai::Lhost::PowerMTA
    • Sisimai::Lhost::X6
    • Sisimai::Lhost::GoogleGroups
  • "email-" prefix of each sample email in set-of-emails/maildir directory has been replaced with "lhost-" sisimai/set-of-emails#14
  • SMTP Agent improvement #158
    • Remove Email:: prefix from the value of smtpagent at parsed results
    • Remove Sisimai::Lhost->smtpagent method
  • Improved the following MTA modules:
    • Sisimai::Lhost::Amavis #183
    • Sisimai::Lhost::InterScanMSS
    • Sisimai::Lhost::Office365 improvement for reading MIME-encoded subject
    • Sisimai::Lhost::Exchange2007 supports error messages in it-CH
  • Tiny bug fix for Subject header decoding
  • Fix bug in code for getting an "addresser" address from From: field in the original message part which are multiple lines at Sisimai::ARF. #185
  • New accessor origin at Sisimai::Data and the parsed results for keeping a path to the source email #186
  • #187 Sisimai::Mail improvement for compatibilities with the Go language version of Sisimai which will be released this summer
    • Removed Sisimai::Mail::STDIN.name (not used)
    • Removed Sisimai::Mail::Maildir.inodes (not needed to check the inode)
    • Removed Sisimai::Mail::Maildir.count (use offset instead)
    • Warning message is displayed when the following methods are called:
      • Sisimai::Mail.close (automatically closes at the EOF)
      • Sisimai::Mail.type (use Sisimai::Mail.kind instead)
      • Sisimai::Mail.mail.* (use Sisimai::Mail.data.* instead)
      • Methods above will be removed at v4.25.10
    • Sisimai::Mail::Memory.data renamed to Sisimai::Mail::Memory.payload
    • Sisimai::Mail::Maildir.size keeps the number of files in the Maildir/
    • Sisimai::Mail::Maildir.offset keeps the number of email files in the Maildir/ which have been read
    • Call Sisimai::Mail::*.read directly instead of Sisimai::Mail.read
    • Remove Sisimai::Lhost::UserDefined (not used)
  • Add the following D.S.N. codes and error messages (not tested)
    • Mailbox does not exist! at Sisimai::Reason::UserUnknown (Amazon SES)
    • Not a valid recipienet at Sisimai::Reason::UserUnknown (Yahoo!)
    • Envelope blocked at Sisimai::Reason::Rejected (Minecast.com)
    • 5.2.122 is toomanyconn, 5.4.11 is contenterror, 5.7.51 is blocked at Sisimai::Rhost::ExchangeOnline