Configuring vSMTP
vSMTP, by default, stores itβs configuration in the /etc/vsmtp
directory. Lets look at how files are organized.
Overview
A typical vSMTP configuration looks like the following.
/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/
β β mysql-service.vsl
β plugins/
β vsmtp-plugin-mysql.so -> /usr/lib/vsmtp/libvsmtp-plugin-mysql-1.0.0.so
typical vSMTP configuration placed in the `/etc/vsmtp` directory
Lets break it down step by step, by building a configuration from scratch.