You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mailu/towncrier/newsfragments
bors[bot] 60b9a3e2f0
Merge #1389
1389: Prefer specific alias over wildcard, regardless of case r=mergify[bot] a=Nebukadneza

## What type of PR?
bug-fix

## What does this PR do?
Since direct addresses (not aliases) are case-insensitive since a while,
it makes sense for aliases to behave the same. Up until now, a wildcard
alias could trump a alias not-matching-the-case of the incoming address.
This clarifies this behavior.

## Notes
I realize that the if-hell down there isn’t nice. What it is, however, is quite clear and easy to read. I’m hoping that if anyone ever gets confused in the future, this will make the current behavior transparent. For me, that was more important than a minimal amount of statements/branches …

### Related issue(s)
closes #1387

## Prerequistes
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: Dario Ernst <github@kanojo.de>
5 years ago
..
328.feature Add a newsfragment 5 years ago
508.misc Funding related documentation 5 years ago
985.feature add changelog 5 years ago
1011.feature Allow specifying the traefik version for cert dumping 5 years ago
1098.misc Ignore newlines and comment-lines in postfix overrides 5 years ago
1113.feature Resolve HOST_* to *_ADDRESS only if *_ADDRESS is not already set 5 years ago
1139.fix Add the newsfragment 5 years ago
1158.feature Use nginx for kubernetes ingress 5 years ago
1160.feature changelog for capability-advertisement 5 years ago
1177.bug Fix rspamd-learn when moving mail from/to junk folder 5 years ago
1190.fix Split HOST_ANTISPAM in HOST_ANTISPAM_MILTER and HOST_ANTISPAM_WEBUI 5 years ago
1194.feature Change default password scheme to PBKDF2 (#1194) 5 years ago
1197.feature Enable access log of admin service only for log levels of INFO and finer 5 years ago
1207.feature Add news fragments 1207.feature 5 years ago
1208.fix Changelog 5 years ago
1214.misc Move services into core and optional 5 years ago
1221.removal Dovecot: Delete obsolete data volume 5 years ago
1241.fix Update 1241.fix 5 years ago
1255.bugfix Radicale: Use pip package instead of alpine repo 5 years ago
1259.feature Document default antivirus behaviour, add an option to reject viruses 5 years ago
1267.feature add changelog 5 years ago
1268.feature Add changelog 5 years ago
1278.fix Changelog 5 years ago
1308.misc Use redis 5 on k8s & add selector 5 years ago
1320.feature Use a released git-tag for fts-xapian 5 years ago
1357.feature Add port to relay if it contains a colon 5 years ago
1387.bug Prefer specific alias over wildcard, regardless of case 5 years ago