Created
March 3, 2016 13:26
-
-
Save necrolyte2/14f402781245d930843e to your computer and use it in GitHub Desktop.
Examples for redmine email setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/configuration.yaml | |
# After you change this file you need to restart apache/passenger | |
production: | |
email_delivery: | |
delivery_method: :smtp | |
smtp_settings: | |
enable_starttls_auto: true | |
address: "smtp.gmail.com" | |
port: 587 | |
domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps | |
authentication: :plain | |
user_name: "email@gmail.com" | |
password: "gmailpassword" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Here is a crontab entry that you can use as template to receive email updates for issues | |
# Depending on how redmine is installed you may or may not need the rvm.sh and bundle portion | |
*/5 * * * * cd /var/www/redmine; . /etc/profile.d/rvm.sh; bundle exec rake redmine:email:receive_imap RAILS_ENV="production" port=993 ssl=true host=imap.gmail.com username=email@gmail.com password=gmailpassword > email_import.log 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment