在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_inte***ces = 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
SVN郵件通知 郵件提醒功能
setlocal set repo svntest rem 定義預設的郵件主題 set scps 郵件主題 rem 定義預設的郵件內容 set icps 郵件內容 set sender qq.com set pwd password set mailrcpslist f repositories m...
Trac的wiki列印功能
花了大半天的時間,終於將trac的 tracwikiprintplugin 安裝上,並能夠支援中文。期間走了很多彎路,但也終於通過查資料和嘗試,一一解決。下面是tracwikiprintplugin安裝步驟 1.用easy install來安裝 xhtml2pdf pisa,html5lib,pyp...
jenkins郵件功能配置
1.配置jenkins location 2.配置 extended email notification user ssl 若是使用服務商提供的郵箱,則勾選ssl 選項 埠為465 若是公司郵箱,不使用加密協議的,不勾選ssl選項 埠為25 3.default content 郵件顯示的html ...