Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-23-2007, 07:07 PM   #1
Registered: Feb 2006
Location: NJ, USA
Distribution: Debian
Posts: 72

Rep: Reputation: 17
courier imap ssl with virtual hosts

I set up a Debian server with courier imap and created a ssl certifacte.

However every time i sign on to the server to check my mail I get a warning because the certificate says 'localhost' instead of my actual domain. Does anyone know how to fix this?

Also i have courier set up to use virtual hosts. Does anyone know how i could configure the server to present the client with a certificate for the virtual domain they are connecting to?

Old 10-24-2007, 04:29 PM   #2
Registered: Dec 2004
Posts: 865

Rep: Reputation: 53
I'm no expert, but I believe that the certificate will always have to match exactly the domain that the user has requested. If user enters in their mail client config, then cert will have to be a cert for ''. If user enters, cert must say

As for the cert, I'm guessing you generated it yourself right? You'll need to generate it all over again. During the process you will be prompted for the 'Common Name (hostname, IP or your name) at which point you should enter the actual name of the hostname for your mail server (e.g., You may find this helpful:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[ERROR] Setting up courier-imap-ssl c0nsur Linux - Newbie 5 10-01-2007 09:19 AM
Problems with Courier IMAP connecting to virtual users HGeneAnthony Linux - Software 0 11-05-2006 08:02 PM
Courier-imap and Postfix Virtual Mailbox Domains ahSyd Slackware 0 05-26-2006 08:04 AM
need help with apach virtual hosts ssl/non ssl sites danthach Linux - Networking 3 05-25-2006 07:40 AM
Automatically create virtual mail Courier Imap account hawkpaul Linux - Software 6 06-29-2005 09:06 AM

All times are GMT -5. The time now is 03:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration