Commit graph

4066 commits

Author SHA1 Message Date
Adrià Casajús
97ef5ff765
Fix oauth redirect when clientid is invalid 2022-03-29 18:37:01 +02:00
Adrià Casajús
a9e31cff26
Fix tests 2022-03-29 18:34:13 +02:00
Adrià Casajús
e91fd26964
Sanitized missing places 2022-03-29 18:03:18 +02:00
Adrià Casajús
8963a92f30
Revert pytest 2022-03-29 17:53:58 +02:00
Adrià Casajús
fe9161b101
Properly validate //host.com urls when redirecting after receiving a next param 2022-03-29 17:53:00 +02:00
Son
b0023981af change log 2022-03-25 18:28:31 +01:00
Son Nguyen Kim
af85b3a997
Merge pull request #856 from simple-login/feature/dmarc-email-notif
Send email when an email is put to quarantine and do not put soft_fail email to quarantine
2022-03-25 18:26:30 +01:00
Son
8820cecdd3 comment out soft_fail test 2022-03-25 18:12:33 +01:00
Son
4dbe22d856 do not put soft_fail email into quarantine for now 2022-03-25 18:04:53 +01:00
Son
0d7d56c0ea send email when an email is put to quarantine 2022-03-25 18:02:17 +01:00
Son Nguyen Kim
beee438445
Merge pull request #855 from simple-login/fix/dmarc
Fix/dmarc
2022-03-25 18:01:28 +01:00
Son
159d30820e change N/A to unknown to avoid confusion 2022-03-25 18:00:49 +01:00
Son
75da6d7027 fix 2022-03-25 16:49:49 +01:00
Son
334365e853 Merge branch 'master' into fix/dmarc
# Conflicts:
#	email_handler.py
2022-03-25 16:24:12 +01:00
Son
17d9190309 log envelope mail_from and header_from when dmarc fail 2022-03-25 16:20:30 +01:00
Son
63b1100a8b log event when there's no dmarc result 2022-03-25 16:19:11 +01:00
Son
ce2d2a3b3a fix case where header isn't string 2022-03-25 16:17:58 +01:00
Son Nguyen Kim
2a4d2d723b
Merge pull request #853 from acasajus/newrelic-event
Rename newrelic dmarc event
2022-03-24 12:53:02 +01:00
Adrià Casajús
e5fa90cf04
Rename newrelic dmarc event 2022-03-24 12:51:58 +01:00
Son
32fd65b69b add more log for alias transfer 2022-03-23 18:33:33 +01:00
Son
37de10e54c fix dmarc_result can be None 2022-03-23 08:34:25 +01:00
Son
cb92f1efea log when an email fails dmarc 2022-03-22 18:54:45 +01:00
Son
e11c257571 improve notification for quarantine 2022-03-22 18:54:36 +01:00
Son
4fc450720f fix test 2022-03-22 17:44:08 +01:00
Son Nguyen Kim
3d30870395
Merge pull request #849 from acasajus/new/parse-rpamd-headers
Return 200 on fishy dmarc result
2022-03-22 17:36:45 +01:00
Son Nguyen Kim
99b05034b0
Merge pull request #843 from acasajus/new/parse-rpamd-headers
Parse rspamd headers and apply dmarc policy if found.
2022-03-22 17:13:11 +01:00
Adrià Casajús
517bcb632e
MR changes 2022-03-22 17:02:59 +01:00
Son Nguyen Kim
ed92941bed
Merge pull request #848 from acasajus/fix-reply-to-mail
Fix transactional emails support
2022-03-22 14:26:40 +01:00
Adrià Casajús
51b479c64f
Fix transactional emails 2022-03-22 12:23:16 +01:00
Son
5b3688b6df set a domain for message-id 2022-03-22 11:02:02 +01:00
Adrià Casajús
ce6ee1a105
Added checks to get_dmarc_status 2022-03-21 19:13:51 +01:00
Adrià Casajús
93b06fe30c
Keep original From 2022-03-21 19:05:15 +01:00
Adrià Casajús
1b2d504b3b
Send a notification to the user when a message has been quarantined 2022-03-21 18:33:18 +01:00
Adrià Casajús
5f831d593a
CamelCase to snake_case 2022-03-21 17:59:43 +01:00
Son Nguyen Kim
a783b78a7f
Merge pull request #847 from simple-login/fix/replace-reverse-alias
decode, replace and encode for base64 encoding
2022-03-21 17:54:29 +01:00
Adrià Casajús
45459d65be
PR comments 2022-03-21 17:43:26 +01:00
Adrià Casajús
16275620ae
Also quarantine soft_fail dmarc results 2022-03-21 17:38:41 +01:00
Son
f554375f23 decode, replace and encode for base64 encoding 2022-03-21 17:29:22 +01:00
Son Nguyen Kim
7464588144
Merge pull request #845 from simple-login/feature/api-key-require-sudo
require password to use the api key page
2022-03-21 16:28:21 +01:00
Son
2baebe7934 remove unused import 2022-03-21 14:43:27 +01:00
Son
1952f368a8 require password to use the api key page 2022-03-21 14:40:47 +01:00
Son
9dc7cff87f add rate limiting for /auth/mfa 2022-03-21 14:23:35 +01:00
Son
a662ef4aee remove g.deduct_limit in api auth endpoint 2022-03-21 14:23:20 +01:00
Adrià Casajús
4d13e0c2b8
Rename 2022-03-21 12:32:50 +01:00
Adrià Casajús
35b47f4698
Updated test 2022-03-21 12:31:25 +01:00
Adrià Casajús
9930433d21
Use custom event 2022-03-21 12:14:51 +01:00
Adrià Casajús
06a1363e92
Updated MR comments 2022-03-21 12:03:11 +01:00
Adrià Casajús
cdea0f5ee2
Rename header 2022-03-21 10:43:19 +01:00
Adrià Casajús
d53ea381a0
Fix signature 2022-03-21 10:43:18 +01:00
Adrià Casajús
4a533bb03b
Fix imports 2022-03-21 10:43:18 +01:00