Notify extension: mail server capability problem?
Yannick CHARLES
yannick.charles at gmail.com
Fri Dec 14 17:11:13 UTC 2012
Thank you for your answer.
Well, yes, I have username and password set in the .hg/hgrc file. How can I
connect to the smtp server without them ?
2012/12/14 Kevin Bullock <kbullock+mercurial at ringworld.org>
> On Dec 14, 2012, at 5:53 AM, Yannick CHARLES wrote:
>
> > Hello everybody!
> >
> > I have the following error message when pushing on a distant repository
> that has a changegroup notify hook:
> >
> > remote: error: changegroup.02notify hook failed: SMTP AUTH extension not
> supported by server.
> >
> > After a bit of search, I deduce that notify/Mercurial requests the mail
> server to use some extension, but the server isn't set to do so, so the
> transaction fails.
> > Is there something I can do on client side, that is, modifying Mercurial
> settings on the Mercurial server, but without touching SMTP server
> settings? Both mail server and Mercurial server are on a local network, so
> there shouldn't be security issues.
>
> Mercurial should only be trying to use SMTP AUTH if you have a username
> and password set in the [smtp] section of the remote repo's hgrc.
>
> Try `hg showconfig smtp` in a shell in the remote repo, as the same remote
> user you're using for the push. (Note if you're pushing over HTTP, this
> will be the same user your web server runs as.) You can override setting
> per-repository in the repo's .hg/hgrc file.
>
> pacem in terris / мир / शान्ति / سَلاَم / 平和
> Kevin R. Bullock
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20121214/0e2fe17d/attachment-0002.html>
More information about the Mercurial
mailing list