Outlook PST nach unix kovertieren

From Bitbull Wiki
Revision as of 15:40, 15 September 2017 by Chris (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

outlook ist ein unter windows oft verwendetes mailprogram. ich sage hier nicht, dass es gut ist, aber es ist halt mal so. hie und da wäre es aber doch recht praktisch die mails unter linux synchron oder greifbar zu haben:

  • RPM: read-pst
Usage: readpst [OPTIONS] {PST FILENAME}
OPTIONS:
       -c[v|l] - Set the Contact output mode. -cv = VCard, -cl = EMail list
       -d      - Debug to file. This is a binary log. Use readlog to print it
       -h      - Help. This screen
       -k      - KMail. Output in kmail format
       -o      - Output Dir. Directory to write files to. CWD is changed *after* opening pst file
       -q      - Quiet. Only print error messages
       -r      - Recursive. Output in a recursive format
       -S      - Seperate. Write emails in the seperate format
       -V      - Version. Display program version
       -w      - Overwrite any output mbox files
  • RPM: MHonArc

konvertiert mbox formate ins html vormat, diese können danach bequem auf einem webservber laufen oder lokal abgerufen werden

folgendes kleine script konvertiert PST-files in einem rutsch ins html fromat:

#!/bin/bash
PST=$1
PST2MBOX=/usr/bin/readpst
M2HTML=/usr/bin/mhonarc
cd $(dirname $PST)
$PST2MBOX -r $PST
find . -type f -name '*mbox' -exec $M2HTML {} \;
find . -type f -name '*mbox' -exec rm -f {} \;
exit 0