From bg1bg2bg3 at hotmail.com Sun Jan 8 09:57:24 2006 From: bg1bg2bg3 at hotmail.com (Brett George) Date: Sun Jan 8 09:58:11 2006 Subject: [cvsspam-devel] sending cvsspam to authenticated SMTP server Message-ID: How can I setup cvsspam so it can send mail to an SMTP server that requires authentication? I'm thinking that a single from address cvsadmin@company.com would suffice. Then I could just use the same username/password without requiring a seperate one for each user. Thanks in advance, Brett. _________________________________________________________________ ASUS M5 Ultra-slim lightweight is Now $1999 (was $2,999) http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Easus%2Ecom%2Eau%2F&_t=752129232&_r=Hotmail_tagline_23Nov05&_m=EXT From gkt at cs.luc.edu Sun Jan 8 15:41:23 2006 From: gkt at cs.luc.edu (George K. Thiruvathukal) Date: Sun Jan 8 15:42:09 2006 Subject: [cvsspam-devel] sending cvsspam to authenticated SMTP server In-Reply-To: References: Message-ID: Brett: I am not sure how much administrative control you have where you are but assume that you must have some control, if you were able to get CVSspam setup. Our CVS setup lives on a Gentoo Linux box, where I was able to add the "ssmtp" package. "ssmtp" is a nice, straightforward package that basically allows you to use sendmail (essentially) as a proxy, thereby avoiding heavier machinery (e.g. "postfix") directly. You can set up a global or local .conf file that tells the location of another MTA and any supporting information needed (including credentials). The following is an excerpt from the "man" page: OPTIONS Most sendmail options are irrelevent to sSMTP. Those marked ``ignored'' or ``default'' have no effect on mail transfer. Those marked ``unsupported'' are fatal errors. Those marked ``simulated'' are not errors, but the result is for the program to exit with an informative message. A sort of fatal non-error. -auusername Specifies username for login authorization. (only tested with MS Exchange) -appassword Specifies password for login authorization. (only tested with MS Exchange) Hope this helps! There is also support for TLS in case your server requires secure authentication. George -- George K. Thiruvathukal, Ph.D. Associate Professor and Graduate Program Director Loyola University Chicago http://www.cs.luc.edu/gkt On 1/8/06, Brett George wrote: > How can I setup cvsspam so it can send mail to an SMTP server that requires > authentication? > > I'm thinking that a single from address cvsadmin@company.com would suffice. > Then I could just use the same username/password without requiring a > seperate one for each user. > > Thanks in advance, > Brett. > > _________________________________________________________________ > ASUS M5 Ultra-slim lightweight is Now $1999 (was $2,999) > http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Easus%2Ecom%2Eau%2F&_t=752129232&_r=Hotmail_tagline_23Nov05&_m=EXT > > > _______________________________________________ > cvsspam-devel mailing list > cvsspam-devel@lists.badgers-in-foil.co.uk > http://lists.badgers-in-foil.co.uk/mailman/listinfo/cvsspam-devel > From rgetz at blackfin.uclinux.org Sun Jan 8 16:23:40 2006 From: rgetz at blackfin.uclinux.org (Robin Getz) Date: Sun Jan 8 16:24:43 2006 Subject: [cvsspam-devel] Gforge patch Message-ID: <6.1.1.1.0.20060108111217.01ec4260@ptg1.spd.analog.com> Below is a patch to the release version of cvsspam to accept Gforge's Bugs/Task tracking database. === For the manual === 2.1.x. Gforge For Gforge, when a CVS log comment contains text like Fix for Bug [#123], or Task [T456] ..., the text "[#123]" or [T456] will become a hyper-link to that Gforge page in the generated email. The format [#nnn] and [Tnnn] is taken from the existing plugin for Gforge called cvstracker. To enable, give your Gforge's URL in CVSspam's configuration file $gforgeBugURL = "http://gforge.org/tracker/index.php?func=detail&aid=%s" $gforgeTaskURL = "http://gforge.org/pm/task.php?func=detailtask&project_task_id=%s" The marker %s tells CVSspam where in the URL to put the bugId from the log message. ======================= --- ./cvsspam.rb.org 2006-01-08 11:10:04.000000000 -0500 +++ cvsspam.rb 2006-01-08 07:16:23.000000000 -0500 @@ -533,6 +533,14 @@ # TODO: consolidate these into a nicer framework, mailSub = proc { |match| "#{match}" } urlSub = proc { |match| "#{match}" } +gforgeTaskSub = proc { |match| + match =~ /([0-9]+)/ + "#{match}" +} +gforgeBugSub = proc { |match| + match =~ /([0-9]+)/ + "#{match}" +} bugzillaSub = proc { |match| match =~ /([0-9]+)/ "#{match}" @@ -1247,6 +1255,8 @@ $no_diff = false $task_keywords = ['TODO', 'FIXME'] $bugzillaURL = nil +$gforgeBugURL = nil +$gforgeTaskURL = nil $wikiURL = nil $jiraURL = nil $ticketURL = nil @@ -1355,6 +1365,12 @@ if $bugzillaURL != nil commentSubstitutions['\b[Bb][Uu][Gg]\s*#?[0-9]+'] = bugzillaSub end +if $gforgeBugURL != nil + commentSubstitutions['\B\[#[0-9]+\]'] = gforgeBugSub +end +if $gforgeTaskURL != nil + commentSubstitutions['\B\[[Tt][0-9]+\]'] = gforgeTaskSub +end if $jiraURL != nil commentSubstitutions['\b[a-zA-Z]+-[0-9]+\b'] = jiraSub end From dave at badgers-in-foil.co.uk Sun Jan 15 19:23:42 2006 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Sun Jan 15 19:24:02 2006 Subject: [cvsspam-devel] sending cvsspam to authenticated SMTP server In-Reply-To: References: Message-ID: <20060115192342.GB2281@badgers-in-foil.co.uk> Hi here! On Sun, Jan 08, 2006 at 08:57:24PM +1100, Brett George wrote: > How can I setup cvsspam so it can send mail to an SMTP server that requires > authentication? > > I'm thinking that a single from address cvsadmin@company.com would suffice. > Then I could just use the same username/password without requiring a > seperate one for each user. The SMTP support in CVSspam was originally added just to enable a port to Windows (which never really happened). The Ruby Net::SMTP module certainly supports authentication, but I'd like to avoid the need for extra configuration options if at all possible. Are you able to use a local MTA (e.g. the one suggested by George in another message), or is auth'ed SMTP your only viable option? dave -- http://david.holroyd.me.uk/ From dave at badgers-in-foil.co.uk Sun Jan 15 23:44:51 2006 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Sun Jan 15 23:45:51 2006 Subject: [cvsspam-devel] Gforge patch In-Reply-To: <6.1.1.1.0.20060108111217.01ec4260@ptg1.spd.analog.com> References: <6.1.1.1.0.20060108111217.01ec4260@ptg1.spd.analog.com> Message-ID: <20060115234450.GC2281@badgers-in-foil.co.uk> On Sun, Jan 08, 2006 at 11:23:40AM -0500, Robin Getz wrote: > Below is a patch to the release version of cvsspam to accept Gforge's > Bugs/Task tracking database. Patch applied -- thanks for this! dave -- http://david.holroyd.me.uk/ From martines at rochester.rr.com Tue Jan 17 21:35:07 2006 From: martines at rochester.rr.com (Eduard Martinescu) Date: Tue Jan 17 21:36:45 2006 Subject: [cvsspam-devel] Status of Subversion support Message-ID: <200601171635.07542.martines@rochester.rr.com> I was just wondering what the status of Subversion support is now? Is it usable now? We are finally considering the switch from CVS to Subversion, now that the Eclipse plugin for Subversion has synchronization support, but no one wants to move if they loose the output of CVSSpam! Thanks, Ed From dave at badgers-in-foil.co.uk Tue Jan 17 23:34:34 2006 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Tue Jan 17 23:34:58 2006 Subject: [cvsspam-devel] Status of Subversion support In-Reply-To: <200601171635.07542.martines@rochester.rr.com> References: <200601171635.07542.martines@rochester.rr.com> Message-ID: <20060117233433.GB2867@badgers-in-foil.co.uk> On Tue, Jan 17, 2006 at 04:35:07PM -0500, Eduard Martinescu wrote: > I was just wondering what the status of Subversion support is now? Is > it usable now? We are finally considering the switch from CVS to > Subversion, now that the Eclipse plugin for Subversion has > synchronization support, but no one wants to move if they loose the > output of CVSSpam! I have been crap, and svn support is still not done yet. In our office, we're still using CVS, hence my motivations are not strong enough :( Sorry about that. (Want to help out? ;) dave -- http://david.holroyd.me.uk/ From anatol.pomozov at gmail.com Wed Jan 18 00:01:43 2006 From: anatol.pomozov at gmail.com (Anatol Pomozov) Date: Wed Jan 18 00:03:19 2006 Subject: [cvsspam-devel] Status of Subversion support In-Reply-To: <20060117233433.GB2867@badgers-in-foil.co.uk> References: <200601171635.07542.martines@rochester.rr.com> <20060117233433.GB2867@badgers-in-foil.co.uk> Message-ID: <3665a1a00601171601n4f3074b0td0cc2ced15e4c31b@mail.gmail.com> Hi, David. I have been using this great tool for a years, and I am very appreciated for your work. So I could play with cvsspam and see how it could be integrated with Subversion. I am not guarantee that I will do something helpful, but I could try. Also I have idea. Could you provide cvsspam as .gem file. It this case upgrade to the next version will be very easy. User just could do gem upgrade and we will have newest version of cvsspam in system. On 1/18/06, David Holroyd wrote: > > On Tue, Jan 17, 2006 at 04:35:07PM -0500, Eduard Martinescu wrote: > > I was just wondering what the status of Subversion support is now? Is > > it usable now? We are finally considering the switch from CVS to > > Subversion, now that the Eclipse plugin for Subversion has > > synchronization support, but no one wants to move if they loose the > > output of CVSSpam! > > I have been crap, and svn support is still not done yet. In our office, > we're still using CVS, hence my motivations are not strong enough :( > > Sorry about that. > > (Want to help out? ;) > -- anatol (http://pomozov.info) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/cvsspam-devel/attachments/20060118/de01c080/attachment.htm From dave at badgers-in-foil.co.uk Wed Jan 18 00:25:06 2006 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Wed Jan 18 00:25:21 2006 Subject: [cvsspam-devel] Status of Subversion support In-Reply-To: <3665a1a00601171601n4f3074b0td0cc2ced15e4c31b@mail.gmail.com> References: <200601171635.07542.martines@rochester.rr.com> <20060117233433.GB2867@badgers-in-foil.co.uk> <3665a1a00601171601n4f3074b0td0cc2ced15e4c31b@mail.gmail.com> Message-ID: <20060118002505.GC2867@badgers-in-foil.co.uk> On Wed, Jan 18, 2006 at 01:01:43AM +0100, Anatol Pomozov wrote: > I have been using this great tool for a years, and I am very appreciated for > your work. So I could play with cvsspam and see how it could be integrated > with Subversion. I am not guarantee that I will do something helpful, but I > could try. For anyone interested in looking into this, note that the current code for Subversion support is here, http://svn.badgers-in-foil.co.uk/cvsspam/branches/svn_support/ > Also I have idea. Could you provide cvsspam as .gem file. It this case > upgrade to the next version will be very easy. User just could do > gem upgrade > and we will have newest version of cvsspam in system. I've never made a gem -- will look into it. ta, dave -- http://david.holroyd.me.uk/ From bg1bg2bg3 at hotmail.com Fri Jan 20 19:04:36 2006 From: bg1bg2bg3 at hotmail.com (Brett George) Date: Fri Jan 20 19:06:34 2006 Subject: [cvsspam-devel] sending cvsspam to authenticated SMTP server In-Reply-To: <20060115192342.GB2281@badgers-in-foil.co.uk> Message-ID: >From: David Holroyd >To: cvsspam-devel@lists.badgers-in-foil.co.uk >Subject: Re: [cvsspam-devel] sending cvsspam to authenticated SMTP server >Date: Sun, 15 Jan 2006 19:23:42 +0000 > >Hi here! > >On Sun, Jan 08, 2006 at 08:57:24PM +1100, Brett George wrote: > > How can I setup cvsspam so it can send mail to an SMTP server that >requires > > authentication? > > > > I'm thinking that a single from address cvsadmin@company.com would >suffice. > > Then I could just use the same username/password without requiring a > > seperate one for each user. > >The SMTP support in CVSspam was originally added just to enable a port >to Windows (which never really happened). > >The Ruby Net::SMTP module certainly supports authentication, but I'd >like to avoid the need for extra configuration options if at all >possible. > >Are you able to use a local MTA (e.g. the one suggested by George in >another message), or is auth'ed SMTP your only viable option? > > >dave It turns out it's no longer a problem for me. I am forwarding to an internal SMTP server which handles the authentication for me. Thanks, Brett. _________________________________________________________________ ASUS M5 Ultra-slim lightweight is Now $1999 (was $2,999) http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Easus%2Ecom%2Eau%2F&_t=752129232&_r=Hotmail_tagline_23Nov05&_m=EXT From bg1bg2bg3 at hotmail.com Fri Jan 20 20:48:54 2006 From: bg1bg2bg3 at hotmail.com (Brett George) Date: Fri Jan 20 20:51:26 2006 Subject: [cvsspam-devel] cvsspam email troubles? In-Reply-To: Message-ID: Hi, I am still having problems sending mail from within cvsspam. For testing, I have two email accounts, one for myemail@company.com and the other for myemail@gmail.com. I am running cvsspam on a machine running OS X. I didn't do any specific mail setup for SMTP relaying, but I found: "echo testmail | mail myemail@gmail.com" was working from the command line but "echo testmail | mail myemail@company.com" wasn't. After setting up CVSSPAM, I found commit emails were coming through on the gmail account (the one that was working on the command line), but not to the myemail@company.com account (the one that wasn't working on the command line). This wasn't surprising! I configured the mail program (postfix) to relay to our internal mail server, and confirmed that both command line emails were working correctly. I then switched the "--to" option of loginfo to myemail@company.com but I cvsspam never sent me an email. The mail log in this case (from CVSSPAM) was as follows: Jan 20 12:35:08 cvs-server postfix/pickup[1064]: 8CB521F8E13: uid=507 from= Jan 20 12:35:08 cvs-server postfix/cleanup[1200]: 8CB521F8E13: message-id= Jan 20 12:35:08 cvs-server postfix/qmgr[1072]: 8CB521F8E13: from=, size=2976, nrcpt=1 (queue active) Jan 20 12:35:08 cvs-server postfix/smtp[1201]: 8CB521F8E13: to=, relay=mail.company.com[192.168.124.3], delay=0, status=sent (250 2166286 message accepted for delivery) Jan 20 12:35:08 cvs-server postfix/qmgr[1072]: 8CB521F8E13: removed The command line email to the same email account was as follows: Jan 20 12:33:24 cvs-server postfix/pickup[1064]: 2DC1F1F8DE3: uid=507 from= Jan 20 12:33:24 cvs-server postfix/cleanup[1092]: 2DC1F1F8DE3: message-id=<20060120203323.2DC1F1F8DE3@cvs-server.local> Jan 20 12:33:24 cvs-server postfix/qmgr[1072]: 2DC1F1F8DE3: from=, size=293, nrcpt=1 (queue active) Jan 20 12:33:24 cvs-server postfix/smtp[1096]: 2DC1F1F8DE3: to=, relay=mail.company.com[192.168.124.3], delay=1, status=sent (250 2166279 message accepted for delivery) Jan 20 12:33:24 cvs-server postfix/qmgr[1072]: 2DC1F1F8DE3: removed Besides the difference in message-id, everything looks OK to me and I can't see why the emails are never received. Any ideas why I never receive emails from cvsspam??? Thanks for your help, Brett. _________________________________________________________________ New year, new job – there's more than 100,00 jobs at SEEK http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau&_t=752315885&_r=Jan05_tagline&_m=EXT From dave at badgers-in-foil.co.uk Mon Jan 23 18:16:29 2006 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Mon Jan 23 18:16:55 2006 Subject: [cvsspam-devel] cvsspam email troubles? In-Reply-To: References: Message-ID: <20060123181628.GA29546@badgers-in-foil.co.uk> On Sat, Jan 21, 2006 at 07:48:54AM +1100, Brett George wrote: > Hi, > > I am still having problems sending mail from within cvsspam. > For testing, I have two email accounts, one for myemail@company.com and the > other for myemail@gmail.com. > > I am running cvsspam on a machine running OS X. I didn't do any specific > mail setup for SMTP relaying, but I found: > "echo testmail | mail myemail@gmail.com" was working from the command line > but "echo testmail | mail myemail@company.com" wasn't. > > After setting up CVSSPAM, I found commit emails were coming through on the > gmail account (the one that was working on the command line), but not to > the myemail@company.com account (the one that wasn't working on the command > line). This wasn't surprising! > > I configured the mail program (postfix) to relay to our internal mail > server, and confirmed that both command line emails were working correctly. > I then switched the "--to" option of loginfo to myemail@company.com but I > cvsspam never sent me an email. > > The mail log in this case (from CVSSPAM) was as follows: > > Jan 20 12:35:08 cvs-server postfix/pickup[1064]: 8CB521F8E13: uid=507 > from= > Jan 20 12:35:08 cvs-server postfix/cleanup[1200]: 8CB521F8E13: > message-id= > Jan 20 12:35:08 cvs-server postfix/qmgr[1072]: 8CB521F8E13: > from=, size=2976, nrcpt=1 (queue active) > Jan 20 12:35:08 cvs-server postfix/smtp[1201]: 8CB521F8E13: > to=, relay=mail.company.com[192.168.124.3], delay=0, > status=sent (250 2166286 message accepted for delivery) > Jan 20 12:35:08 cvs-server postfix/qmgr[1072]: 8CB521F8E13: removed > > The command line email to the same email account was as follows: > > Jan 20 12:33:24 cvs-server postfix/pickup[1064]: 2DC1F1F8DE3: uid=507 > from= > Jan 20 12:33:24 cvs-server postfix/cleanup[1092]: 2DC1F1F8DE3: > message-id=<20060120203323.2DC1F1F8DE3@cvs-server.local> > Jan 20 12:33:24 cvs-server postfix/qmgr[1072]: 2DC1F1F8DE3: > from=, size=293, nrcpt=1 (queue active) > Jan 20 12:33:24 cvs-server postfix/smtp[1096]: 2DC1F1F8DE3: > to=, relay=mail.company.com[192.168.124.3], delay=1, > status=sent (250 2166279 message accepted for delivery) > Jan 20 12:33:24 cvs-server postfix/qmgr[1072]: 2DC1F1F8DE3: removed > > > Besides the difference in message-id, everything looks OK to me and I can't > see why the emails are never received. Any ideas why I never receive emails > from cvsspam??? Yep, it certainly looks like the upstream server accepted the message in both cases. Are the mail logs from 192.168.124.3 giving any indication of the problem (e.g. marking the message as spam and dropping it)? dave -- http://david.holroyd.me.uk/ From bg1bg2bg3 at hotmail.com Mon Jan 23 23:10:52 2006 From: bg1bg2bg3 at hotmail.com (Brett George) Date: Mon Jan 23 23:11:46 2006 Subject: [cvsspam-devel] cvsspam email troubles? In-Reply-To: <20060123181628.GA29546@badgers-in-foil.co.uk> Message-ID: >On Sat, Jan 21, 2006 at 07:48:54AM +1100, Brett George wrote: > > Hi, > > > > I am still having problems sending mail from within cvsspam. > > For testing, I have two email accounts, one for myemail@company.com and >the > > other for myemail@gmail.com. > > > > I am running cvsspam on a machine running OS X. I didn't do any specific > > mail setup for SMTP relaying, but I found: > > "echo testmail | mail myemail@gmail.com" was working from the command >line > > but "echo testmail | mail myemail@company.com" wasn't. > > > > After setting up CVSSPAM, I found commit emails were coming through on >the > > gmail account (the one that was working on the command line), but not to > > the myemail@company.com account (the one that wasn't working on the >command > > line). This wasn't surprising! > > > > I configured the mail program (postfix) to relay to our internal mail > > server, and confirmed that both command line emails were working >correctly. > > I then switched the "--to" option of loginfo to myemail@company.com but >I > > cvsspam never sent me an email. > > > > The mail log in this case (from CVSSPAM) was as follows: > > > > Jan 20 12:35:08 cvs-server postfix/pickup[1064]: 8CB521F8E13: uid=507 > > from= > > Jan 20 12:35:08 cvs-server postfix/cleanup[1200]: 8CB521F8E13: > > message-id= > > Jan 20 12:35:08 cvs-server postfix/qmgr[1072]: 8CB521F8E13: > > from=, size=2976, nrcpt=1 (queue active) > > Jan 20 12:35:08 cvs-server postfix/smtp[1201]: 8CB521F8E13: > > to=, relay=mail.company.com[192.168.124.3], >delay=0, > > status=sent (250 2166286 message accepted for delivery) > > Jan 20 12:35:08 cvs-server postfix/qmgr[1072]: 8CB521F8E13: removed > > > > The command line email to the same email account was as follows: > > > > Jan 20 12:33:24 cvs-server postfix/pickup[1064]: 2DC1F1F8DE3: uid=507 > > from= > > Jan 20 12:33:24 cvs-server postfix/cleanup[1092]: 2DC1F1F8DE3: > > message-id=<20060120203323.2DC1F1F8DE3@cvs-server.local> > > Jan 20 12:33:24 cvs-server postfix/qmgr[1072]: 2DC1F1F8DE3: > > from=, size=293, nrcpt=1 (queue active) > > Jan 20 12:33:24 cvs-server postfix/smtp[1096]: 2DC1F1F8DE3: > > to=, relay=mail.company.com[192.168.124.3], >delay=1, > > status=sent (250 2166279 message accepted for delivery) > > Jan 20 12:33:24 cvs-server postfix/qmgr[1072]: 2DC1F1F8DE3: removed > > > > > > Besides the difference in message-id, everything looks OK to me and I >can't > > see why the emails are never received. Any ideas why I never receive >emails > > from cvsspam??? > >Yep, it certainly looks like the upstream server accepted the message in >both cases. Are the mail logs from 192.168.124.3 giving any indication >of the problem (e.g. marking the message as spam and dropping it)? > > > >dave Yep, that was exactly the problem. It was marking messages with "[" in the subject as spam and dropping them. Thanks, Brett. _________________________________________________________________ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement From dave at badgers-in-foil.co.uk Tue Jan 24 10:51:27 2006 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Tue Jan 24 10:51:51 2006 Subject: [cvsspam-devel] cvsspam email troubles? In-Reply-To: References: <20060123181628.GA29546@badgers-in-foil.co.uk> Message-ID: <20060124105126.GB12334@badgers-in-foil.co.uk> On Mon, Jan 23, 2006 at 03:10:52PM -0800, Brett George wrote: > Yep, that was exactly the problem. It was marking messages with "[" in the > subject as spam and dropping them. Well, I'm glad things are working for you now. A trick that I've used in the past is to add a magic header to CVSspam mails, and then arrange for the office spam filters to be bypassed for messages with this header. Sounds like your spam rules may be a bit strict in any case, though ;) ta, dave -- http://david.holroyd.me.uk/