Commit Graph

2090 Commits

Author SHA1 Message Date
Son NK 735c0310fd install utility packages in dockerfile 2020-08-16 19:34:20 +02:00
Son NK 284aaad52b fix .dockerignore 2020-08-16 19:34:08 +02:00
Son NK cbdd080587 revert port binding on email handler 2020-08-16 19:34:00 +02:00
Son NK 6835c5b69d handle case cannot parse mailbox_id 2020-08-16 18:55:14 +02:00
Son NK a3a99ac3f4 use lock to handle 1 email at a time 2020-08-16 18:51:12 +02:00
Son NK d99d186bc0 revert the ignore AssertionError commit 2020-08-16 18:50:20 +02:00
Son NK 61a8f1e676 ignore the "Popped wrong app context" Assertion Error raised by AppContext 2020-08-16 15:34:44 +02:00
Son NK d4a6269e43 bind email handler to 127.0.0.1 instead of 0.0.0.0 2020-08-16 14:51:40 +02:00
Son NK 98a9e88ce4 fix spamassassin: add ending linebreak 2020-08-16 14:34:50 +02:00
Son NK 1ab9c926dd set email_log.spam_score 2020-08-16 14:28:47 +02:00
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
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 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