4c52eb3e0e
1957: BugFix 1952 - use punycode encoding in HTTP headers for webmail/radicale r=mergify[bot] a=Diman0 ## What type of PR? Bug fix ## What does this PR do? Fixes a bug introduced by the SSO implementation and an already existing bug for radicale. In auth.py we did not use punycode (ACE) encoding for the domain part of an email. Since we pass the user name in the HTTP header to webmail/radicale, we would sometime pass non-ascii. E.g. user@exämple.io. This is illegal. HTTP headers may only contain ASCII. The domain part of the user name therefore now uses punycode encoding. I tested that I can log in with the form user@exämple.io and user@xn--exmple-cua.io for - admin - roundcube (also tested sending emails of course) - rainloop (also tested sending emails of course) - radicale (webdav) - thunderbird - sending/receiving emails and accessing/modifying the webdav calendar added in radicale. - for the calendar you can use the normal and punnycode notation - for email you can only use punnycode. This is a limitation of thunderbird. It does not accept email addresses with non-ascii in the domain part of an email address. ### Related issue(s) - closes #1952 ## 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. - [n/a] 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/workflow.html#changelog) entry file. Co-authored-by: Dimitri Huisman <diman@huisman.xyz> |
3 years ago | |
---|---|---|
.github | 3 years ago | |
core | 3 years ago | |
docs | 3 years ago | |
optional | 3 years ago | |
setup | 3 years ago | |
tests | 3 years ago | |
towncrier | 3 years ago | |
webmails | 3 years ago | |
.gitignore | 5 years ago | |
.mergify.yml | 3 years ago | |
AUTHORS.md | 4 years ago | |
CHANGELOG.md | 3 years ago | |
CODE_OF_CONDUCT.md | 7 years ago | |
CONTRIBUTING.md | 5 years ago | |
ISSUE_TEMPLATE.md | 4 years ago | |
LICENSE.md | 8 years ago | |
PULL_REQUEST_TEMPLATE.md | 3 years ago | |
README.md | 6 years ago | |
bors.toml | 3 years ago | |
pyproject.toml | 5 years ago |
README.md
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
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.