1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-18 06:37:06 +00:00
mailinabox/management
Joshua Tauberer 202c4a948b our users/aliases database is case sensitive - force new users/aliases to lowercase
Unfortunately our users/aliases database is case sensitive. (Perhaps I should have defined the columns with COLLATE NOCASE, see https://www.sqlite.org/datatype3.html.) Postfix always queries the tables in lowecase, so mail delivery would fail if a user or alias were defined with any capital letters. It would have also been possible to add multiple euqivalent addresses into the database with different case.

This commit rejects new mail users that have capital letters and forces new aliases to lowecase. I prefer to reject rather than casefold user accounts so that the login credentials the user gave are exactly what goes into the database.

https://discourse.mailinabox.email/t/recipient-address-rejected-user-unknown-in-virtual-mailbox-table/512/4
2015-05-28 13:11:30 +00:00
..
templates Use lowercase h for consistency in aliases template - it reads better (IMO!) 2015-05-28 13:46:15 +01:00
auth.py if you make an API call with a user-specific API key (e.g. from control panel) but your account no longer exists on the system, there was an unhandled error 2015-04-28 07:17:21 -04:00
backup.py Fixing minor misspelling of the word: encrypted 2015-05-25 10:15:57 +09:30
daemon.py rewrite the DNS API to permit setting multiple records of the same type on the same domain 2015-05-03 13:43:38 +00:00
dns_update.py move the server: block of nsd.conf out of the management daemon and into the setup scripts 2015-05-04 11:24:40 +00:00
mail_log.py mail log scanner: dont assume lines are utf8 2015-01-02 22:49:25 +00:00
mailconfig.py our users/aliases database is case sensitive - force new users/aliases to lowercase 2015-05-28 13:11:30 +00:00
status_checks.py if the main ssl cert is expiring soon, the end of setup would display the control panel instructions as if the cert were self-signed 2015-05-14 19:16:31 +00:00
utils.py race condition between backups and status checks - connection refused 2015-04-29 21:06:38 +00:00
web_update.py '/dev/stdout' does not exist on some systems (!) 2015-05-16 13:34:47 +00:00