1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Insular email distribution - mail server as Docker images
Go to file
bors[bot] b668eccc17
Merge #1181
1181: Update to address issue #1178 (HTTP headers) r=muhlemmer a=bladeswords

This change should remove the duplicate `x-xss-protection` header and also the `x-powered-by` header.  Hopefully a pull request to main is appropriate, but may be worth back porting to 1.7.

Tested config by modifying live 1.7 nginx config and reloading.  Has had the desired outcome of removing the headers.

```/etc/nginx # nginx -t -c /etc/nginx/nginx.conf 
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
/etc/nginx # nginx -s reload
```

These steps were based on:
- https://serverfault.com/questions/928912/how-do-i-remove-a-server-added-header-from-proxied-location
- https://serverfault.com/questions/929571/overwrite-http-headers-comming-back-from-a-web-application-server-proxied-in-ngi
- http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_hide_header

## What type of PR?

Enhancement

## What does this PR do?
Removes duplicate and unneeded headers.  See issue #1178 

### Related issue(s)
- issue: #1178 

## Prerequistes
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [ X ] In case of feature or enhancement: documentation updated accordingly
- [ X ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: bladeswords <bladeswords@users.noreply.github.com>
2019-10-13 18:32:51 +00:00
core Merge #1181 2019-10-13 18:32:51 +00:00
docs Merge #1188 2019-10-13 17:07:04 +00:00
optional Update run.sh 2019-08-11 00:39:52 +02:00
services Resolve HOST_* to *_ADDRESS only if *_ADDRESS is not already set 2019-08-31 18:18:58 +02:00
setup Change default password scheme to PBKDF2 (#1194) 2019-10-07 22:29:03 +02:00
tests Change default password scheme to PBKDF2 (#1194) 2019-10-07 22:29:03 +02:00
towncrier Merge #1183 2019-10-13 16:19:24 +00:00
webmails update roundcube 1.3.10 2019-08-29 23:16:46 +02:00
.gitignore Merge branch 'master' into refactor-repo 2017-11-04 18:40:53 +01:00
.mergify.yml Remove ionutfilip and add micw for single review merges 2019-10-13 20:03:19 +03:00
.travis.yml Update docs, travis and mergify for 1.7 release 2019-08-21 14:27:39 +03:00
AUTHORS.md Add usrpro team to authors 2018-12-30 21:15:41 +02:00
bors.toml Automatic creation of review images 2019-01-23 18:21:48 +02:00
CHANGELOG.md Add migration notes 2019-08-22 23:32:13 +02:00
CODE_OF_CONDUCT.md Add a code of conduct, fixes #319 2017-11-12 11:42:53 +01:00
CONTRIBUTING.md Fix links to documentation 2018-12-30 21:08:29 +02:00
LICENSE.md Rename the freeposte/mailu directory and database 2016-10-29 13:42:39 +02:00
PULL_REQUEST_TEMPLATE.md Changed docs version from 1.6 to master 2019-02-20 12:10:54 +02:00
pyproject.toml Fix the package setting 2019-09-17 21:13:35 +02:00
README.md Update README.md 2018-06-28 17:29:52 +03:00

Mailu

Mailu is a simple yet full-featured mail server as a set of Docker images. It is free software (both as in free beer and as in free speech), open to suggestions and external contributions. The project aims at providing people with an easily setup, easily maintained and full-featured mail server while not shipping proprietary software nor unrelated features often found in popular groupware.

Most of the documentation is available on our Website, you can also try our demo server before setting up your own, and come talk to us on Matrix.

Features

Main features include:

  • Standard email server, IMAP and IMAP+, SMTP and Submission
  • Advanced email features, aliases, domain aliases, custom routing
  • Web access, multiple Webmails and administration interface
  • User features, aliases, auto-reply, auto-forward, fetched accounts
  • Admin features, global admins, announcements, per-domain delegation, quotas
  • Security, enforced TLS, Letsencrypt!, outgoing DKIM, anti-virus scanner
  • Antispam, auto-learn, greylisting, DMARC and SPF
  • Freedom, all FOSS components, no tracker included

Domains

Contributing

Mailu is free software, open to suggestions and contributions. All components are free software and compatible with the MIT license. All specific configuration files, Dockerfiles and code are placed under the MIT license.