{"id":1225,"date":"2013-12-14T23:44:44","date_gmt":"2013-12-14T23:44:44","guid":{"rendered":"http:\/\/fbcs.co.uk\/?p=1225"},"modified":"2014-07-27T01:05:03","modified_gmt":"2014-07-27T00:05:03","slug":"w8-mail-app-vs-exim-and-dovecot","status":"publish","type":"post","link":"https:\/\/wp.fbcs.co.uk\/w8-mail-app-vs-exim-and-dovecot\/","title":{"rendered":"W8 Mail App vs Exim and Dovecot"},"content":{"rendered":"

\n\tThe Windows 8 Mail ‘app’ is fussy about who it will talk to, and gives absolutely no clues about what it thinks is wrong.  It just refers the user to their system administrator.\n<\/p>\n

\n\tBut, with help from Eric Lee Green’s blog<\/a>, I finally cracked it.\n<\/p>\n

\n\tI have a Debian server running Exim4 (for SMTP) and Dovecot (IMAP).\n<\/p>\n

\n\tFirstly I needed up-to-date self-signed SSL certificates for each of these (which I should have had anyway, but email clients such as Thunderbird are much less fussy).\n<\/p>\n

\n\tFor Exim, that means running\n<\/p>\n

\r\n# bash \/usr\/share\/doc\/exim4-base\/examples\/exim-gencert<\/pre>\n

\n\tDebian hides the certificate-generating script for Dovecot in the .deb package, so you have to run\n<\/p>\n

\r\n# rm \/etc\/dovecot\/dovecot.pem\r\n# rm \/etc\/dovecot\/private\/dovecot.pem\r\n# dpkg-reconfigure dovecot-core<\/pre>\n

\n\tThe next operation is to get the public certificate files (not the ones in private directories, obviously), i.e. exim.crt and dovecot.pem onto the Windows 8 machine.  I used psftp<\/a> to copy them to the desktop.  Rename dovecot.pem to dovecot.crt so that Windows knows what to do with it.  Then, for each one in turn:\n<\/p>\n