]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mailers: warn about deprecated legacy mailers
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 23 Sep 2024 10:05:18 +0000 (12:05 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Mon, 23 Sep 2024 18:16:27 +0000 (20:16 +0200)
commitd622f9d5b6c391fa650786a07c7d4eb23b3cd5b1
tree23f7d0bf5f5ab4e10baed28c9c028e7a8c8f1484
parentcdaa749ba0778fb5ffd7797df5be9c9387005eca
MEDIUM: mailers: warn about deprecated legacy mailers

As mentioned in 2.8 announce on the mailing list [1] and on the wiki [2],
use of legacy mailers is now deprecated and will not be supported anymore
starting with version 3.3. Use of Lua script (AKA Lua mailers) is now
encouraged (and fully supported since 2.8) for this purpose, as it offers
more flexibility (e.g: alerts can be customized) and is more future-proof.

Configurations relying on legacy mailers will now raise a warning.

Users willing to keep their existing mailers config in a working state
should simply add the following line to their global section:

   # mailers.lua file as provided in the git repository
   # adjust path as needed
   lua-load examples/lua/mailers.lua

[1]: https://www.mail-archive.com/haproxy@formilux.org/msg43600.html
[2]: https://github.com/haproxy/wiki/wiki/Breaking-changes
doc/configuration.txt
src/mailers.c