Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Creating PST files using Python Date: Wed, 4 Nov 2015 09:12:45 +1100 Lines: 25 Message-ID: References: <873907D8-7E21-4F08-AF07-A83F766802BA@cajuntechie.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de QEF+aav9xjs7P47NRegR8AitvgWQ48Fwos/JlBo2bSGQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'url:pypi': 0.03; 'subject:Python': 0.05; 'cc:addr:python-list': 0.09; 'pop3': 0.09; 'subject:files': 0.09; 'subject:using': 0.09; 'wed,': 0.15; 'importing': 0.15; 'server,': 0.15; 'cc:name:python list': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'layout,': 0.16; 'maildir': 0.16; "outlook's": 0.16; 'personally,': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'worst': 0.16; 'wrote:': 0.16; 'python?': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'am,': 0.23; 'matching': 0.23; 'header:In-Reply-To:1': 0.24; 'all.': 0.24; 'module': 0.25; 'message-id:@mail.gmail.com': 0.27; 'outlook': 0.28; 'allows': 0.30; "i'm": 0.30; 'creating': 0.30; "i'd": 0.31; 'probably': 0.31; 'anyone': 0.32; 'though,': 0.32; 'url:python': 0.33; 'pst': 0.33; 'case,': 0.34; 'know.': 0.34; 'received:google.com': 0.35; 'could': 0.35; 'nov': 0.35; 'something': 0.35; 'but': 0.36; 'project': 0.36; 'there': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'subject:: ': 0.37; 'beyond': 0.37; 'received:209.85.213': 0.37; 'version': 0.38; 'received:209': 0.38; 'files': 0.38; 'means': 0.39; 'format': 0.39; 'does': 0.39; 'some': 0.40; 'your': 0.60; "you'll": 0.61; 'different': 0.63; 'here:': 0.63; 'limit': 0.65; 'feeling': 0.72; 'mail.': 0.75; 'blob': 0.84; 'chrisa': 0.84; 'gut': 0.84; 'wiring': 0.84; 'to:none': 0.91; 'migrating': 0.91; 'refuse': 0.93; 'thing,': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=4EqUwYnWdyevL2L+W30JXJPIVRgihIFht25QMlY+tcg=; b=B45tkPajDZb5jHYpLmoCFb0kYnQXb4Ff4KZ859MYb7Gyzhd8IA/VwB3RQvh4Zhcrj4 Zu2UONjuQypcSLq8HxxgDeI0szUy9thNZE7mKiQ+gLCtpH/61N9XemqRMvTM+ZXw4qTY fzGVjLAYkD/R3Hb+1kD8LbmgZl8nYaZsGQ21e8esbnFOa9bkGL5ugPM2lwhQSyFq+2T8 41/FRa61hr6aICmazn156Wpdi7ZOh8jJAcPexXWLDH2aGcNEjuaZ1ecvDZ5nUt+qE6E4 E+bCXvSs26mncwoVdG1tLMkaXpGNSUIGQr0dv2Kul+Y/gTeqbc1ARv4ZK7SPBfP4ClSc U1Ag== X-Received: by 10.50.30.6 with SMTP id o6mr1641740igh.94.1446588765055; Tue, 03 Nov 2015 14:12:45 -0800 (PST) In-Reply-To: <873907D8-7E21-4F08-AF07-A83F766802BA@cajuntechie.org> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:98189 On Wed, Nov 4, 2015 at 6:09 AM, Anthony Papillion wrote: > Does anyone know of a module that allows the wiring of Outlook PST files using Python? I'm working on a project that will require me to migrate 60gb of maildir mail (multiple accounts) to Outlook. > *wince* I don't, but if there is such a thing, it'll probably be mentioned here: https://pypi.python.org But be careful. My gut feeling is that the format will be different in every version of Outlook, so you'll need something exactly matching it. Since you're migrating your mail *to* Outlook, I'd look for some means of importing mail. Worst case, you could create a bunch of files in the maildir layout, spin up an off-the-shelf POP3 server, and tell Outlook to read it all. Personally, though, I'd refuse the job altogether. Creating a 60GB blob of mail is going to cause nothing but pain. That might even be beyond Outlook's current hard limit - I don't know. Bad, bad idea. ChrisA