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

Lock/Unlock mails not sent by mailer.py on windows

From: Norbert Unterberg <nunterberg_at_gmail.com>
Date: Wed, 26 Nov 2008 14:50:06 +0100

I have a repository with a well-working hoook scripts/mailer.py config
that sends commit mails.
Now I want to add lock/unlock notification mails. So I added the
post-lock.cmd and post-unlock.cmd files that call mailer.py with the
lock/unlock command line.

However, the mails are not sent. Instead, I get a python exception
(using version 1.3.2 of svn and mailer.conf):

Traceback (most recent call last):
  File "D:\Repos\mailer.py", line 1284, in ?
    sys.argv[3:3+expected_args])
  File "D:\programme\Python23\lib\site-packages\svn\core.py", line
217, in run_app
    return apply(func, (_core.application_pool,) + args, kw)
  File "D:\Repos\mailer.py", line 77, in main
    messenger.generate()
  File "D:\Repos\mailer.py", line 534, in generate
    self.output.finish()
  File "D:\Repos\mailer.py", line 228, in finish
    server.sendmail(self.from_addr, self.to_addrs, self.buffer.getvalue())
  File "d:\programme\python23\lib\smtplib.py", line 687, in sendmail
    raise SMTPRecipientsRefused(senderrs)
smtplib.SMTPRecipientsRefused: {}

Do the lock/unlock commands in mailer.py require a new section in the
mailer.conf file for the recipient list, or should mailer.py use the
same recipients as for the commit mails?
Is/was there a known issue that lock/unlock uses different recipients?
Do I need to speficy a recipient list somewhere?

Thank you!
Norbert Unterberg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-26 14:50:35 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.