LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-01-2009, 06:56 PM   #1
alepint
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
Squirrelmail and vhosts port question


I got totally confused on using TLS/SSL port 443 in Apache Virtual Hosts for container with Squirrelmail and using 993 in its config. Unless both of them are eiher 443 or 993 my setup won't work and I couldn't navigate to SM login prompt (getting page cannot be displayed instead).

Here's my httpd.conf:

NameVirtualHost xx.xx.xx.xx:443
<VirtualHost xx.xx.xx.xx:443>
ServerName mail.mydomain.com
DocumentRoot "/usr/local/www/squirrelmail"
</VirtualHost>

I want Squirrelmail to auth using TLS, however since secure IMAP is normally 993 I am unsure what value to key in in IMAP port in ./configure. Like I said if I go with 993, page won't load. If I use 443 it will work. Shall I just use 443 in SM config or what's the way to do it?

thank you
 
Old 06-02-2009, 05:20 AM   #2
alepint
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
bump
 
Old 06-02-2009, 06:36 AM   #3
alepint
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
no bother.. got it all sorted now.
 
Old 06-02-2009, 07:00 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Apache SSL is a completely different thing that IMAPS. Squirrelmail is a web client for your imap server.
If you want to use https you should configure apache accordingly. Does https://xx.xx.xx.xx works? If it does, then also https://mail.domain.com should work, maybe with some configuration changes.
If you want to use IMAPS, then you must configure your imap server for this. Does you imap server works securely? You can use Thunderbird to test it.

At last if both servers work independently, then you have to run conf.pl to configure Squirrelmail to use IMAPS and define as imap port 993
 
  


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
Squirrelmail question GinkoOMO Linux - Software 3 02-11-2005 12:37 PM
SquirrelMail plugins question Swift&Smart Linux - Software 4 04-15-2004 10:47 AM
vhosts for IRC->IPs->DNS? question Belize Linux - Networking 1 01-24-2004 11:05 AM
Sendmail / Squirrelmail - external ISP blocked port 25 piers Linux - Newbie 5 04-27-2003 08:42 AM
apache vhosts question sqn Linux - Networking 0 04-01-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:27 PM.

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
Open Source Consulting | Domain Registration