----- Original Message -----
From: "Jarek Ratajski" <[EMAIL PROTECTED]>
> Do these things work together?

Nope.

> Do I have to change something in config or just write a bit of code
> somewhere in James (the second opiton wont be a problem - just do not
> have time to analyze and guess whole architecture (POP3, SMTP)

In order to navigate the code, it is best to consider NNTP as separate from
SMTP/POP3. There is very little common code between the two.

> - but as
> for now changes in James NNTP code where succesfull
> (I need to implement something like nntp server, where discussion is
> moderated and some articles wait before beeing put into group for a
> supervisor acceptance.)

You could get by with some changes to nntp repository and implementation of
2 rules. A simple minded and not a very completly thought out approach could
be:
- If the a news item matches some characteristic. Record it in a 'pending'
repository otherwise expose it via nntp server.
- If a mail (a) has been posted from a specific user-admin, (b) with
subject:ok, (c) from specific IP addresss and (d) refers to a mail in the
'pending' repository, take the original mail and move it to exposed nntp
repository.

This is may be too inelegant and specific. It would be nicer to have a
general solution that does not involve storing the entire message in memory
and hopefully being multi processor/multi thread safe.

Harmeet


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to