配置Trac 的 邮件提醒功能
2010-03-08 15:47
357 查看
在Centos上搭建的Trac server 同时已经和SVN一起搭配好了, 剩下就是配置它的邮件提醒功能。 邮件提醒, 首先需要一个邮件服务器也就是SMTP server, 我用了postfix 作为邮件服务器。
1. 首先 检查一下你的机器上有没有postfix
#service postfix status
2. 没有的话装一个:
#yum install postfix dovecot system-switch-mail system-switch-mail-gnome
3. 修改配置文件
#vi /etc/postfix/main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = mail.lau.com
mydomain = lau.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
unknown_local_recipient_reject_code = 550
mynetworks = 198.0.0.0/28, 127.0.0.0/8
relay_domains =
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
home_mailbox = Maildir/
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
4. 启动
#service postfix start
5.配置好Trac用户的邮件地址
6. OK
1. 首先 检查一下你的机器上有没有postfix
#service postfix status
2. 没有的话装一个:
#yum install postfix dovecot system-switch-mail system-switch-mail-gnome
3. 修改配置文件
#vi /etc/postfix/main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = mail.lau.com
mydomain = lau.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
unknown_local_recipient_reject_code = 550
mynetworks = 198.0.0.0/28, 127.0.0.0/8
relay_domains =
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
home_mailbox = Maildir/
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
4. 启动
#service postfix start
5.配置好Trac用户的邮件地址
6. OK
相关文章推荐
- [转]DPM2012系列之四:配置邮件报警功能
- log4j配置详解 输出到控制台,文件,回滚文件,发送日志邮件,输出到数据库日志表,自定义标签等全套功能
- UM功能实现和配置技巧(上)--语音邮件、传真功能
- SQL Server 2008 通过配置数据库邮件实现发送邮件功能(转)
- 错误日志记录和邮件提醒的功能
- SQL2005&2008 中,使用 Gmail 帐号配置数据库邮件功能
- 在TFS 2010中使用邮件提醒功能(Email Notification)
- [MSSQL]SQL Server 2008 通过配置数据库邮件实现发送邮件功能
- 配置Redmine的邮件通知功能
- ubuntu下为thunderbird添加邮件提醒功能(转载)
- 实现Git提交后自动邮件通知的功能配置
- SQL Server 2008 通过配置数据库邮件实现发送邮件功能
- Apache+svn+邮件提醒配置说明文档
- CentOS软件配置raid5+raid5问题邮件提醒
- gitlab配置邮件通知功能操作记录
- 邮件提醒功能
- 谷歌Wave服务新增收件箱更新邮件提醒功能
- 开启mantis的邮件提醒功能
- .LOG4J的配置(输出到控制台、文件、回滚文件、发送日志邮件、输出到数据库日志表、自定义标签等全套功能)
- [转载]TFS发送邮件提醒功能