_____________
On Fedora 15, do the following:
yum install subversion-python
_____________
In your subversion repository:
cd hooks
cp post-commit post-commit.tmpl
Change
mailer.py commit "$REPOS" "$REV" /path/to/mailer.conf
to
/usr/share/doc/subversion-1.6.18/tools/hook-scripts/mailer/mailer.py commit "$REPOS" "$REV" /etc/mailer.conf
After that, do the following to setup the mailer.conf file:
cp /usr/share/doc/subversion-1.6.18/tools/hook-scripts/mailer/tests/mailer.conf /etc/mailer.conf
Edit the mailer.conf and:
uncomment mail_command = /usr/sbin/sendmail
add in commit_subject_prefix
add in propchange_subject_prefix
add in lock_subject_prefix
add in unlock_subject_prefix
Add in from_addr
Add in to_addr
_____________
Test it out by committing a test revision.
Test it out by committing a test revision.
1 comment:
Here are some troubleshooting tips:
http://www.unixrock.com/2013/11/sendmail-is-not-working-troubleshooting.html
I had to restart the sendmail daemon which may have crashed on my system, tonight.
Post a Comment