Re: Setup SquirreMail with Virtual Host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry I was too fast.

I use the also  Login Manager ("Vlogin") plugin for SquirrelMail 

 https://squirrelmail.org/plugin_view.php?id=47 

there you see that  you need also Compatibility plugin version 2.0.14+, http://www.squirrelmail.org/plugin_view.php?id=152 



When I recall (about 10 years ago I set it up) I did not needed to setup vlogin.

 It should work together with  the line in the main squirrel config.php : $domain  = preg_replace("/^www\./i","",$_SERVER['SERVER_NAME']); 



 
On Thursday 18/01/2018 at 17:01, Rodrigo Cunha wrote:
Tks,
no solution worked. :(

[ Image ] Livre de vírus. www.avast.com.

2018-01-18 13:37 GMT-02:00 Steffen <info@xxxxxxxxxxxxxxxx.invalid>:


I have in Apache  my regular vhosts, nothing specific Squirrel in the Apache config.

I have in config.php


$domain                 = preg_replace("/^www\./i","",$_SERVER['SERVER_NAME']);

And that does the trick here.

Cheers,

Steffen



> Am 18.01.2018 um 15:57 schrieb Rodrigo Cunha <rodrigo.root.rj@xxxxxxxxx>:

Dear, i have a problem in config vhost squirremail.
I'm following the steps in the tutorial \
[http://www.100security.com.br/postfix-squirrelmail-outlook/] . The autor indicate \
setup this changes in apache2.conf:
Alias /webmail “/usr/share/squirrelmail/†DirectoryIndex index.php

but i want create vhost for my domain "mail.mydomain.com" and not create
redirect IP/webmail.I want config this mail with my other localwebsites like:
/etc/apache2/site-available/mail.mydomain.conf  and setup this file with
a2ensite mail.mydomain.conf, etc.

What is steps for configure my squirremail with vhost and not ip/webmail.
Tks.


--
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux