Plugins
Plugins are dynamic libraries (.so
) that can be imported by .vsl
scripts.
They are bridges between third-party software (MySQL databases, an antivirus, redis databases, etc.) that uses vSL
to interface with vSMTP and leverage filtering.
Plugins are placed in the /usr/lib/vsmtp/
directory, and referenced in the configuration using symbolic links.
/etc/vsmtp
β£ vsmtp.vsl
β£ filter.vsl
β£ conf.d/
β β£ config.vsl
β β£ interfaces.vsl
β β app.vsl
β£ domain-available/
β β example.com
β β£ config.vsl
β β£ incoming.vsl
β β£ outgoing.vsl
β β internal.vsl
β£ domain-enabled/
β β example.com -> /etc/vsmtp/domain-available/example.com
β£ objects/
β β net.vsl
β£ services/
β plugins/
+ β vsmtp-plugin-mysql.so -> /usr/lib/vsmtp/libvsmtp-plugin-mysql-1.0.0.so
Adding plugins and associated services
They are then imported in βservicesβ, .vsl
scripts that configure and use plugins features.
Check out the Plugin chapter for more information.