[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVN server email notification function (SMTP) and How To configure it

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Fri, 17 Nov 2017 12:31:17 +0100

On Fri, Nov 17, 2017 at 11:44 AM, Zhaowei Mao
<zhaowei.mao_at_weikegroup.com> wrote:
> -----Original Message-----
> From: Johan Corveleyn [mailto:jcorvel_at_gmail.com]
> Sent: Friday, 17 November, 2017 3:25 AM
> To: Zhaowei Mao <zhaowei.mao_at_weikegroup.com>
> Cc: Subversion Users <users_at_subversion.apache.org>; Ryan Schmidt
> <subversion-2016_at_ryandesign.com>
> Subject: Re: SVN server email notification function (SMTP) and How To
> configure it
>
> Another suggestion: https://github.com/qazwart/SVN-Watcher-Hook
>
> I've used a custom version of that (perl) hook script. It allows your users
> to control their own "watch file" (in the svn repository itself), which is a
> simple config file containing patterns etc. for which they want to receive
> post-commit mails.
>
> It's not a GUI, but it's great that users can edit their own watch file
> (with a very simple syntax), so they don't have to bother a sysadmin to
> customize their notifications.
>
> --
> Johan

> Hi Johan,
>
> Thanks so much for this input. I noted below:
>
> REQUIREMENTS
> * Perl 5.7 or later.
>
>
> Does it work fine for my SVN server
> (CollabNetSubversion-server-1.5.5-1.win32) on a Windows server 2008?
>
>
> * Mail::Sendmail (optional). This is an optional Perl module to
> install. It's very old, but straightforward and usually works
> without too many issues. You can use the Perl CPAN utility to
> install this module.
>
> Which version of 'Mail::Sendmail'? or, it doesn't matter.
>
>
> Thank you in advance!
>
> Zhao Wei
>

The SVN Server version should be no problem, but I'm not so sure that
the script will run 'as is' on Windows. I'm using it on Solaris. I've
actually used a previous version of that script which was distributed
on the users@ list years ago. I've had to tweak it a bit, and have
coded it to call "/usr/sbin/sendmail" directly (so no Mail::Sendmail
perl module). Apparently it has changed a bit since then, so I really
can't say much about that.

I suggest you try it out and see if you can get it working. Otherwise,
maybe you'll have to contact the developer via the Github project.

-- 
Johan
Received on 2017-11-17 12:31:51 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.