🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Christopher McCrory Sat, 07 Jul 2001 18:02
sendmail -> inews -> inn ?
#53149
Author: Christopher McCrory
Date: Sat, 07 Jul 2001 18:02
57 lines
2594 bytes
Hello...


        I am trying to setup inn to handle archiving some mailing lists.  
Inn is setup and working.  I would like to have sendmail pipe these
email messages straight to a local newsgroup, ala
linux-kernel@example.com -> local.linux-kernel.   I can do an alias
to mangle the email to local.linux-kernel.usenet.  This should pass
the message through the usenet mailer.  All this I have done.  But
inews is kicking back errors:

mailer=usenet, pri=30006, relay=usenet, dsn=5.3.0, stat=unknown mailer 
error 1

 ----- Transcript of session follows -----
inews: invalid option -- m
Usage: inews [-D] [-h] [header_flags] [article]


I changed the usenet mailer from the default to be this:

Musenet,        P=/usr/bin/inews, F=rsDFMmn, S=EnvFromL, R=EnvToL,
                T=X-Usenet/X-Usenet/X-Unix,
                A=inews -h -R $u

I only changed the '-h -R' part  ^^^ 


And now I get:

mailer=usenet, pri=30517, relay=usenet, dsn=5.3.0, stat=unknown mailer 
error 1

 ----- Transcript of session follows -----
Can't read input file, No such file or directory.


? ? ?

Inn version 2.3.2
sendmail version 8.11.4

All the inn FAQs I see are outdated and generally for very old inn versions

? ? ?

-- 
localhost.pricegrabber.com. IN MX 0 localhost.

Christopher McCrory
"The guy that keeps the servers running"
chrismcc@localhost.pricegrabber.com
http://www.pricegrabber.com

I don't make jokes in base 13. Anyone who does should get help. --Douglas 
Adams
Re: sendmail -> inews -> inn ?
#53150
Author: Jeffrey M. Vinocur
Date: Sat, 07 Jul 2001 18:08
20 lines
1544 bytes
In article <b9I17.54896$0e3.48862021@news1.rsm1.occa.home.com>,
Christopher McCrory  <chrismcc@localhost.pricegrabber.com> wrote:
>
>        I am trying to setup inn to handle archiving some mailing lists.  
>Inn is setup and working.  I would like to have sendmail pipe these
>email messages straight to a local newsgroup

Take a look at mail2news in the INN distribution.


>All the inn FAQs I see are outdated and generally for very old inn versions

http://www.eyrie.org/~eagle/faqs/inn.html 



-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: sendmail -> inews -> inn ?
#53152
Author: Christopher McCrory
Date: Sat, 07 Jul 2001 19:07
47 lines
2408 bytes
Hello...

Jeffrey M. Vinocur wrote:

> In article <b9I17.54896$0e3.48862021@news1.rsm1.occa.home.com>,
> Christopher McCrory  <chrismcc@localhost.pricegrabber.com> wrote:
>>
>>        I am trying to setup inn to handle archiving some mailing lists.
>>Inn is setup and working.  I would like to have sendmail pipe these
>>email messages straight to a local newsgroup
> 
> Take a look at mail2news in the INN distribution.

        I found a news2mail program, but no mail2news.
...<looking some more>...
        I did find mailpost though, it did work through the alias file.

Thanks

        I would still prefer a direct sendmail pipe though.  As it is I would
have to add an alias for each list.  Using the usenet mailer I could use a
single virtusertable entry.

virtusertable:

listarchive+*@lists.example.com         local.%2.usenet


Any ideas?



> 
> 
<snip>

-- 
localhost.pricegrabber.com. IN MX 0 localhost.

Christopher McCrory
"The guy that keeps the servers running"
chrismcc@localhost.pricegrabber.com
http://www.pricegrabber.com

I don't make jokes in base 13. Anyone who does should get help. --Douglas 
Adams
Re: sendmail -> inews -> inn ?
#53156
Author: Russ Allbery
Date: Sun, 08 Jul 2001 01:52
21 lines
1845 bytes
Christopher McCrory <chrismcc@localhost.pricegrabber.com> writes:

> I would still prefer a direct sendmail pipe though.  As it is I would
> have to add an alias for each list.  Using the usenet mailer I could use
> a single virtusertable entry.

> virtusertable:
> listarchive+*@lists.example.com         local.%2.usenet

Take a look at News::Gateway; it comes with a sample application that
should let you do this (although I think the instructions explain how to
set up a new mailer in sendmail).

<ftp://ftp.eyrie.org/pub/software/modules/Gateway-0.42.tar.gz>

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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