I've been pulling my hair out, trying to get svnnotify to authenticate.
I was using 2.82 first, and was getting an error complaining about Authen::NTLM not being installed, even though I had just installed it.
I moved to 2.83 and now I get this:
> /usr/bin/svnnotify -p /export/svnroot/merlin -r 71265 -D ddddd.com -t scriptauth@ddddd.com --
+smtp ussc-casht-p1.corp.ddddd.com --smtp-user me@corp.ddddd.com --smtp-pass 'mypassword' --smtp-po
+rt 587
Unsupported Authentication mechanism
I've tried specifying the --smtp-authtype option, but there is nothing in the help that gives the valid values for this option. The error message complains about the TLS->new() below:
sub get_handle {
my ($class, $notifier) = @_;
# Load Net::SMTP::TLS.
require Net::SMTP::TLS;
require Sys::Hostname;
my $smtp = Net::SMTP::TLS->new(
$notifier->{smtp},
Hello => Sys::Hostname::hostname(),
( $notifier->{smtp_port} ? ( Port => $notifier->{smtp_port} ) : () ),
( $notifier->{smtp_tls} ? () : (NoTLS => 1) ),
( $notifier->{smtp_user} ? ( User => $notifier->{smtp_user} ) : () ),
( $notifier->{smtp_pass} ? ( Password => $notifier->{smtp_pass} ) : () ),
( $notifier->{verbose} ? ( Debug => 1 ) : () )
) or die "Unable to create SMTP object: $!";
Any ideas?
Thanks,
David