Outlook

From YobiWiki
Jump to navigation Jump to search

A page about Outlook on this wiki? Sounds weird isn't it?
Well, blame my employer.

We migrated from Lotus Notes, with crappy hacked outdated client so Outlook is still better but...
At least under Lotus Notes it was possible to add an IMAP account (BTW Lotus Notes crashed quite often when talking IMAP...)
Here: Tools->Account Settings->This feature has been disabled by your system administrator

Main registry keys

Apparently important registry keys are under:

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Outlook

Injecting IMAP settings

Outlook Express client was also present on the Windows machine so I launched it

  • In Outlook Express:
    • Wizard -> typed my IMAP&SMTP settings
  • In Outlook:
    • File -> Import and Export... -> Import Internet Mail Account Settings -> Microsoft Outlook Express or Microsoft Windows Mail -> Wizard allowing to edit the imported settings :-)
    • Then write a new mail -> Account (below Send button) -> select your new account -> Send test mail -> Prompted to choose the sent folder, ok -> you've a multiple tabs config view of your new account, possibility to switch servers to TLS, changing name of the account, saying you need auth to talk to your SMTP etc etc
    • If you need to tune IMAP settings later, go to registry and reset key (000000NN must be replaced with the number of your IMAP profile)
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676\000000NN\IMAP Sentitems
= 0

Previously I tried importing from Eudora Light & Eudora but Outlook didn't see anything

UPDATE actually we can remove the admin barrier on account management:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Outlook\Setup\ModifyAccounts
=0

PST to Maildir

  • In Outlook:
    • New -> Outlook Data File... -> Outlook 97-2002 Personal Folders file
    • Copy/Move mails to it
    • Right-Click on it -> Close it (probably safer)
  • In Linux:
    • Convert to mbox using readpst, then to Maildir using mb2md
mkdir pst
readpst -r -o pst backup.pst
find pst -name mbox -size 0 -exec rm {} \;
find pst -mindepth 2 -type d -print0|xargs --null -I XXX mb2md -s "$(pwd)/XXX/mbox" -
find pst -mindepth 2 -name mbox -print0|xargs --null rm

I tried the PST Import plugin v1.2 for Thunderbird but it failed finding any mail in the PST

Openchange

I tried the one from Debian Experimental (version 1.0~svn679-1)

mapiprofile --address=A.B.C.D --username=name --password=passwd --domain=DOM --workstation=BLABLA --profile=test --create

-> segfault from libmapi0

I tried to compile the libmapi0 from the SVN, no segfault anymore but still failed

Changing JunkMail levels via registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Outlook\Options\Mail\JunkMailProtection
No Protection = 0xffffffff = 4294967295
Low = 6
High = 3
Trusted Lists Only = 0x80000000 = 2147483648

To enable the JunkMail otions in the Options->Preferences->E-Mail->Junk E-mail menu

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Outlook\DisableAntiSpam
=0