Configure the mail server

To configure the mail server you'll need to tweak the following file on your instance:

/opt/dradispro/dradispro/current/config/initializers/z_03_setup_mail.rb

The file itself will walk you through how to configure the mail server. For example, to use Gmail, just need to put your username/password into the SMTP settings. Once you get SMTP set up, your Dradis instance should be ready to send out password reset emails.

First, restart the app and services by running the following commands in the console as dradispro:

$ god restart dradispro-unicorn
$ god restart dradispro-resque-1

Reminder: local changes including the mail server configuration will be overwritten the next time you upgrade. If you make any local changes, make sure to re-apply them every time you upgrade Dradis.