New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

IMAP and CN name does not match. windows and Outlook

Got problems with your B2 or B3? Share and get helped!
Post Reply
jobbe
Posts: 11
Joined: 04 Oct 2008, 07:43

IMAP and CN name does not match. windows and Outlook

Post by jobbe »

Hi there,

If you like I have been strugling with IMAP and CN name does not matchs heres a couple of ideas.
I have tested this with Windows Vista, XP and Windows 7.0 RC

1. on you bubba2 server

make sure you have an entry in your /etc/hosts

i.e.
192.168.1.3 server.yourdomain.com


2. on your bubba2 server, generate a self signed certificate

openssl req -x509 -nodes -days 3650 -subj '/C=yourcountry/L=yourtown/O=yourname/CN=server.yourdomain.com' -newkey rsa:1024 -keyout bubba2_key.pem -out bubba2_cert.pem

3. on your bubbas2 server

cp bubba2_key.pem /etc/ssl/private
cp bubba2_cert.pem /etc/ssl/certs


4. edit you dovecot.conf

nano /etc/dovecot/dovecot.conf

find and replace

#ssl_cert_file = /etc/ssl/certs/dovecot.pem
ssl_cert_file = /etc/ssl/certs/bubba2_cert.pem
#ssl_key_file = /etc/ssl/private/dovecot.pem
ssl_key_file = /etc/ssl/private/bubba2_key.pem

5. restart service

/etc/init.d/dovecot restart

6. On your client, edit host file. Note! File may be read only

/windows/system32/drivers/etc/hosts

192.168.1.3 server.yourdomain.com

7. add your selfsigned certificate to "trusted root certification Authorities"

start, run

certmgr.msc

import the certificates generated in step 2.

8. Change outlook to point to the inbound server with FQDN (server.yourdomain.com)

And it should all be singing and dancing...
Post Reply