????redmine??????????????????????
??????????и????????????????????????????????????????
???????????linux?????????????????redmine?????????????????
???????????????????????????????????????????????????????н????
????????????????????redmine???????????????????????????
????1. sendmail???????
????linux??????????redmine?????????????????????sendmail?????????????
??????sendmail??????????????????
????$ ps auxf|grep sendmail
????ps auxf|grep sendmail
????root     22272  \_ grep sendmail
????root      8352  sendmail: accepting connections
????smmsp     8362  sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
???????????δ?????
???????????£?
????$ sevice sendmail start
?????????δ?????????????sendmail
???????sendmail
???????????????????
????$apt-get install sendmail
????????????????????
????http://blog.csdn.net/trassion/article/details/8274479
?????????????????
????sendmail????????????????????????????????????????
????$ vim mail.txt
????hello world!
?????????沢?????
????$ mail -s "mail from sendmail" youremail@163.com < mail.txt
??????????????youremail@163.com
?????????????????????????????????????????????
?????????У???????????????
????$ tail /var/log/maillog
??????????????μ????????????????????????????
????2. 163????????
??????????????????????163??smtp????
??????????????163?????smtp?????????????С?
?????????????:
????????->????????->POP3/SMTP/IMAP???

???????SMTP????163???????“????????????"??
?????????????????redmine???????????????????????
????3.????redmine
?????????redmine??2.6.4 ??3.0.1?汾??????????????(2015??5??)?μ?汾??
??????????????????????????μ??
$ vim apps/redmine/htdocs/config/configuration.yml
...
# default configuration options for all environments
default:
# Outgoing emails configuration
# See the examples below and the Rails guide for more configuration options:
# http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
#email_delivery:
# delivery_method: :async_smtp
#  smtp_settings:
#  address: smtp.163.com
#    port: 25
#    domain: smtp.163.com
#    authentication: :login
#    user_name: ???????@163.com
#    password: ????????????(??????????????)
...
# ???滹?к???????????????ù?
...
# specific configuration options for production environment
# that overrides the default ones
production:
delivery_method: :async_smtp
smtp_settings:
tls: false
address: smtp.163.com
port: 25
domain: smtp.163.com
authentication: :login
enable_starttls_auto: true
????user_name: ???????@163.com
????password: ????????????(??????????????)
?????????沢?????
???????????"????????????"???????????????????δ????????
????????redmine?????
????$ ./ctlscript.sh restart
???????redmine?????????????
?????? "????->????->???"????£?
??????“????????”??? ??
????IP/redmine
?????????桿
?????? "????->????->?????"????£?
????"???????????"???:
???????????@163.com
?????????????"??????????"???????ɡ?
?????????????