LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Squirrelmail and vhosts port question (https://www.linuxquestions.org/questions/linux-networking-3/squirrelmail-and-vhosts-port-question-729984/)

alepint 06-01-2009 06:56 PM

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

alepint 06-02-2009 05:20 AM

bump

alepint 06-02-2009 06:36 AM

no bother.. got it all sorted now.

bathory 06-02-2009 07:00 AM

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


All times are GMT -5. The time now is 05:50 PM.