Install Plugins
Plugins are usually installed in the same way, unless specified otherwise in their documentation.
Download
Plugins are all shipped with vSMTP by default
For the time being, plugins are all shipped with the all-in-one
Dockerfile,
thus there is no need to download them separetly.
Link to configuration
Now that the desiered plugin is installed on the system, it is usually recommanded to
link the library to the vSMTP configuration for a specific service with the ln
command.
ln -s /usr/lib/vsmtp/<vsmtp-version>/<plugin> /etc/vsmtp/<service>/plugins/<plugin>
Example
If one wants to install the MySQL plugin for the Working service, the command should look like the following.
ln -s /usr/lib/vsmtp/3.0.0/libvsmtp_plugin_mysql.so /etc/vsmtp/working/plugins/libvsmtp_plugin_mysql.so