From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85849 Path: news.gmane.org!not-for-mail From: Rainer M Krug Newsgroups: gmane.emacs.gnus.general Subject: Re: SOLVED: Moving messages from about 100 mbox files to imap server Date: Thu, 26 Mar 2015 10:52:03 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1427363637 3456 80.91.229.3 (26 Mar 2015 09:53:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Mar 2015 09:53:57 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34084@lists.math.uh.edu Thu Mar 26 10:53:47 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yb4Tq-0005s5-Jv for ding-account@gmane.org; Thu, 26 Mar 2015 10:53:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.84) (envelope-from ) id 1Yb4Sj-0007OP-Or; Thu, 26 Mar 2015 04:52:29 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1Yb4Sh-0007Nj-7A for ding@lists.math.uh.edu; Thu, 26 Mar 2015 04:52:27 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1Yb4Sd-0006n2-S5 for ding@lists.math.uh.edu; Thu, 26 Mar 2015 04:52:27 -0500 Original-Received: from mail-wg0-f50.google.com ([74.125.82.50]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1Yb4Sc-00039A-Cb for ding@gnus.org; Thu, 26 Mar 2015 10:52:22 +0100 Original-Received: by wgdm6 with SMTP id m6so57970537wgd.2 for ; Thu, 26 Mar 2015 02:52:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=xdLflrwg3DbT1AzFUDUprKNQPzH6ukwGIs2rKgB/0eQ=; b=FLSbaPY5GD9TMgDsz448+i5IHXljQDlfi2cwSX/j+38Zb4Ch3b1KQPOFA4M2PE9oOG qFaQshdDXA0AXn9FemuMVGgRuQ6NOuRBmzEIYIhAE8f9d5HYZNTQDEZ8YofNTIvJBgW0 5vRoMfexoNhdAgvhSxTvmuYi7QUPS7YA/AzjH7kxkZAUxLBl4mAK9POxQgXcNIFAPh3G l2eMWZB2p2bCkcmkC+5K325OKvC8JNcKSOrgW72OszVU/04q3kFzpUHhkTp+Tw1KueU4 SZKYyRAquUK3g/RWSSh83caqn/XnTPj44hP795htqDo5nv026sA9UyKuly0FTHnLormI aUqQ== X-Received: by 10.180.13.145 with SMTP id h17mr46328889wic.38.1427363536875; Thu, 26 Mar 2015 02:52:16 -0700 (PDT) Original-Received: from Rainers-MacBook-Pro.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by mx.google.com with ESMTPSA id g2sm1910549wib.1.2015.03.26.02.52.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Mar 2015 02:52:15 -0700 (PDT) In-Reply-To: (Rainer M. Krug's message of "Tue, 24 Mar 2015 12:06:21 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (darwin) X-Spam-Score: -2.7 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85849 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I wrote this =3Dup in a blog post for reference: https://rmkrug.wordpress.com/2015/03/26/convert-multiple-mbox-files-into-a-= maildir/ Cheers, Rainer Rainer M Krug writes: > Rainer M Krug writes: > >> Rainer M Krug 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 =3Dconv.pl=3D > |=20 > | 2) I run it together with =3Dfind=3D to iterate through all mbox files > |=20=20=20 > | mkdir ./Maildir > | find . -name "MATCHING_THE_MBOX_FILES" -exec ./conv.pl {} ./Maildir/= \; > | > |=20 > | 3) The files are created in =3D./Maildir/new=3D.=20 > |=20 > | 4) I then moved them to my maildir used by dovecot > |=20 > | 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 =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJVE9bNAAoJENvXNx4PUvmCv3cH/Ro+UL03dnwYtY5Ql1qGybfQ wNshKBfRiEycvVsEdah6Tsm2YErNgZZWkDPND5iWaur79iY7qJ9976rFe0JqYfAN vZn5AFSH7gjbIVJ2GvRCBRf9qt4C2VESXlhlSkN9jsKQDRImqnMXZFrPSCCM6NNG sbihzt95w0j/h+o7flpDFHr5RZweTaXNelQr16X4QTmlxRjftepmYV8bfdfwri8d cKHZJsf3G9m7gU0sE/6aVruTVQjJxRHNn3lEsErgxFfVSBm393OpflwIqycfNsmN GG7SpSj6AfKBcrv93Mp2IPrAcSQMJSact6wdCnW8R6rciLDp2D9xUGjFLmfkRsA= =wANe -----END PGP SIGNATURE----- --=-=-=--