[2.1.0] - 2023-02-01
Added
- A public memcached plugin. (#974)
- A
env
function, enable fetching environment variables invsl
scripts. (#927)
exported globally and available in theunix
module.
fn on_config(config) {
config.app.vsl.filter_path = env("VSMTP_FILTER_PATH");
config
}
- The
user_exist
,env
andhostname
functions are available in the config scripts. (#927) - Support for fqdn in the
config.server.interfaces
addr
,addr_submission
andaddr_submissions
fields. (#965)
fn on_config(config) {
config.server.interfaces = #{
addr: ["example.com:25", "localhost:10025"],
// ...
};
config
}
- Documentation for docker images. (#968)
Fixed
- Display proper configuration error messages on machine that do not have a 'vsmtp' user. (#926)
- Create proper build systems to share debian and ubuntu packages. (#933)
- Building without
.git
no longer causes a hard failure. (#952)
Changed
- Changes for vSMTP's official docker image.
- Allow specifying vSMTP's branch. (will be used to make an "unstable" tag)
- Install missing dependencies required by internal dependencies updates.
- Automatically import all plugins into the image.
- Symlink all plugins to
/etc/vsmtp/plugins
by default. - Output vSMTP's current version number.
- Set default command to a vsmtp without daemon mode.
Removed
info()
andinfo(code)
vsl api function (#972)
Compatibility Notes
- bumped MSRV to 1.66.1 (#976)