subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From João M. S. Silva <joao.m.santos.si...@gmail.com>
Subject Re: post-commit hook
Date Tue, 13 Dec 2016 00:14:56 GMT
> 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@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@gmail.com
to_addr = joao.m.santos.silva@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

Mime
View raw message