[cvsspam-devel] Does CVSSPAM work with GUI tools from a remote PC?
David Holroyd
dave at badgers-in-foil.co.uk
Fri Jan 19 15:28:32 UTC 2007
On Fri, Jan 19, 2007 at 10:11:44AM -0500, Ricketts, Marie G. wrote:
> cvs commit -m test -- index.html (in directory C:\CVS_dl\testproj\)
> Checking in index.html;
> /usr/local/CVS/testproj/index.html,v <-- index.html
> new revision: 1.2; previous revision: 1.1
> done
> collect_diffs.rb: CVSROOT is /usr/local/CVS
> collect_diffs.rb: ARGV is <testproj index.html,1.1.1.2,1.2>
> collect_diffs.rb: about to run cvs -nq diff -Nu -r1.1.1.2 -r1.2
> index.html
> collect_diffs.rb: sending spam. (I am
> /usr/local/cvsspam/collect_diffs.rb)
> cvsspam.rb: Using config '/etc/cvsspam/cvsspam.conf'
> cvsspam.rb: invoking '/usr/sbin/sendmail -t -oi'
> cvsspam.rb: Mail From not set
> cvsspam.rb: leaving file
> /tmp/#cvsspam.10601.1027-6475096/logfile.emailtmp
> collect_diffs.rb: leaving file /tmp/#cvsspam.10601.1027-6475096/logfile
Hmm, it looks like CVSspam at least attempts to send the email.
What's the difference in that output when you commit from the command
line on the server? (Maybe the 'Mail From' is different?)
Could a difference in the system user account under which CVS is being
run on the server between the two cases explain why it works in once
instance and not the other? (e.g. remote CVS access is sometimes set up
so that the server runs as a user like 'cvs', 'nobody', etc.)
Are you able to check the MTA (sendmail, or whatever) logs on the CVS
server to see if the message is being rejected?
ta,
dave
--
http://david.holroyd.me.uk/
More information about the cvsspam-devel
mailing list