🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Thomas Hanselmann Fri, 13 Dec 1996 00:00
automatic mail if a person post in a newsgroup
#13274
Author: Thomas Hanselmann
Date: Fri, 13 Dec 1996 00:00
22 lines
1047 bytes
Hello all,

I want to have a newsgroup, for example local.mail. If a person post
a news in this group then happen two things:
 
  1.) I will send a mail (including the news) to a special user 
  2.) I will post this news to another group on the same server


How can I perform  this?

Please send me a e-mail or reply to this group.


Best regards.

Thomas Hanselmann

thomas_hanselmann@hp.com

Re: automatic mail if a person post in a newsgroup
#13248
Author: Greg
Date: Fri, 13 Dec 1996 00:00
23 lines
1297 bytes
In article <32B11A89.3E52@hp.com>, Thomas Hanselmann wrote:
>Hello all,
>
>I want to have a newsgroup, for example local.mail. If a person post
>a news in this group then happen two things:
> 
>  1.) I will send a mail (including the news) to a special user 
>  2.) I will post this news to another group on the same server
>
>
>How can I perform  this?
>
>Please send me a e-mail or reply to this group.

Make local.mail a moderated group.  Set up a moderator account for it and
put that address-newsgroup combo in your mailpaths.

You can then use a cron job to grab the articles with mailx; clean up the
headers with, say, formail; and finally run the article through inews (with
approval header added) for the actual posting.

Re: automatic mail if a person post in a newsgroup
#13271
Author: Jon Bell
Date: Fri, 13 Dec 1996 00:00
16 lines
1187 bytes
 Thomas Hanselmann  <thomas_hanselmann@hp.com> wrote:
>I want to have a newsgroup, for example local.mail. If a person post
>a news in this group then happen two things:
> 
>  1.) I will send a mail (including the news) to a special user 
>  2.) I will post this news to another group on the same server

Make the newsgroup a moderated one.  At the moderator's address, install 
a Perl script or shell script which does what you want. 

-- 
Jon Bell <jtbell@presby.edu>                        Presbyterian College
Dept. of Physics and Computer Science        Clinton, South Carolina USA

Re: automatic mail if a person post in a newsgroup
#13351
Author: Scott Sanbeg
Date: Tue, 17 Dec 1996 00:00
40 lines
2075 bytes
Greg wrote:
> 
> In article <32B11A89.3E52@hp.com>, Thomas Hanselmann wrote:
> >Hello all,
> >
> >I want to have a newsgroup, for example local.mail. If a person post
> >a news in this group then happen two things:
> >
> >  1.) I will send a mail (including the news) to a special user
> >  2.) I will post this news to another group on the same server
> >
> >
> >How can I perform  this?
> >
> >Please send me a e-mail or reply to this group.
> 
> Make local.mail a moderated group.  Set up a moderator account for it and
> put that address-newsgroup combo in your mailpaths.

Okay, local.mail is a moderated group and follow the rest of the above. 
For
sending a news posting to email, do something similar to this in your
newsfeeds file:

# Email news articles to a list defined on host
my_list@interglobe.net:!*,interglobe.announce:Tm:mailer!

# Specify our mailer
mailer!:!*:W*,Tp:/usr/bin/Mail -s "News Posting from
interglobe.announce" *
Scott
--
Scott Sanbeg                            INTERNET: ssanbeg@interglobe.com
interGlobe Networks, Inc.               OFFICE: 206.623.2222
1520 Fourth Avenue, Suite 200           FAX: 206.623.0885
Seattle, WA  98101                      INFO: info@interglobe.com
This is my opinion and mine alone.      URL: http://www.interglobe.com

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads