Skip to content

Releases: onlime/sendmail-wrapper

1.1.0

31 Mar 14:52
6e8733f
Compare
Choose a tag to compare
  • Breaking change: Moved sendmail command-line options -t -i from Sendmail-wrapper config (sendmailCmd in config.ini) to the recommended sendmail_path configuration in php.ini to avoid problems with Symfony Mailer. see Upgrading notes for details.
  • Dropping support for PHP < 7.4
  • Cleanup: Added type declaratinos to function arguments, return values.
  • Added laravel/pint as dev dependency and applied PHP style fixes by Pint.

1.0.7

27 Feb 18:31
Compare
Choose a tag to compare
  • Added config option trottle.ignoreExceptions to ignore exceptions while throttling, allowing fail safety if e.g. db server goes away.
  • Added a limit to explode() to prevent the truncation of IPv6 addresses in the x-meta-client header. #7 by @skysky6
  • Pushed minimum required PHP version to 7.3
  • Minor code cleanup

1.0.6

24 Jul 12:01
Compare
Choose a tag to compare
  • Avoid PHP Notices on non-standard mail header lines that don't contain a column, reporting warning to syslog.
  • Add sender_host to messages table, reporting the connected sendmail-wrapper hostname, in case the MySQL database is located on a remote host and sendmail-wrapper is deployed to multiple hosts.

1.0.5

29 Oct 09:18
Compare
Choose a tag to compare
  • Fix for newline after whoami shell output, which broke message logging to syslog.
  • Introduce new configuration flag throttle.blocked to completely block a user without changing his limits and without reporting to admin.

1.0.4

18 Oct 13:34
Compare
Choose a tag to compare
  • Ensure auto_prepend_file (prepend.php) is not loaded in sendmail-wrapper as it would override the passed env vars
  • Fix PHP Notices 'Only variables should be passed by reference' in SendmailThrottle message logging

1.0.3

14 Oct 07:40
Compare
Choose a tag to compare
  • Fix for PHP setup where extensions are not compiled-in, loaded as modules. Standard php.ini is now loaded. fixes #1, #4
  • Code style: replaced traditional syntax array literals
  • Code smells: fixes various minor code smells
  • Pushed minimum required PHP version to 7.2
  • Improved array to object conversion in ConfigLoader by using json_encode/decode trick.
  • Removed DEFAULT values for TEXT columns in MySQL sendmailwrapper.messages table, fixes #5