E-mail Configuration

From AlfrescoWiki

Jump to: navigation, search

Extending and overwriting configuration files is new with the 1.2 release. Edit these values directly in the main configuration file in older, pre 1.2, releases.

The Alfresco repository can be configured to send e-mails from a SMTP server by overriding the details found in the configuration file, <configRoot>/repository.properties. The default configuration should look like this:

mail.host=
mail.port=25
mail.username=anonymous
mail.password=

Assuming that the repository-properties bean's configuration is being overridden as described in Repository Configuration, then the correct mail configuration can be placed in your custom-repository.properties file. You only need to give the values that differ from the main configuration file; for example, the port number will probably stay the same, so does not need to be specified in your custom configuration file.

mail.host=<the name of your SMTP host>
mail.port=<the port that your SMTP service runs on (the default is 25)>
mail.username=<the username of the account you want e-mail to be sent from>
mail.password=<the password>

Note: Currently the repository does not support secure SMTP servers. In version 1.2 the mail.username may be anonymous.


Back to Server Configuration