hoellen
8fe1e788b3
add missing route fixes
2019-01-04 21:18:51 +01:00
hoellen
d5d4d6c337
harden email address validation and fix routes with user_email
2019-01-04 18:05:56 +01:00
TheLegend875
999d2a9557
changed default.sieve to send displayed name
2018-12-30 22:06:36 +01:00
mergify-bot
09a50b6cfc
Merge branch 'master' into 'master'
2018-12-13 19:14:20 +01:00
kaiyou
4060ac2223
Remove some forgotten debugging
2018-12-13 15:19:34 +01:00
kaiyou
087841d5b7
Fix the way we handle the application context
...
The init script was pushing an application context, which maked
flask.g global and persisted across requests. This was evaluated
to have a minimal security impact.
This explains/fixes #738 : flask_wtf caches the csrf token in the
application context to have a single token per request, and only
sets the session attribute after the first generation.
2018-12-13 14:23:17 +01:00
Tim Möhlmann
8172f3eab8
Move the Mailu Docker network to a fixed subnet.
...
This will make network configuration and host based authentication
more robust, across different deployment platforms.
The options `RELAYNETS` and`POD_ADDRESS_RANGE` are kept for compatibility.
However, their usage have become optional.
2018-12-06 12:08:22 +02:00
kaiyou
d0f07984b0
Merge remote-tracking branch 'upstream/master' into refactor-config
2018-12-06 10:23:43 +01:00
mergify[bot]
37027cfce7
Merge pull request #633 from kaiyou/fix-sender-checks
...
Improve sender checks
2018-12-05 16:03:24 +00:00
Tim Möhlmann
eff6c34632
Catch asterisk before resolve_domain
...
Asterisk results in IDNA error and a 500 return code.
2018-12-04 15:40:07 +02:00
David Rothera
88c174fb7a
Query alternative table for domain matches
...
At present postfix checks this view for matches in the domain table and is used to accept/deny messages sent into it however it never checks for matches in the alternative table.
Fixes #718
2018-12-02 11:21:42 +00:00
kaiyou
5b769e23da
Merge branch 'master' into refactor-config
2018-11-08 21:43:05 +01:00
Tim Möhlmann
5fa2aac569
Fix imap login when no webmail selected
2018-10-31 17:47:05 +02:00
Tim Möhlmann
aed80a74fa
Rectify decleration of domain_name
2018-10-23 11:52:15 +03:00
Tim Möhlmann
2d382f2d67
Merge branch 'master' into fix-sender-checks
2018-10-23 10:58:29 +03:00
kaiyou
1fcaef7c7e
Merge branch 'master' into fix-sender-checks
2018-10-20 10:18:36 +02:00
hoellen
857ad50509
Merge branch 'master' into feat-reply-startdate
2018-10-19 22:06:56 +02:00
kaiyou
fc24426291
First batch of refactoring, using the app factory pattern
2018-10-18 15:57:43 +02:00
kaiyou
dba8f1810d
Do not check the password another time in Dovecot
2018-10-17 21:22:09 +02:00
kaiyou
5ada669f43
Rebase reply startdate on master
2018-10-16 20:38:18 +02:00
kaiyou
c6846fd8db
Merge branch 'master' into feat-reply-startdate
2018-10-15 21:52:06 +02:00
kaiyou
508e519a34
Refactor the postfix views and implement sender checks
2018-10-07 16:24:48 +02:00
kaiyou
fc99eb7b34
Re-enable sender access check to prevent source spoofing
2018-10-07 01:52:01 +02:00
kaiyou
f5668dea51
Handle relays as virtual transports through podop
2018-09-27 16:30:20 +02:00
kaiyou
42c6bdb4df
Split the internal blueprint into multiple view files
2018-09-27 16:09:38 +02:00
kaiyou
f9c6c98180
Remove fetchmail dependency to the databse
2018-09-27 15:54:08 +02:00
kaiyou
0d52364eac
Fix alias resolution through podop
2018-09-27 14:38:10 +02:00
kaiyou
6ba55ee377
Implement the sieve script name resolution pattern
2018-09-27 14:10:53 +02:00
kaiyou
3c725bf634
Only support generating the default sieve script
2018-09-27 08:18:22 +02:00
kaiyou
ca6c0bc8fd
Fix the user sieve script generation
2018-09-27 08:18:03 +02:00
kaiyou
4d25083847
Move sieve script generation to the admin container
2018-09-27 08:11:26 +02:00
kaiyou
cfeaa189f9
Use proper 404 return codes for missing objects
2018-09-27 08:00:31 +02:00
kaiyou
d8365bfbcf
Use simpler routes for Dovecot
2018-09-27 07:55:54 +02:00
kaiyou
7143fb8c47
Implement some basic views for podop
2018-09-26 00:15:03 +02:00
kaiyou
68aa797720
Merge branch 'master' into feat-abstract-db
2018-09-25 21:46:12 +02:00
kaiyou
73ca5fb3d3
Provide a more generic skeletton for postfix virtual lookups
2018-09-24 23:19:06 +02:00
Pierre Jaury
809fe78f82
Add dovecot views to the internal API
2018-07-26 21:40:44 +02:00
Michal Prihoda
f5e7751835
Return correct status codes from auth rate limiter failure.
2018-07-02 21:41:40 +02:00
Stefan Auditor
e843f7ef1f
Respect user enabled flag in admin authentication
2018-04-15 19:53:24 +02:00
Stefan Auditor
c8540ddba7
Respect user enabled flag in basic authentication
2018-04-15 14:02:15 +02:00
Stefan Auditor
6fc22e5432
Respect user.enabled status in internal authentication
2018-04-15 13:43:30 +02:00
Mildred Ki'Lya
f538e33dcf
Parametrize hosts
...
Allows to use mailu without docker-compose when hostnames are not set up
by docker itself but provided via a separate resolver.
Use case: use mailu using nomad scheduler and consul resolver instead of
docker-compose. Other servers are provided by the DNS resolver that
resolves names like admin.service.consul or webmail.service.consul.
These names needs to be configurable.
2018-01-24 22:54:41 +01:00
kaiyou
c545b8d110
Honor feature limitations for imap and pop3
2017-11-21 20:46:32 +01:00
kaiyou
17b184e5c8
Implement a basic authentication API
2017-11-20 00:08:48 +01:00
kaiyou
1a3f85fbc2
Make the rspamd webui available, fixes #157
2017-11-10 14:49:36 +01:00
kaiyou
6e61500eb1
Fix the authentication behavior with non-existing users
2017-11-10 10:15:30 +01:00
kaiyou
45902ae012
Fix a bug when trying to authenticate with a non existing user
2017-11-05 18:12:50 +01:00
kaiyou
baff8dd043
Avoid blacklisting the webmail
2017-11-05 18:12:26 +01:00
kaiyou
689be5f2d9
Move all directories per theme
2017-11-01 12:11:04 +01:00