21 Commits (a8bc8e9d4b4fdb623a4e8c58a84d1e832837d4b6)

Author SHA1 Message Date
Pierre Jaury 013286b8e1 Rename the freeposte/mailu directory and database 8 years ago
Pierre Jaury 72c4d2c15b Disable access to extdata from user sieve scripts 8 years ago
Pierre Jaury c1f562edc3 Configure managesieve properly, related to #81 8 years ago
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%
8 years ago
Pierre Jaury e3e9012183 Add a link to the BetterCrypto reference 8 years ago
Pierre Jaury c0f6a3e387 Apply the BetterCrypto Dovecot configuration, related to #45 8 years ago
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.
8 years ago
Pierre Jaury daf8c4bad3 Honor per-user spam settings, fixes #21 8 years ago
Pierre Jaury bbe637932e Implement Dovecot configuration overrides, related to #29 8 years ago
Pierre Jaury ddd20df866 Learn from spam automatically, fixes #8 9 years ago
Pierre Jaury e3afa469e3 Use the latest reply_enabled and forward_enabled variables 9 years ago
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.
9 years ago
Pierre Jaury 3eca6864c3 Rename the generic 'address' to 'email' 9 years ago
Pierre Jaury 3a4703b764 Implement auto-forward and auto-reply 9 years ago
Pierre Jaury 719afcf0dd Switch to the new networking API 9 years ago
Pierre Jaury 18af763293 Store the full address as a computed field 9 years ago
Pierre Jaury 8d6a4cb654 Fix the dovecot SQL query 9 years ago
Pierre Jaury e1c34c5984 Update mail server configurations to match the database structure 9 years ago
Pierre Jaury f51180415c Put clamav and amavis togther, fix spam filtering 9 years ago
Pierre Jaury c55c1202d6 Switch to env_file and deploy amavis 9 years ago
Pierre Jaury d0006dc624 Move to Docker Compose and multiple containers 9 years ago