Commit graph

2635 commits

Author SHA1 Message Date
Son NK
0c6a5f4333 add EmailLog.spam_score column 2020-08-16 11:59:53 +02:00
Son NK
d738997c4e return 421 if any unexpected error happen 2020-08-16 11:10:01 +02:00
Son NK
118862ead0 only alert if monitoring fails >3 times consecutive 2020-08-16 10:27:35 +02:00
Son NK
79853b7736 use a timeout for get_spam_score 2020-08-16 10:22:16 +02:00
Son NK
3d638f1a97 extract monitoring to its own file 2020-08-15 19:55:56 +02:00
Son Nguyen Kim
becb3fe720
Merge pull request #264 from simple-login/spamassassin
Enable Spamassassin server
2020-08-15 17:03:38 +02:00
Son NK
359eec23c0 take into account spam email during reply phase on refused email page 2020-08-15 16:58:11 +02:00
Son NK
f9300009e5 refactor: rename forward -> contact 2020-08-15 16:56:16 +02:00
Son NK
bf555ed605 detect spam in reply phase 2020-08-15 16:53:57 +02:00
Son NK
673b08712c use SPAMASSASSIN server if available 2020-08-15 16:38:16 +02:00
Son NK
c4dd980cf6 add aiospamc to requirement 2020-08-15 16:35:18 +02:00
Son NK
08db23658a add SPAMASSASSIN_HOST param 2020-08-15 16:33:48 +02:00
Son NK
ec0a2bb6e3 fix crontab 2020-08-15 16:33:34 +02:00
Son NK
2a38d7c5fa update Postfix TLS config: use smtpd_tls_security_level instead of smtpd_use_tls, add smtp_tls_security_level 2020-08-15 13:17:41 +02:00
Son NK
8e6fb9975d add sql migration 2020-08-15 13:17:08 +02:00
Son NK
4bbb07c3ce add monitoring cronjob that monitors how many emails in Postfix queues 2020-08-15 13:16:51 +02:00
Son NK
c0f263ee70 add Monitoring model 2020-08-15 13:15:20 +02:00
Son NK
d8e4396a70 add HOST param 2020-08-14 19:09:45 +02:00
Fabio Widmer
fbb17b1f57
Fix email_utils.py formatting 2020-08-14 16:50:59 +02:00
Fabio Widmer
9fa9dbe821
Fix email_utils.py formatting 2020-08-14 16:30:43 +02:00
Fabio Widmer
9226492f83
More self hosting improvements 2020-08-14 16:23:29 +02:00
Son Nguyen Kim
edb8144be8
Merge pull request #263 from simple-login/fix-alias-trash
Fix alias trash
2020-08-14 12:38:33 +02:00
Son NK
89830e2173 fix import 2020-08-14 12:06:26 +02:00
Son NK
5636b7ba32 do not use DomainDeletedAlias.create 2020-08-14 12:03:59 +02:00
Son NK
6bc0c5ada4 fix Mailbox.delete: use alias_utils.delete_alias 2020-08-14 12:03:41 +02:00
Son NK
b4eb110971 fix Directory.create: use alias_utils.delete_alias 2020-08-14 12:02:54 +02:00
Son NK
2cae0200a8 use delete_alias(alias,user) instead of Alias.delete, DomainDeletedAlias.create, DeletedAlias.create 2020-08-14 12:02:33 +02:00
Son NK
4434ad62dd handle the case 2 users want to use the same email address 2020-08-13 11:00:48 +02:00
Son NK
b7cbaa6e84 delete the expired ChangeEmail object 2020-08-13 10:59:39 +02:00
Son Nguyen Kim
cb687c4248
Merge pull request #259 from FabioWidmer/plausible-analytics-support
Plausible Analytics Support
2020-08-12 20:25:37 +02:00
Fabio Widmer
8e71e8e7f4
A few (self hosting) improvements 2020-08-12 16:12:41 +02:00
Fabio Widmer
d0ed69f8aa
Add Plausible Analytics support 2020-08-12 15:24:34 +02:00
Son NK
0d1e5b1f7d Revert "show alert message on the email delay issue"
This reverts commit cba78b1b5d.
2020-08-12 12:49:09 +02:00
Son NK
b395c2ebd0 use warning log for FIDO error 2020-08-12 12:48:51 +02:00
Son NK
7e5deef34f add time measures to email_handler 2020-08-11 17:32:04 +02:00
Son NK
cba78b1b5d show alert message on the email delay issue 2020-08-11 17:04:00 +02:00
Son NK
00411cef61 reduce further 2020-08-11 16:31:08 +02:00
Son NK
dc206b41c7 lighten mail handler 2020-08-11 16:31:08 +02:00
Son NK
184397dc92 remove sentry AioHttpIntegration 2020-08-11 08:45:06 +02:00
Son NK
ef45e28ab3 Add aiocontextvars to fix "RuntimeError: The aiohttp integration for Sentry requires Python 3.7+ or aiocontextvars package" 2020-08-11 08:44:06 +02:00
Son NK
b064341f4e install gevent 2020-08-11 08:28:48 +02:00
Son NK
9def7df974 also search for PGP key in contact 2020-08-08 10:26:24 +02:00
Son NK
8db2ddcd5b Add nb_apple_premium, take into account canceled subscription in nb_premium 2020-08-07 10:06:00 +02:00
Son NK
8a11e42da9 notify admin when user cancels 2020-08-07 10:01:11 +02:00
Son NK
c74857c7e7 use alias name when searching 2020-08-07 09:56:44 +02:00
Son NK
2f00294ba3 replace pgp_enabled by disable_pgp 2020-08-06 14:22:28 +02:00
Son NK
0484fdbb83 update doc 2020-08-05 20:59:24 +02:00
Son NK
5dc631a6b5 black 2020-08-05 12:31:08 +02:00
Son NK
1f0ef13ff2 do not require user to re-enter TOTP code when cancelling TOTP 2020-08-05 12:30:56 +02:00
Son NK
f17608df50 add link back to home page in recovery page 2020-08-05 12:28:20 +02:00