Menu

#29 cvs-syncmail sends mail to version numbers

open
nobody
None
5
2005-02-15
2005-02-15
Enver Haase
No

Hello,

I have a line like

tools/ /usr/bin/syncmail -S [Company-CVS] --mailhost
mail.hacenet %{sVv} developers@company.com

in my loginfo.

syncmail sends mail to:
1.6 1.7 developers@company.com

I changed

specs = args[0].split()
del args[0]
# The remaining args should be the email addresses

to

specs = args[0].split()
del args[0]

del args[0]
del args[0]

# The remaining args should be the email addresses

And now it works fine.

Version info:

haneman:/usr/bin# cvs --version

Concurrent Versions System (CVS) 1.12.9 (client/server)

Copyright (c) 1989-2004 Brian Berliner, david d `zoo' zuhn,
Jeff Polk, and other authors

CVS may be copied only under the terms of the GNU
General Public License,
a copy of which can be found with the CVS distribution kit.

Specify the --help option for further information about CVS
haneman:/usr/bin# python
Python 2.3.4 (#2, Jan 5 2005, 08:24:51)
[GCC 3.3.5 (Debian 1:3.3.5-5)] on linux2

Thanks for looking into this!
--Enver

Discussion

  • Alon Rohter

    Alon Rohter - 2005-09-02

    Logged In: YES
    user_id=856270

    You just need to enclose the %{sVv} in quotes:

    "%{sVv}"

     
  • Nobody/Anonymous

    Logged In: NO

    For our syncmail version (October 2001) we had to use
    "%p %s,%V,%v" instead of %{sVv} to fix the issue.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.