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

Re: Make mailer.py send to NNTP and match logmsg on regex

From: Lars Gullik Bjønnes <lgb_at_tandberg.com>
Date: Thu, 16 Apr 2009 13:05:14 +0200

Jon Bendtsen <jbendtsen_at_laerdal.dk> writes:

| On 14/04/2009, at 19.42, Lars Gullik Bjønnes wrote:
>
>> This is a rather dirty patch (mailer.py did not lend itself to
>> modifications too nicely) that adds some more config vars to the conf
>> file:
>>
>> For nntp handling:
>>
>> nntp_hostname - the nntp server to send to
>> to_group - the newsgroup to send to
>
| How do i actually get it to post to a group? It just dumps to STDOUT.
>
| I tried making a map, but it still doesnt work.
>
| mailer.conf example(s) are wanted.

In the general section:

-------------------------
[general]

nntp_hostname = your.nntp.server

[default]
to_group = the.news.group.on.your.nntp.server

-------------------------

Make sure that "mail_command" and "smtp_hostname" is not set in the
conf file.

I'll have an improved patch in not too long.

-- 
	Lgb
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1745295
Received on 2009-04-16 14:18:01 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.