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

Re: post-commit hook

From: João M. S. Silva <joao.m.santos.silva_at_gmail.com>
Date: Tue, 13 Dec 2016 00:14:56 +0000

> Didn't you ask this on IRC not long ago?

Yes, but there was no answer. Now that you mention it, I suppose someone
answered while my computer was sleeping/suspended and logged out from IRC?

> Whether the SMTP AUTH extension is offered on a plain connection before
> STARTTLS is not universal; that depends on the SMTP server.
>
> I would advise you to review your provider's SMTP setup documentation.
> If they have made a change, it should be reflected there. Once you've
> determined what authentication your provider requires, we can see how to
> configure mailer.py for it.

I just checked Gmail's SMTP settings and they seem the same:

smtp.gmail.com
Requires SSL: Yes
Requires TLS: Yes (if available)
Requires Authentication: Yes
Port for SSL: 465
Port for TLS/STARTTLS: 587
Full Name or Display Name Your name
Account Name, User name, or Email address Your full email address

Here is my mailer.conf:

$ grep -v ^# mailer.conf|grep -v ^$
[general]
smtp_hostname = smtp.gmail.com:587
smtp_username = joao.m.santos.silva_at_gmail.com
smtp_password = ????????????????
smtp_use_ssl = true
[defaults]
diff = /usr/bin/diff -u -L %(label_from)s -L %(label_to)s %(from)s %(to)s
commit_subject_prefix =
propchange_subject_prefix =
lock_subject_prefix =
unlock_subject_prefix =
from_addr = joao.m.santos.silva_at_gmail.com
to_addr = joao.m.santos.silva_at_gmail.com
reply_to =
generate_diffs = add copy modify
show_nonmatching_paths = yes
[maps]

My mailer.py is equal to the one in
/usr/share/subversion/hook-scripts/mailer/mailer.py.

Thanks.

João M. S. Silva
Received on 2016-12-13 01:16:06 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.