The emailsender.ini
config file, located at /etc/squirro/emailsender.ini
configures email sending of the Squirro system.
Table of Contents
Email server
By default Squirro sends emails through a local email server. This can be changed using the following settings.
These options are located in the section emailsender
.
Key | Usage | Default |
---|---|---|
smtp_server | The SMTP server to send emails through. | localhost |
smtp_port | The port the SMTP server listens on. | 25 |
smtp_login | Whether the SMTP server requires login (true or false ) | False |
smtp_username | The username to use on the SMTP server. Only used if smtp_login is set to true . | - |
smtp_password | The password to use on the SMTP server. Only used if smtp_login is set to true . | - |
Example Configuration
[emailsender] smtp_server = mta.internal smtp_login = True smtp_username = squirro@example.com smtp_password = pass123
Applying Changes
After editing this configuration file, the service sqemailsenderd
has to be restarted (see Restarting services).