Gnus development mailing list
 help / color / mirror / Atom feed
From: Rainer M Krug <Rainer@krugs.de>
To: ding@gnus.org
Subject: SOLVED: Moving messages from about 100 mbox files to imap server
Date: Tue, 24 Mar 2015 12:06:21 +0100	[thread overview]
Message-ID: <m2egoey7rm.fsf_-_@krugs.de> (raw)
In-Reply-To: <m2iodqy9ix.fsf@krugs.de> (Rainer M. Krug's message of "Tue, 24 Mar 2015 11:28:22 +0100")

[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]

Rainer M Krug <Rainer@krugs.de> writes:

> Rainer M Krug <Rainer@krugs.de> writes:
>
>> Hi
>>
>> I have downloaded archives from a mailing list (in mbox format) and
>> would like to import them into gnus.
>
> OK - I converted them into maildir format and now I will put them into
> dovecot.

OK - solved it.

Here my solution:

,----
| 1) I downloaded a script is from
|    [[https://github.com/igor47/mailtools/blob/master/mbox2maildir.py]] and
|    named it =conv.pl=
| 
| 2) I run it together with =find= to iterate through all mbox files
|   
|    mkdir ./Maildir
|    find . -name "MATCHING_THE_MBOX_FILES" -exec ./conv.pl {} ./Maildir/ \;
|
| 
| 3) The files are created in =./Maildir/new=. 
| 
| 4) I then moved them to my maildir used by dovecot
| 
| mv ./Maildir/new ~/Maildir/TARGETFOLDER/new
`----

And in gnus they showed op as new mails in the maildir.

Cheers,

Rainer


>
> Cheers,
>
> Rainer
>
>>
>> Is there any way that I can do this from gnus?
>>
>> Thanks,
>>
>> Rainer

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]

  reply	other threads:[~2015-03-24 11:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-24 10:06 Rainer M Krug
2015-03-24 10:28 ` Rainer M Krug
2015-03-24 11:06   ` Rainer M Krug [this message]
2015-03-26  9:52     ` SOLVED: " Rainer M Krug
2015-03-24 11:08 ` Steinar Bang
2015-03-24 11:25   ` Adam Sjøgren
2015-03-24 12:06     ` Rainer M Krug
2015-03-24 13:13       ` Adam Sjøgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2egoey7rm.fsf_-_@krugs.de \
    --to=rainer@krugs.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).