Thread View: news.software.nntp
2 messages
2 total messages
Started by Nat Irons
Wed, 06 Dec 2000 00:00
rnews return codes
Author: Nat Irons
Date: Wed, 06 Dec 2000 00:00
Date: Wed, 06 Dec 2000 00:00
18 lines
1497 bytes
1497 bytes
Am I correct in believing that rnews returns 0 whether or not a message was accepted by inn? I'm using News::Gateway to transfer a whopping lot of mailing list traffic to a private news hierarchy, and I can't accept the possibility that 1-5% might get silently lost. It's okay if 1-5% don't get posted, as long as my injection script can detect it and do something intelligent, like stash those messages in a particular mailbox for me to review. But I can't figure a way to get a heads-up when rnews fails -- syslog contains excuses (duplicate message-id, bad date, etc) but usually it's nothing I can match up to specific messages in my mailstore after the fact. I'm using inn 2.3.0 on linux, and I'm still pretty new to the former. Thanks very much. -nat
Re: rnews return codes
Author: Russ Allbery
Date: Wed, 06 Dec 2000 00:00
Date: Wed, 06 Dec 2000 00:00
22 lines
1661 bytes
1661 bytes
Nat Irons <perambulator@bumppo.net> writes: > Am I correct in believing that rnews returns 0 whether or not a message > was accepted by inn? I'm using News::Gateway to transfer a whopping lot > of mailing list traffic to a private news hierarchy, and I can't accept > the possibility that 1-5% might get silently lost. > It's okay if 1-5% don't get posted, as long as my injection script can > detect it and do something intelligent, like stash those messages in a > particular mailbox for me to review. But I can't figure a way to get a > heads-up when rnews fails -- syslog contains excuses (duplicate > message-id, bad date, etc) but usually it's nothing I can match up to > specific messages in my mailstore after the fact. Edit /usr/include/config.h.in and uncomment DO_RNEWS_SAVE_BAD and then recompile. rnews will then put all rejected articles in ~news/spool/incoming/bad. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
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