Report Feedback for solution this problem: postfix with suport squirrelmail
in apache2.
Considerations: My LAMP(in DEBIAN 7) IP:192.168.2.50
configuration in my bind(DNS Autorytative):
step 1: setup my mail in DNS:
vim db.oduvaldocozzi.intranet
mail IN A 192.168.2.50
oduvaldocozzi.intranet. IN      MX      10      mail.oduvaldocozzi.intranet.
step 2: Setup a Vhost with SSL access:
mail.oduvaldocozzi.intranet.conf
sslmail.oduvaldocozzi.intranet.conf

content: mail.oduvaldocozzi.intranet.conf
<VirtualHost  *:80>
ServerName mail.oduvaldocozzi.intranet
ServerAdmin postmaster@mail.oduvaldocozzi.intranet
Redirect "/" "https://mail.oduvaldocozzi.intranet";
</VirtualHost>

content:  sslmail.oduvaldocozzi.intranet.conf
<VirtualHost  *:443>
ServerName mail.oduvaldocozzi.intranet
DocumentRoot /usr/share/squirrelmail/
DirectoryIndex index.php
ServerAlias mail.oduvaldocozzi.intranet
Alias /squirrelmail  /usr/share/squirrelmail

SSLEngine On
SSLCertificateFile /etc/ssl/certs/mailssl.crt
SSLCertificateKeyFile /etc/ssl/private/mailssl.key
<Location />
SSLRequireSSL On
SSLVerifyClient optional
SSLVerifyDepth 1
SSLOptions +StdEnvVars +StrictRequire
</Location>
</VirtualHost>

OFF: Modules Apache2 Loaded:
Loaded Modules:
 core_module (static)
 so_module (static)
 watchdog_module (static)
 http_module (static)
 log_config_module (static)
 logio_module (static)
 version_module (static)
 unixd_module (static)
 access_compat_module (shared)
 alias_module (shared)
 auth_basic_module (shared)
 authn_core_module (shared)
 authn_file_module (shared)
 authz_core_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 deflate_module (shared)
 dir_module (shared)
 env_module (shared)
 filter_module (shared)
 mime_module (shared)
 mpm_prefork_module (shared)
 negotiation_module (shared)
 php5_module (shared)
 reqtimeout_module (shared)
 rewrite_module (shared)
 setenvif_module (shared)
 socache_shmcb_module (shared)
 ssl_module (shared)
 status_module (shared)

My enviroment work fine, send and received mail in my local network.
Thank you all.




2018-01-19 11:08 GMT-02:00 Rodrigo Cunha <rodrigo.root...@gmail.com>:

> If postfix users, get squirremail for implement webaccess in your
> enviroment, this teme is intersection between postfix and apache(httpd).
> It's not a category error, if it's common areas.
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>  Livre
> de vírus. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>.
> <#m_-6992272956313207420_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> 2018-01-19 8:38 GMT-02:00 Jonathan Sélea <jonat...@selea.se>:
>
>> I recommend you post this in the "Apache users" list instead.
>>
>>
>>
>> On 2018-01-18 21:33, Rodrigo Cunha wrote:
>>
>> 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
>>
>>
>>
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>  Livre
>> de vírus. www.avast.com
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>.
>>
>>
>>
>>
>
>
> --
> Atenciosamente,
> Rodrigo da Silva Cunha
> São Gonçalo, RJ - Brasil
>
>


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

Reply via email to