Commit Graph

2674 Commits

Author SHA1 Message Date
Son Nguyen Kim
4e7aec7dce
Merge pull request #293 from TheLastProject/patch-1
Add dot after DKIM
2020-09-30 11:09:01 +02:00
Son NK
abc42df0fb create get_spam_score() as a sync function, use a simpler version for running MailHandler. Remove async/await 2020-09-30 11:05:21 +02:00
Son NK
91e3cc5dcb able to set a different host than 127.0.0.1 and apply black format 2020-09-30 10:32:21 +02:00
Son NK
078368362c copy spamassassin client code from https://github.com/petermat/spamassassin_client 2020-09-30 10:29:52 +02:00
Son NK
f2eedfd3d1 enable sentry AioHttpIntegration 2020-09-30 10:22:10 +02:00
Son NK
19c61fa656 upgrade sentry-sdk to 0.18.0 2020-09-30 10:19:22 +02:00
snyk-bot
89c91f3843
fix: upgrade @sentry/browser from 5.21.4 to 5.22.3
Snyk has created this PR to upgrade @sentry/browser from 5.21.4 to 5.22.3.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-09-30 03:23:40 +00:00
Sylvia van Os
b95c44e3db
Add dot after DKIM
To prevent the domain name being added after it
2020-09-29 19:17:56 +02:00
Son NK
61e4455406 logging more for spamassassin 2020-09-29 16:00:53 +02:00
Son NK
cc8b3a116b improve email wording 2020-09-29 13:37:47 +02:00
Son NK
d7ca639dc1 format 2020-09-29 13:11:04 +02:00
Son NK
65938d2fb7 improve email template 2020-09-29 13:03:15 +02:00
Son NK
e8ccbced59 refactor code: wrap smtp.sendmail into sl_sendmail() 2020-09-29 12:57:14 +02:00
Son NK
e661f90ce7 do not hard exit when memory exceeds the threshold 2020-09-29 12:33:36 +02:00
Son Nguyen Kim
3a765ffc83
Merge pull request #285 from simple-login/snyk-upgrade-9ddbd7079151e5c2f8ba0b75c00326c7
[Snyk] Upgrade @sentry/browser from 5.21.3 to 5.21.4
2020-09-29 12:30:50 +02:00
Son NK
17ef292779 update reply-must-use-personal-email template 2020-09-29 11:00:50 +02:00
Son NK
571e39bb30 user can add/remove authorized address 2020-09-28 21:09:20 +02:00
Son NK
8b344e7dfe migration file 2020-09-28 17:43:16 +02:00
Son NK
0a7643b367 take into account mailbox authorized address when check for spoofing 2020-09-28 17:43:09 +02:00
Son NK
063885ccf7 Add get_mailbox_from_mail_from() 2020-09-28 17:41:16 +02:00
Son NK
0830bba218 Add AuthorizedAddress model 2020-09-28 17:40:54 +02:00
Son NK
d6d686c4c3 add argument commit= to create() 2020-09-28 17:40:30 +02:00
Son NK
bb6a5bf0b3 take into account a mailbox can be deleted in the meantime 2020-09-25 10:06:50 +02:00
Son NK
53f66d0f3c handle the "past due" subscription case: downgrade a subscription if it's renewed 2020-09-24 09:34:35 +02:00
Son NK
f274bac053 fix typo 2020-09-23 19:36:54 +02:00
Son NK
740d31871d remove asyncio.shield 2020-09-17 17:03:20 +02:00
Son NK
d81ad2fd12 sanitize mailbox before creating: remove empty space 2020-09-17 17:02:50 +02:00
Son NK
5f8fff5af3 wrap shield around aiospamc.check to avoid the task being canceled 2020-09-16 19:47:12 +02:00
Son NK
4b697fc897 parseaddr_unicode: handle case where name is bytes 2020-09-16 17:34:33 +02:00
Son NK
25118dff9b use parseaddr_unicode instead of parseaddr 2020-09-16 17:28:15 +02:00
Son NK
03dfafe1cf handle linebreak in parseaddr_unicode 2020-09-16 17:28:01 +02:00
Son NK
5c8d31111c add contact to handle_unknown_mailbox logging 2020-09-16 17:24:42 +02:00
snyk-bot
b8099bdb2f
fix: upgrade @sentry/browser from 5.21.3 to 5.21.4
Snyk has created this PR to upgrade @sentry/browser from 5.21.3 to 5.21.4.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-09-15 03:23:43 +00:00
Son NK
b9b442294b remove unnecessary sanitize on mailbox email 2020-09-14 20:02:46 +02:00
Son NK
5480f6d35b handle case highlight_id is not int 2020-09-14 19:54:00 +02:00
Son NK
a37f7fe8b8 sql migration 2020-09-14 18:22:35 +02:00
Son NK
cb2033443c fill up contact mail_from, from_header if possible 2020-09-14 18:22:26 +02:00
Son NK
8faae3d0d4 add sanitize check for alias, mailbox, contact reply-email 2020-09-14 18:22:08 +02:00
Son NK
40892f8253 contact email can contain whitespace 2020-09-14 18:21:30 +02:00
Son NK
299f7d3fba remove unnecessary sanitize 2020-09-14 17:58:15 +02:00
Son NK
491f4de120 add Contact mail_from and from_header column 2020-09-14 17:55:55 +02:00
Son NK
1ab36bd22b remove unnecessary email address sanitize 2020-09-14 17:38:48 +02:00
Son NK
ed2e748d1e sanitize envelope mail_from and rcpt_tos 2020-09-14 17:30:01 +02:00
Son NK
c48b5038f3 sanitize rcpt_to in greylisting_needed 2020-09-14 12:20:16 +02:00
Son NK
18263c2fd5 handle case alias already created in try_auto_create_catch_all_domain() 2020-09-14 12:18:15 +02:00
Son NK
e291a71037 fix duplicate contact on contact page 2020-09-14 11:38:01 +02:00
Son NK
5cfeb4c3f2 Add delta to stats 2020-09-12 16:22:48 +02:00
Son NK
85beb774c7 fix onboarding email 2020-09-12 15:51:43 +02:00
Son NK
1026f0763d fix wording 2020-09-12 14:57:33 +02:00
Son Nguyen Kim
3e450c5ac2
Merge pull request #283 from simple-login/snyk-upgrade-cf909261df1f4c89d4cc698a2c9edcd2
[Snyk] Upgrade @sentry/browser from 5.21.1 to 5.21.3
2020-09-12 14:45:20 +02:00