Commit graph

2460 commits

Author SHA1 Message Date
Son NK
a3d919db2e take into account mailbox in alias search 2020-08-29 19:03:33 +02:00
Son Nguyen Kim
42d8b017ba
Merge pull request #274 from simple-login/snyk-upgrade-1c7c718062343b000f33520f38177b33
[Snyk] Upgrade @sentry/browser from 5.19.2 to 5.20.1
2020-08-28 12:28:45 +02:00
Son Nguyen Kim
0b2b653a7b
Merge pull request #271 from simple-login/postfix-tls
Enable TLS on Postfix submission
2020-08-28 12:28:23 +02:00
Son NK
62ddaaf7b4 black 2020-08-28 12:27:51 +02:00
Son NK
a3f3c252e3 Move Postfix TLS section to its own file 2020-08-28 12:25:35 +02:00
Son NK
e4271f725c update "reply must from mailbox" email wording 2020-08-27 11:12:48 +02:00
Son NK
a6df989a8f update cycle email subject 2020-08-27 11:10:16 +02:00
Son NK
b937e14ee3 update cycle email text 2020-08-27 10:52:46 +02:00
Son NK
4a90ea9aca send warning about email cycle at most once 2020-08-27 10:43:48 +02:00
Son NK
37a53757eb add send_email_at_most_times 2020-08-27 10:43:30 +02:00
Son NK
03b8a6f2e9 not install pytest & black in github action 2020-08-27 10:24:05 +02:00
Son NK
830299ce2c add black to requirements 2020-08-27 10:23:45 +02:00
Son NK
fdedc24358 black new version 2020-08-27 10:20:48 +02:00
Son NK
bb6e2a35ca send at max 1 email / day for the cycle email issue 2020-08-27 10:16:13 +02:00
Son NK
26ecf38760 use warning log level for cycle email issue 2020-08-27 10:15:40 +02:00
snyk-bot
119622ecb3 fix: upgrade @sentry/browser from 5.19.2 to 5.20.1
Snyk has created this PR to upgrade @sentry/browser from 5.19.2 to 5.20.1.

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-08-27 03:23:42 +00:00
Son NK
828d9e4fe1 ignore spoof check if alias.disable_email_spoofing_check 2020-08-26 14:39:51 +02:00
Son NK
9c72f4dec0 Add Alias.disable_email_spoofing_check column 2020-08-26 14:39:03 +02:00
Son NK
4101142253 black 2020-08-26 11:45:24 +02:00
Son NK
f213469e9f display nb-reply, nb-forward on alias contact page 2020-08-26 11:45:07 +02:00
Son Nguyen Kim
a1206d212f
Merge pull request #254 from simple-login/snyk-upgrade-87781a3cbe01c07072c01431e126ec5a
[Snyk] Upgrade @sentry/browser from 5.19.1 to 5.19.2
2020-08-26 05:18:50 -04:00
Son Nguyen Kim
76316c7085
Merge pull request #272 from simple-login/snyk-fix-d563a769e821ae4b433956309ca122f7
[Snyk] Fix for 1 vulnerabilities
2020-08-26 05:18:26 -04:00
snyk-bot
bf7e26d67e fix: requirements.txt to reduce vulnerabilities
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-SQLALCHEMY-590109
2020-08-25 21:53:34 +00:00
Son NK
cd687664d1 fix email template 2020-08-25 13:03:34 +02:00
Son NK
ab911fd55e do not forward cycle email: email sent to alias from its mailbox 2020-08-25 12:51:19 +02:00
Son NK
ce791567f1 delete header if empty when replacing header 2020-08-25 12:51:19 +02:00
Son NK
61fd81489f Set _EMAIL_LOG_ID_HEADER header for reply phase 2020-08-25 12:51:19 +02:00
Son NK
b53cc94310 set "X-SimpleLogin-Type" header for reply phase 2020-08-25 12:51:19 +02:00
Son NK
d410b34b50 set a custom Message-ID header 2020-08-25 12:51:19 +02:00
Son Nguyen Kim
637bc569eb
Merge pull request #260 from FabioWidmer/improvements-1
Improvements for Self Hosting & More
2020-08-24 20:16:59 +02:00
Son NK
2e6c22131f Enable TLS on Postfix submission 2020-08-24 20:12:43 +02:00
Son NK
9237f43c19 use warning log level for tampered alias 2020-08-24 19:58:21 +02:00
Son NK
0bb10d8fc3 add spam score processing time for forward phase 2020-08-24 18:39:16 +02:00
Son NK
ffa9304d00 log waiting time for get_spam_score 2020-08-24 17:47:56 +02:00
Son NK
9cf807f7bd special handling for case when alias can't be disabled 2020-08-24 10:48:54 +02:00
Son NK
29b6b52a62 try to get email log and mailbox from bounce report 2020-08-24 10:23:49 +02:00
Son NK
17c7303fb5 add get_header_from_bounce() 2020-08-24 10:17:22 +02:00
Son NK
eb6647d62e fix 2020-08-23 20:24:46 +02:00
Son NK
77bfa67402 fix delete_alias: do not use IntegrityError 2020-08-23 20:17:50 +02:00
Fabio Widmer
6a45010740
Remove secret variables from Jinja 2020-08-22 18:38:44 +02:00
Son NK
ef196c5b4a use 5.5 as max spam score 2020-08-22 16:58:51 +02:00
Son NK
00a08d898a refactor: do not use latest_activity in subquery 2020-08-21 23:10:23 +02:00
Son NK
d7583f1733 handle case where alias does not have any activity in get_alias_infos_with_pagination_v3 2020-08-21 20:39:18 +02:00
Son NK
30fe09185f create get_alias_infos_with_pagination_v3 - reduce nb queries used in get_alias_infos_with_pagination_v2 2020-08-21 19:51:48 +02:00
Son NK
06c48244e4 black 2020-08-21 12:03:23 +02:00
Son NK
dc8c2f403e try to fix Message.as_bytes() by trying different policies 2020-08-21 12:01:11 +02:00
Son NK
01afb7557c small refactoring 2020-08-21 10:47:10 +02:00
Son NK
2b2512e775 no need to create a copy of message when there's only 1 mailbox 2020-08-21 10:41:50 +02:00
Son NK
5bb4c20fba fix nb_bounced computation 2020-08-21 10:32:10 +02:00
Son NK
90eae05e9e better logging 2020-08-21 10:20:08 +02:00