Here's a simple patch Fred requested which uses the
CVS_USER environment variable as the sender of the
mail in preference to the currently running user.
Off the top of my head, I can't see any reason to assume the
CVS_USER would be a system user to start with, though it may
be in many cases.
Since this is a site-admin policy matter, I'll suggest that
there be a command line option to enable this.
Unfortunately, passing around "configuration" options like
this at this time is more than a little clunky.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=44345
Better patch - corrects pwinfo based upon CVS_USER
Logged In: YES
user_id=44345
Of course I hosed the diff... second try.
Logged In: YES
user_id=407536
This patch causes synvmail to fail to send an email if the
cvs user is not a system user.
Logged In: YES
user_id=3066
Off the top of my head, I can't see any reason to assume the
CVS_USER would be a system user to start with, though it may
be in many cases.
Since this is a site-admin policy matter, I'll suggest that
there be a command line option to enable this.
Unfortunately, passing around "configuration" options like
this at this time is more than a little clunky.