1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Commit Graph

44 Commits

Author SHA1 Message Date
Pierre Jaury
0cf1d82dde Use --no-cache when installing packages 2017-02-12 16:46:30 +01:00
Pierre Jaury
b46433cabe Fix a typo in the repor-ham sieve script, fixes #159 2017-02-12 13:29:34 +01:00
Pierre Jaury
18834de56e Handle forwards as aliases with local copy 2017-02-02 21:36:50 +01:00
Pierre Jaury
456e2dcc05 Stat dirs in Dovecot to avoid issues with ext2/3/4, fixes #143 2017-01-23 20:54:10 +01:00
Pierre Jaury
692bcda868 Allow forward to multiple destinations, fixes #34 2016-12-11 19:40:42 +01:00
Pierre Jaury
f2ff1eb955 Remove binary apk and use sieve_imap for antispam learning, fixes #33 2016-12-11 19:15:09 +01:00
Pierre Jaury
5906999909 Send vacation replies even for aliases, related to #123 2016-11-24 12:39:58 +01:00
Pierre Jaury
cb73ca9383 Set an envelope address in vacation replies to get DKIM, related to #121 2016-11-23 20:23:39 +01:00
Pierre Jaury
54082140e1 Add pop3 and pop3 support to the dovecot container, related to #114 2016-11-12 16:18:14 +01:00
Pierre Jaury
013286b8e1 Rename the freeposte/mailu directory and database 2016-10-29 13:42:39 +02:00
Pierre Jaury
72c4d2c15b Disable access to extdata from user sieve scripts 2016-10-18 23:03:07 +02:00
Pierre Jaury
c1f562edc3 Configure managesieve properly, related to #81 2016-10-18 23:02:42 +02:00
Christoph Rissner
b9de28e910 dovecot: use rspamd X-Spamd-Result percentage to evaluate spam
- configures dovecot to use the spamtest sieve plugins
- configures sieve to read the score from X-Spamd-Result: headers
- before.sieve applies the ${spam_threshold} to the spamtest percentage
- freeposte.db stores a percentage for ${spam_threshold}
- migrate freeposte.db spam_threshold from X/15 to percentages

the filter investigates the overall ratio of the `rspamd` header
`X-Spamd-Result` that looks something like this:

X-Spamd-Result: default: True [12.36 / 15.00]
 RBL_SPAMHAUS_XBL(4.00)[]
 BAYES_SPAM(3.06)[92.67%]
 RBL_SPAMHAUS_XBL_ANY(4.00)[]
 ONCE_RECEIVED_STRICT(4.00)[]
 HFILTER_HELO_BAREIP(3.00)[]
 RBL_SORBS_DUL(2.00)[]
 HFILTER_HOSTNAME_UNKNOWN(2.50)[]
 RBL_SPAMHAUS_PBL(2.00)[]
 RBL_SORBS_RECENT(1.50)[]
 MIME_UNKNOWN(0.10)[application/x-rar-compressed]
 RDNS_NONE(1.00)[]
 RBL_SORBS(0.00)[]
 R_SPF_NEUTRAL(0.00)[?all]
 ONCE_RECEIVED(0.10)[]
 RBL_SEM(1.00)[]
 MIME_HTML_ONLY(0.20)[]
 RBL_UCEPROTECT_LEVEL1(1.00)[]
 MIME_GOOD(-0.10)[multipart/mixed]

the sieve `spamtest :percent :value` in this case would be
   100*12.36/15 = 82.4%
2016-09-30 11:21:29 +02:00
Pierre Jaury
bfe9ededbc Fix spam filtering when the score is negative 2016-08-19 21:59:04 +02:00
Pierre Jaury
e3e9012183 Add a link to the BetterCrypto reference 2016-08-19 13:55:34 +02:00
Pierre Jaury
c0f6a3e387 Apply the BetterCrypto Dovecot configuration, related to #45 2016-08-19 13:54:47 +02:00
d-fens
62b1df04a0 Update dovecot SSL/TLS configuration
Ensure that RC4 and SSLv3 is not used. This is based off mailinabox project settings, while not the most ideal settings this improves the configuration from what it is currently.
2016-08-19 12:19:05 +01:00
Pierre Jaury
76c33df91f Flatten sieve imports 2016-08-18 20:17:04 +02:00
Pierre Jaury
93f33e956d Filter spam before forward and auto-reply 2016-08-18 20:14:03 +02:00
Pierre Jaury
daf8c4bad3 Honor per-user spam settings, fixes #21 2016-08-18 20:09:11 +02:00
Pierre Jaury
8ab1134477 Remove shipped antispam plugin binary, related to #33 2016-08-18 16:17:31 +02:00
Pierre Jaury
bbe637932e Implement Dovecot configuration overrides, related to #29 2016-08-18 15:58:26 +02:00
Pierre Jaury
41f343b1da Fix #28, mark junk messages as read 2016-08-11 14:06:25 +02:00
Pierre Jaury
e471a252c8 Bump ABI version for shipped APKs 2016-08-02 23:40:18 +02:00
Pierre Jaury
ddd20df866 Learn from spam automatically, fixes #8 2016-06-19 21:57:02 +02:00
Pierre Jaury
38cfc3c611 Mark spam messages as seen 2016-06-05 19:28:08 +02:00
Pierre Jaury
a52218a8c4 Still a workaround for dovecot from alpine:edge 2016-05-29 15:57:03 +02:00
Pierre Jaury
e3afa469e3 Use the latest reply_enabled and forward_enabled variables 2016-05-29 15:56:18 +02:00
Pierre Jaury
b0a1848bb7 Substitute variables properly in dovecot configuration 2016-05-29 15:55:36 +02:00
Pierre Jaury
988f16f3a4 Change the spam header name 2016-05-29 15:55:09 +02:00
Pierre Jaury
dbbad49f66 Handle vacation messages properly 2016-05-29 15:54:53 +02:00
Pierre Jaury
2396324e21 Temporary workaround for #6
The patch is still going through patchwork upstream (Alpine),
thus the auth-worker group was changed to 'mail' as a "temporary" workaround.
2016-05-06 19:26:11 +02:00
Pierre Jaury
9efc798246 Store the state of reply and forward settings being enabled 2016-05-04 16:12:56 +02:00
Pierre Jaury
3eca6864c3 Rename the generic 'address' to 'email' 2016-05-01 20:04:40 +02:00
Pierre Jaury
2d64ada2d6 Build the dovecot container from edge alpine 2016-04-24 16:27:17 +02:00
Pierre Jaury
90289f8b89 Build a proper version for extdata 2016-04-24 15:52:46 +02:00
Pierre Jaury
3a4703b764 Implement auto-forward and auto-reply 2016-04-20 21:20:02 +02:00
Pierre Jaury
719afcf0dd Switch to the new networking API 2016-04-20 21:17:43 +02:00
Pierre Jaury
18af763293 Store the full address as a computed field 2016-04-20 21:15:30 +02:00
Pierre Jaury
8d6a4cb654 Fix the dovecot SQL query 2016-03-20 15:38:03 +01:00
Pierre Jaury
e1c34c5984 Update mail server configurations to match the database structure 2016-03-19 20:40:01 +01:00
Pierre Jaury
f51180415c Put clamav and amavis togther, fix spam filtering 2016-03-02 22:31:44 +01:00
Pierre Jaury
c55c1202d6 Switch to env_file and deploy amavis 2016-03-02 21:25:56 +01:00
Pierre Jaury
d0006dc624 Move to Docker Compose and multiple containers 2016-02-24 07:44:49 +01:00