LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 10-23-2007, 07:07 PM   #1
danboland
Member
 
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?



Thanks,
Dan
 
Old 10-24-2007, 04:29 PM   #2
sneakyimp
Member
 
Registered: Dec 2004
Posts: 795

Rep: Reputation: 50
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 mail.foo.net in their mail client config, then cert will have to be a cert for 'mail.foo.net'. If user enters mail.bar.net, cert must say mail.bar.net.

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., mail.mydomain.com). You may find this helpful:
http://www.debian-administration.org/articles/284
 
  


Reply


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 02:49 AM.

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