filter_innd.pl question

Chris Masters rotis23 at yahoo.com
Wed Oct 13 09:50:44 UTC 2004


Thanks Russ.

It looked as though it was single threaded - Why??
nnrpd doesn't handle all traffic does it?

My original thought was to dump it directly into the
spool but I guess that may cause unseen issues. I'll
create a separate spool (as you suggest) and use a
reader to post.

Thanks again.

--- Russ Allbery <rra at stanford.edu> wrote:

> Chris Masters <rotis23 at yahoo.com> writes:
> 
> > Having fun with installing INN and writing
> filter_innd.pl.
> 
> > One issue though. Upon certain conditions I want
> to:
> 
> > - block the post
> 
> > - create a new post and post to localhost using
> > Net::NNTP.
> 
> You may find it easier to just drop the new post in
> ~news/spool/incoming
> and make sure you're running rnews -U from cron to
> pick up posts dropped
> off in there.  Particularly if it's not critical
> that the post go through
> immediately.
> 
> You won't be able to connect to innd from inside a
> filter running in innd,
> since innd is not multithreaded.  I don't think
> there's any way that you
> can interrupt innd to push another post through
> while processing a first
> post, I'm afraid.  (nnrpd would normally wait for
> the filter to complete
> before passing along a post made through it.)
> 
> -- 
> Russ Allbery (rra at stanford.edu)            
> <http://www.eyrie.org/~eagle/>
> 
>     Please send questions to the list rather than
> mailing me directly.
>     
> <http://www.eyrie.org/~eagle/faqs/questions.html>
> explains why.
> 
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com


More information about the inn-workers mailing list