Commit graph

4248 commits

Author SHA1 Message Date
Adrià Casajús
0e3c46d944
Save original envelope for debugging 2022-04-06 17:31:46 +02:00
Adrià Casajús
61b8bbdfcc
Fix tests 2022-04-06 17:07:36 +02:00
Adrià Casajús
8ca1be0166
Apply dmarc policy to the reply phase 2022-04-06 12:51:04 +02:00
Son Nguyen Kim
936fa17005
Merge pull request #870 from simple-login/fix/misc
Set CONTENT_TRANSFER_ENCODING if absent
2022-04-05 19:13:15 +07:00
Son
754bd4964c Set CONTENT_TRANSFER_ENCODING if absent 2022-04-05 11:56:45 +02:00
Son
9aeceb9119 change logging for icloud bounce case 2022-04-05 11:52:43 +02:00
Son
43a6c87fd6 format some html files using pycharm 2022-04-02 17:36:33 +07:00
Son
c83bea6650 improve wording 2022-04-02 17:11:42 +07:00
Adrià Casajús
26889283d3
format 2022-03-30 17:20:49 +02:00
Adrià Casajús
c9a15f4921
Fixed tests 2022-03-30 16:29:38 +02:00
Adrià Casajús
451e69a3c4
More rebase fixes 2022-03-30 16:09:17 +02:00
Son Nguyen Kim
358d777b9e
Merge pull request #865 from simple-login/dmarc-soft-fail
Add a warning message to the email when it dmarc softfail
2022-03-30 21:08:36 +07:00
Adrià Casajús
dce9e633bf
fix 2022-03-30 16:02:05 +02:00
Adrià Casajús
db06ce0ae6
Create signed email addresses for VERP emails 2022-03-30 16:00:02 +02:00
Son
215561dec1 fix test 2022-03-30 20:54:42 +07:00
Son
1b5521efcf use red color for warning 2022-03-30 19:48:07 +07:00
Son
67c2c6afad add warning to email content when dmarc softfail 2022-03-30 19:48:07 +07:00
Son Nguyen Kim
110f2f2f2c
Merge pull request #861 from acasajus/spf-dmarc-backscatter
Reduce backscatter by checking return-path domain SPF status
2022-03-30 19:44:39 +07:00
Son Nguyen Kim
f7a98bc7d2
Merge pull request #862 from simple-login/ac/sanitize-next
Properly validate //host.com urls
2022-03-30 19:40:36 +07:00
Adrià Casajús
87ec7e05de
Revert pytest.ini 2022-03-30 11:56:15 +02:00
Adrià Casajús
83fc8964a8
PR comments 2022-03-30 09:53:35 +02:00
Son Nguyen Kim
d561bae7dd
Merge pull request #864 from simple-login/ac/insecure-random
Replace using random with secrets for security purposes
2022-03-30 11:49:33 +07:00
Son Nguyen Kim
90508c7ee7
Merge pull request #863 from simple-login/ac/sanitize-rate-limit
Add limiters to auth routes
2022-03-30 11:44:44 +07:00
Adrià Casajús
1555bc6346
fix test 2022-03-29 21:03:55 +02:00
Adrià Casajús
19e87a7156
More random to secrets 2022-03-29 18:42:28 +02:00
Adrià Casajús
b15facb6e4
Use secrets instead of random 2022-03-29 18:40:52 +02:00
Adrià Casajús
77faff5f7c
reverted pytest 2022-03-29 18:37:22 +02:00
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
c5b0f5304e
Format 2022-03-29 18:18:11 +02:00
Adrià Casajús
d6df5e0ea0
Add limiters to auth routes 2022-03-29 18:14: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
Adrià Casajús
ac9b88f87d
Add no header test 2022-03-29 15:59:35 +02:00
Adrià Casajús
085c166cb2
Replace 5XX with 2XX for return path that fail SPF check 2022-03-29 15:09:10 +02:00
Adrià Casajús
7d36256b7c
Check return-path spf record before bouncing a message 2022-03-29 10:52:11 +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