Redmine email notification configuration tutorial, redmine email notification

Source: Internet
Author: User
Tags redmine

Redmine email notification configuration tutorial, redmine email notification
Server-side configuration email notification

Delivery method has four main methods:

Smtp

Sendmail (used in this example)

Async_smtp

Async_sendmail

My project uses the sendmail configuration method, that is, the server uses the sendmail service to send emails.

Delivery_method: Modify the redmine configuration file in sendmail.

Modify the redmine configuration file:

Find the config folder in the redmine directory. in this folder, if you already have configuration. yml file, you can directly configure it. If not, you need to execute the command cp configuration. yml. example configuration. you can copy the sample configuration file as the configuration file for configuration.

Modify the config file:

In this configuration, you only need to find the production at the end of the file and configure it according to the officially recommended redmine method:

production:  email_delivery:    delivery_method: :sendmail
Configure the server: First modify the mail file of the server:

First, locate the file to be modified:

vi /etc/mail.rc

Add the following configuration at the bottom:

Set smtp = smtp. domain. comset smtp-auth-user = user name set smtp-auth-password = password set smtp-auth = login

The domain in the first line of the Code is the domain of your domain. For example, Apple is smtp.apple.com.

Configure the sendmail service

Locate the file to be modified:

vi /etc/mail/sendmail.mc

Find define ('smart _ host', 'smtp .domain.com ') dnl to uncomment it and change it to its own domain

Configure email address

Restart the redmine service and log on as an administrator.

You can configure and save the host name in Management> Configuration> General. For the configuration, refer to the example given.

Enter the email notification configuration email sender address and save it.

Finally, enter my account to configure the email address and return to the mail Notification sending test mail.

Then, change the email address of my account to the email address used by the project.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.