Linux
Open the Passwork web interface and go to — "Settings and Users" → "System Settings" → "Global" → "Email service" section.
Activate the "Send notifications to email" option, use "Local service", specify the sender's email and save the changes:
Install Postfix:
During the installation process, select the configuration type — Internet Site:
Specify the FQDN (Fully Qualified Domain Name) of the server:
Open or create the file — /etc/postfix/sasl_passwd:
Add an SMTP address, with the sender's user login and password:
Example of using a non-standard TCP port:
Example of how to use gmail:
Create a hashed database for Postfix by executing the following command:
Once executed, the Postfix database — sasl_passwd.db will be located in the directory /etc/postfix/
The files created contain the SMTP credentials in plain text. For security reasons, access should be restricted so that only the root user can read and write to them.
Assign rights to the owner and set the root user as the owner:
Edit the configuration file — /etc/postfix/main.cf:
Add and edit the following parameters:
Save the changes and restart the Postfix service: