Linux
Open the desktop version of Passwork and go to Settings and Users → System Settings → Global → Email service.
Enable the Send notifications to email option, choose Local service and specify the sender's email, then save the changes:
Install Postfix:
During the installation process, select the Internet Site configuration type:
Specify the FQDN (Fully Qualified Domain Name) of the server:
Open or create a file at /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 using Gmail:
Create a hashed database for Postfix by executing the following command:
Afterwards, the Postfix sasl_passwd.db database will be located at /<passwork>/conf/postfix/.
The files created contain 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 at /etc/postfix/main.cf:
Add and edit the following parameters:
Save the changes and restart the Postfix service: