Thread View: news.software.nntp
7 messages
7 total messages
Started by mackdav
Tue, 09 Jan 2007 21:12
Import old mail archive into innd
Author: mackdav
Date: Tue, 09 Jan 2007 21:12
Date: Tue, 09 Jan 2007 21:12
38 lines
2570 bytes
2570 bytes
Hi folks, I have a collection of Mailman lists that have been accumulating archives in the form of .mbox files for some time. The engineers here would like to use a news reader to get at the archives of these groups because the http search facilities we have installed are inadequate. Mailman can add future messages to a newsgroup, no problem. The issue is the trying to get the old archives into the news groups while preserving the sender and date information. I have inn 2.4.0 installed here. I created a new group, tested the posting functionality, then told innd to accept old messages with $ ctlinnd param c 0 Then I created a file with a single message in it and tried the import as $ cat /tmp/onemsg | /opt/inn-2.4.0/bin/mailpost $GROUP No errors are displayed, nothing is added to any of the log files, but the message is not added to the group. Adding the -d local parameter does not help either. I'm sure I'm missing something trivial here, but I can't figure it out. Can anyone give me a hint or a pointer? That said, if I'm laboriously barking up the wrong tree (my google searches on importing old mbox archives into nntp come up empty which implies I'm not using the right words in my queries), can anyone give me a pointer to get me going in the right direction? Thanks for your time.
Re: Import old mail archive into innd
Author: Iulius
Date: Tue, 09 Jan 2007 21:39
Date: Tue, 09 Jan 2007 21:39
17 lines
1705 bytes
1705 bytes
Le cinquième jour avant les Ides de janvier, en réponse à mackdav : > $ cat /tmp/onemsg | /opt/inn-2.4.0/bin/mailpost $GROUP Strange it does not work. But, with your mbox file, you can use: http://patrick.vande-walle.eu/upload/mail2news.pl formail -s mail2news.pl $GROUP < mailbox I think it will work. -- Iulius « -- Ce serait une joyeuse idée de faire une tempête dans nos cerveaux, n'est-il pas ? -- Il veut parler d'une réunion de dravail ! » (Astérix)
Re: Import old mail archive into innd
Author: Jeffrey M. Vinocur
Date: Wed, 10 Jan 2007 03:32
Date: Wed, 10 Jan 2007 03:32
21 lines
1886 bytes
1886 bytes
In article <1168377151.761072.33680@i56g2000hsf.googlegroups.com>, mackdav <dave@xdroop.com> wrote: > >I have a collection of Mailman lists that have been accumulating >archives in the form of .mbox files for some time. The engineers here >would like to use a news reader to get at the archives of these groups >because the http search facilities we have installed are inadequate. See if Iulius has the right incantation to make it work. The thing I wanted to add is that, depending on how sensible the mail clients that generated these original messages -- not to mention the newsreaders you're using to look at them once they're imported -- are, you may or may not end up with coherent threading of messages. If that turns out to be a problem, come back and we'll talk more. -- Jeffrey M. Vinocur jeff@litech.org
Re: Import old mail archive into innd
Author: Hauke Fath
Date: Wed, 10 Jan 2007 15:41
Date: Wed, 10 Jan 2007 15:41
15 lines
1624 bytes
1624 bytes
Jeffrey M. Vinocur <jeff@litech.org> wrote:
> The thing I wanted to add is that, depending on how sensible the
> mail clients that generated these original messages -- not to
> mention the newsreaders you're using to look at them once they're
> imported -- are, you may or may not end up with coherent
> threading of messages.
Some message IDs created by MUAs are invalid for news. When you fix them
or create new ones, you break threading.
hauke
--
Now without signature.
Re: Import old mail archive into innd
Author: mackdav
Date: Thu, 11 Jan 2007 19:49
Date: Thu, 11 Jan 2007 19:49
13 lines
1634 bytes
1634 bytes
Iulius wrote: > formail -s mail2news.pl $GROUP < mailbox This fails silently too. Perhaps interestingly: neither your way nor my way (above) emits any errors when the group name is deliberately misspelled -- is that a clue? Thanks for your assistance.
Re: Import old mail archive into innd
Author: F. Senault
Date: Thu, 11 Jan 2007 20:20
Date: Thu, 11 Jan 2007 20:20
45 lines
2944 bytes
2944 bytes
Le 11 janvier 2007 à 20:49, mackdav a écrit : > Iulius wrote: > >> formail -s mail2news.pl $GROUP < mailbox > > This fails silently too. > > Perhaps interestingly: neither your way nor my way (above) emits any > errors when the group name is deliberately misspelled -- is that a > clue? > > Thanks for your assistance. Try to find the message-id of a message, and issue "grephistory '<mid>'". If it tells you "not found", the message didn't make it to INN, and the problem lies in the importation routines. If it tells you "/dev/null", innd rejected it (for malformedness ?) and you should look into your logging configuration because it should be logged. If it gives you a message token, you have some other problem if you can't access it (try "sm token" to get it from inn). Maybe you should rebuild your history file and try again. Be aware that, if innd rejects the message once, it will reject again that message-ID without further processing if the "remebertrash" parameter is set to true in inn.conf (that is the "/dev/null" response to grephistory). Doing your tests with the same article is usually a bad idea. And, AFAIK, the only ways to prune an entry from the history database are either to wait for it to expire (/remember/ in expire.ctl), or to blast the history line and rebuild the metadata. I don't think there's an easier way. Fred -- Bien recu Tous les messages Ils disent qu'ils ont compris Qu'il n'y a plus le choix Que l'esprit qui souffle Guidera leurs pas Qu'arrivent les derniers temps où Nous pourrons parler Alors soyons désinvoltes N'ayons l'air de rien (Noir Désir, Tostaky)
Re: Import old mail archive into innd
Author: mackdav
Date: Tue, 16 Jan 2007 14:12
Date: Tue, 16 Jan 2007 14:12
31 lines
2326 bytes
2326 bytes
mackdav wrote: > I have inn 2.4.0 installed here. > > I created a new group, tested the posting functionality, then told innd > to accept old messages with > > $ ctlinnd param c 0 > > Then I created a file with a single message in it and tried the import > as > > $ cat /tmp/onemsg | /opt/inn-2.4.0/bin/mailpost $GROUP > > No errors are displayed, nothing is added to any of the log files, but > the message is not added to the group. Hello group, The problem turned out to be the fact that innd only permits you one bite at importing a message; in my explanation to the group I had neglected to admit that I diagnosed the "too old" error by attempting to import the message once already before issuing the ctlinnd param c 0 command; therefore even though innd would accept old messages, it would reject this one as already-previously-rejected. I changed the msgid on my message, re-issued the ctlinnd param c 0 command, then re-ran the import with mailpost and it works. Thank you for your assistance!
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