/ seafile

Configure Seafile With SES SMTP

To configure seafile to work with SES email settings, simply add the following settings to conf/seahub_settings.py.

EMAIL_HOST = 'email-smtp.eu-west-1.amazonaws.com'
EMAIL_HOST_USER = 'xxxxxxxxxxxxxxxxxxxx'
EMAIL_HOST_PASSWORD = 'xxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
DEFAULT_FROM_EMAIL = "name@mydomain.com"
SERVER_EMAIL = "name@mydomain.com"

The conf folder will be located at the same level as your seafile-server-latest symlink.

Notice that DEFAULT_FROM_EMAIL and SERVER_EMAIL need to be set to one of your verified email addresses in SES.

Non EU Users

If you are not using the EU email server, the other endpoints can be found here and are:

  • US East (N. Virginia) - email-smtp.us-east-1.amazonaws.com
  • US West (Oregon) - email-smtp.us-west-2.amazonaws.com

Restart Seahub

For the changes to take effect you need to run:

./seahub.sh stop
./seahub.sh start

To test that everything is working, execute a password reset. A popup will appear and tell you if it managed to send the email or if your configuration is incorrect.


Stuart Page

Stuart Page

Stuart is a software developer with a passion for Linux and open source projects.

Read More