I'm basically an svn novice, but I can think of two avenues to explore:
1. Check /var/log/maillog
Mail is a quirky thing. Because subversion and sendmail are not related to
each other, any changes to sendmail could cause a problem -- including, for
example, your smarthost going away or refusing to relay. A junk filter may
also be dropping the messages somewhere? I would check /var/log/maillog to
see what is going on. Maybe get a 'tail -fn0 /var/log/maillog' going in a
console while you try to execute a commit. Sendmail is notoriously
difficult to configure, but I've always appreciated and found logs very
2. Are you sure the script is actually getting executed? Maybe try moving
it out of the way and replacing it with a really simple shell script such as
echo This is a post-commit script test message at `date`
If you're using a client which won't display that message, try redirecting
it to a file
echo This is a post-commit script test message at `date` >
On Mon, Mar 10, 2008 at 9:19 AM, yi xia <max.xiayi_at_gmail.com> wrote:
> Hi Christian
> Thanks for your reply
> Firstly, all the scripts do have execuable permisions
> Secondly, it works before, and it seems that nobody touch it before it can
> not work.
> Thirdly, i restart sendmail service, but it still can not send one email
> out. I don't know how to check out the reason that causes it.
> Anybody can help me?
> 2008/3/10, Christian Unger <christian.unger_at_mac.com>:
> > afaik, subversion has no means of sending email 'on it's own'.
> > the means which is used to send email notificications is a hook script
> > wich may act as a trigger for arbitrary applications.
> > the hook script itself is triggered at defined stages of a commit
> > (pre, post).
> > depending on the kind of hook, subversion passes different parameters.
> > to check your hooks, look into the repository's 'hooks' subdirectory:
> > hooks:
> > post-commit
> > post-lock
> > post-revprop-change
> > post-unlock
> > pre-commit
> > pre-lock
> > pre-revprop-change
> > pre-unlock
> > start-commit
> > you may want to check whether your hook script is executable and
> > depending on the error message if it finds all it's dependendcies, or
> > if it is called with sensible options.
> > cu
> > christian unger
> > On Mar 10, 2008, at 5:24 AM, yi xia wrote:
> > > Hi All
> > > I am using subversion1.4.2, it works all the time.
> > > But recently I found that it can not send email out without any
> > > waring/error pop out.
> > >
> > > The script i am using is commit-email.pl
> > >
> > > anyone can tell me how to enable it again or how to debug it?
> > >
> > > Thanks
> > >
> > > Max
Received on 2008-03-10 15:12:04 CET