subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Corveleyn <jcor...@gmail.com>
Subject Re: SVN server email notification function (SMTP) and How To configure it
Date Fri, 17 Nov 2017 11:31:17 GMT
On Fri, Nov 17, 2017 at 11:44 AM, Zhaowei Mao
<zhaowei.mao@weikegroup.com> wrote:
> -----Original Message-----
> From: Johan Corveleyn [mailto:jcorvel@gmail.com]
> Sent: Friday, 17 November, 2017 3:25 AM
> To: Zhaowei Mao <zhaowei.mao@weikegroup.com>
> Cc: Subversion Users <users@subversion.apache.org>; Ryan Schmidt
> <subversion-2016@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

Mime
View raw message