mail-news gw + message delete

bill davidsen davidsen at tmr.com
Wed Feb 11 13:20:28 UTC 2004


In article <878yja1jad.fsf at windlord.stanford.edu>,
Russ Allbery  <rra at stanford.edu> wrote:
| Krisztian VASAS <iron at ironiq.hu> writes:
| 
| > After I've read this message, I've started thinking a bit. And I've
| > solved the problem. I've read the rnews manual and I've found that rnews
| > gets message from stdin if no input was given. I've remembered that the
| > mailpost script gives the tmpfile to the $inn::inews command. So I've
| > had to change 2 lines in mailpost and now works...
| 
| Note that this isn't bad, but it still involves forking rnews and opening
| a connection to innd for every incoming message.  The nice advantage of
| rnews -U is that you can get even more batching than that, at the cost of
| a small delay.

And rnews takes batches, so you can just fork once and pass all of the
messages into that process via a pipe, and do the batching by dropping
the mail into a mailbox.

Many ways to handle this, but for the average mailing list it probably
doesn't matter to do one at a time. Compared to the volume of a newsfeed
even a few thousand messages a day are trivial.
-- 
bill davidsen <davidsen at tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.


More information about the inn-workers mailing list