Thread View: news.software.nntp
1 messages
1 total messages
Started by Michael Faurot
Tue, 08 Jun 1999 00:00
Re: mail forward to newsgroup ?
Author: Michael Faurot
Date: Tue, 08 Jun 1999 00:00
Date: Tue, 08 Jun 1999 00:00
39 lines
2077 bytes
2077 bytes
Frank Naumann <frn@a-w.de> wrote:
: Hi,
: i use a linux box as a mail server (connected to the internet) and as
: a local news server. I need to forward mails to a special mailaccount to
: a news group on the local server. Can anybody tell me how i can manage
: this?
Procmail and formail can do this. I do this on my own local private
server so as to be able to read mailing lists in local newsgroups (which
do not get exported anywhere).
Put something like the following in the .procmailrc file in the
special user's home directory:
:0
* ^TOspecialuser@a-w.de
| formail -a "Approved: by me" \
-I Newsgroups: \
-a "Newsgroups: localheirarchy.localgroupname" \
-a "Followup-To: poster" \
-I Received: \
-I ">Received:" \
-I "From " | inews -S -h
The above will pump the mail messages into the spool. If you want to
actually be able to respond to these messages and again have them go
out via mail, do the following:
Make the group "localheirarchy.localgroupname" moderated. In your
moderators file create an entry like so:
localheirarchy.localgroupname:someone@somedomain.com
--
------------------------------------------------------------------------------
Michael | mfaurot | A real person has two reasons for doing anything ... a
Faurot | atww.org | good reason and the real reason.
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