notify woes
John Turner
jturner at energi.com
Tue Nov 25 21:09:07 UTC 2014
I looked through 2 years of archives here to no avail, so here goes:
Issue:
Notify hook in Mercurial is unable to send push notifications due to smtp error.
Environment:
OS: Windows Server 2008 R2 64-bit
TortoiseHg: Mercurial-3.1.1, Python-2.7.6, PyQt-4.10.3, Qt-4.8.5
Preliminary config:
* We're using our enterprise Exchange server to relay email messages from our source control (Mercurial central) server
* Test emails can successfully be sent from our source control server to recipient when dropped directly in the ~\inetpub\mailroot\pickup directory
* I was unable to diagnose in test mode (test = True) since there doesn't appear to be an stdout file generated on Windows
* Our mercurial.ini file has the following config:
[ui]
username = jt
[extensions]
notify =
[hooks]
changegroup.notify = python:hgext.notify.hook
[email]
from = mercurial at mydomain.com<mailto:mercurial at mydomain.com>
to = jturner at mydomain.com<mailto:jturner at mydomain.com>
method = smtp
[smtp]
host = <oursourcecontrolserver>.mydomain.com
port = 25
[notify]
sources = serve push pull bundle
test = False
maxdiff = 300
[reposubs]
* = jturner at mydomain.com<mailto:jturner at mydomain.com>
[paths]
testhg = c:\testhg-clone
When I execute a Push from testhg-clone --> testhg, the notify extension is throwing the smtp error:
5.7.1 Unable to relay for jturner at mydomain.com<mailto:jturner at mydomain.com>
Any ideas how to chase this one down (especially since I don't seem to have the ability to diagnose via test = True)?
[http://www.energi.com/images/Energi-Registered-final1.png]<http://www.energi.com/>
John J. Turner
Database Development Manager
Energi, Inc
Energi Insurance Services, Inc.
10 Centennial Drive, Suite 201
Peabody, MA 01960
Work: 978-531-1822, ext. 897
jturner at energi.com<mailto:jturner at energi.com>
www.energi.com<http://www.energi.com/>
24 Hour Claims Reporting 1-888-CLAIM50
<https://www.energi.com/summit2014/>
[http://www.energi.com/images/Digital-Signature-final-3.jpg]
________________________________
This electronic mail transmission contains confidential information intended only for the person(s) named. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you received this transmission in error, please notify the sender by reply e-mail and then destroy the message. Opinions, conclusions, and other information in this message that do not relate to the official business of Energi, Inc., Energi Insurance Services, Inc. shall be understood to be neither given nor endorsed by the Company. Any information contained in this e-mail is subject to the terms and conditions in the governing client contract. Please note that insurance coverage cannot be bound, terminated, increased, decreased or otherwise modified by messages sent through electronic mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20141125/1703c422/attachment.html>
More information about the Mercurial
mailing list