🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by David Mahon Tue, 10 May 2005 16:48
Mail2News gateway question
#71582
Author: David Mahon
Date: Tue, 10 May 2005 16:48
20 lines
1475 bytes
I want to configure a mail2news gateway.

I'm currently running:

INN2
EXIM4

and I have

mailpost

that came with INN2

Can someone give me pointers on how I can automatically gate email 
messages to the right newsgroup based upon

1) email being send to a specific address (mail2news@domain)
2) email having a Newsgroups: header with the required newsgroups
-- 
David Mahon
Re: Mail2News gateway question
#71601
Author: Jeffrey M. Vinocur
Date: Sat, 14 May 2005 14:01
35 lines
2261 bytes
In article <KaRWKmORXOgCFwyJ@earth.amigo.co.uk>,
David Mahon  <nospam@amigo.co.uk> wrote:
>
>[ Exim, INN, mailpost ]
>
>Can someone give me pointers on how I can automatically gate email 
>messages to the right newsgroup based upon
>
>1) email being send to a specific address (mail2news@domain)

With mailpost, users type a different email address for each
group that they want the post to be gatewayed to.  Then you
configure your mail server to run mailpost with the appropriate
group name on the mailpost commandline.


>2) email having a Newsgroups: header with the required newsgroups

Mailpost does not look in emails for a Newsgroups header.  (Many
email clients do not allow users to insert arbitrary headers.)

If you wanted to do this with mailpost, you'd need to either
patch the mailpost source, or configure your Exim to parse out
the Newsgroups header from the email and list its contents on the
mailpost commandline.

Another way that seems feasible would be to write a small filter
to sit between Exim and mailpost.  It would simply locate the
Newsgroups header, spawn mailpost with appropriate commandline
arguments, and then pass the article along.


-- 
Jeffrey M. Vinocur
jeff@litech.org
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