Commit Graph

3556 Commits (5ebcecf4dd6676637a5585d24d5a5853c7d23996)
 

Author SHA1 Message Date
kaiyou cb7171e205 Delete a symbolic link committed by mistake
Pierre Jaury ca93057386 Make sure that rainloop directories are ready before configuring
Pierre Jaury 54bc9fc20b Rename /mailu/mailu to /mailu/data
Pierre Jaury 6c800e8b63 Move the webmail to /webmail, fixes
Pierre Jaury 013286b8e1 Rename the freeposte/mailu directory and database
Pierre Jaury 4988a05a59 Rename the Docker Compose configuration to avoid name clashes
Pierre Jaury 4ffad0048f Rename to Mailu in docker-compose.yml
kaiyou 4c4f076198 Merge pull request from curry684/patch-1
Rename .env to .env.dist and fix freeposte refs
Niels Keurentjes 0eff42e1df Rename .env to .env.dist and fix freeposte refs
Ensure people can have their own config and adopt the new name in the default settings.
kaiyou 2169fb289e Merge pull request from
Update to poll command; Upgrade logging - issue 
Otto Schreibke 727a98a1e0 annotate and deactivate logging of the poll command - issue
Otto Schreibke 42cfc50bd8 run image as user fetchmail
Otto Schreibke 993492bc78 Update to poll command; Upgrade logging - issue
Pierre Jaury 15fa30180c Update logo and readme regarding to renaming, related to
Pierre Jaury 538d467604 Empty alias map to avoid warnings about /etc/aliases, fixes
Pierre Jaury b2d00bbf86 Enable the managesieve plugin in Roundcube, fixes
Pierre Jaury 72c4d2c15b Disable access to extdata from user sieve scripts
Pierre Jaury c1f562edc3 Configure managesieve properly, related to
Pierre Jaury e178ba2ffc Upgrade Roundcube to 1.2.2
Pierre Jaury 7be2d458d9 Use Email as a mixin and explicitely specify table names
This also fixes , as explained in the ticket, because Flask
SQlAlchemy is not accessing declared attributes early anymore.
Pierre Jaury c7fe29c957 Push the missing messages.pot
Pierre Jaury c007b37df7 Display error messages when Docker is unreachable properly, related to
kaiyou fe8e25485d Merge pull request from kaiyou/feat-babel
Implement babel translation for I18N
Pierre Jaury 984b605d05 Compile translations when building the admin container
Pierre Jaury acf4addae0 Add initial translations, fix
Pierre Jaury c37ad3557f Missing translations
Pierre Jaury 3fa44613b1 Add a default babel configuration
Pierre Jaury 3ade5641d9 Fix the confirmation form
Pierre Jaury 0beeeade41 Enable Babel for all views
Pierre Jaury a3ad45c8ac Use babel for base views
Pierre Jaury fe035114e9 Enable Babel for forms
Pierre Jaury d3436668d8 Enable Babel
Pierre Jaury 676a9a5d2c Do not redirect users to admin pages, fix
Pierre Jaury c028a3799d Write an equivalence test for domains, fixes
(cherry picked from commit 144f427088acf9439fd9971898296137b8339f9a)
Pierre Jaury 883afb30cd Remove unnecessary spaces in env file
kaiyou 1ae8fe6af1 Merge pull request from diresi/junk_filter
dovecot: use rspamd X-Spamd-Result percentage to evaluate spam
Pierre Jaury c02faada94 Remove deprecated references to flask_wtf.Form, fix
Pierre Jaury e7399e6926 Add a development run.py script
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%
kaiyou 79adbbb76c Merge pull request from aminb/message_size_limit
Default message_size_limit to 50MB
Amin Bandali b5aec1f065 Default message_size_limit to 50MB
Add MESSAGE_SIZE_LIMIT variable in .env to allow setting the message
size limit for postfix.
Pierre Jaury 525089a531 Do not leak information about existing domains or users
Pierre Jaury dcda715382 Force temporary files to /tmp, related to
Pierre Jaury 2cb4a44b5a Display fetchmail errors to the user, fixes
Pierre Jaury 709869d4ba Escape fetchmail parameters properly
Pierre Jaury 55d5121816 Buld the proper http image
Pierre Jaury f07615c4a4 Do not expose the Web admin interface by default, fixes
Pierre Jaury ec5a75f603 Proxify to webmail only if enabled, related to
kaiyou 18253b1dd3 Merge pull request from vhf/admin-creation
Allow admin creation after initial setup
kaiyou c1770a1dc1 Merge pull request from vhf/typofix
Fix a typo in the admin UI