7357 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
c8d1f614da
email: Simplify setting up postfix
- Reduce complexity by removing the diagnosis approach.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:05 -05:00
Sunil Mohan Adapa
bbd0b629f3
email: Add backup/restore component
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:03 -05:00
Sunil Mohan Adapa
851644574d
email: Add basic functional tests
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:01 -05:00
Sunil Mohan Adapa
96c587c13c
email: Setup rspamd configuration to include FreedomBox config
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:37:58 -05:00
Sunil Mohan Adapa
60d137a537
email: Remove override for local addresses
- The default, which is to trust local LAN IPs is good enough for FreedomBox use
case.

- This allows skipping some checks like DKIM for mails originating from local
networks which are not expected to have proper signatures.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:37:56 -05:00
Sunil Mohan Adapa
0d5366a356
email: Drop special handling for outbound filtering
- Reduces a lot of complexity and avoids running a couple of more postfix
daemons (one on 10025 port and other on socket fbxcleanup).

- Cleaning outbound headers for privacy can be done in a simpler way. This may
be re-implemented later.

- Masquerading domains is not very important for FreedomBox use case. Users are
expected to send all mail using MUA using properly configured email addresses.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:37:53 -05:00
Sunil Mohan Adapa
84f7b60bc5
email: Drop special handling for reserved TLDs
There is no special reason to handle them separately instead of letting DNS
resolution to them fail. No documentation on what caret addresses are or what
.fm.localhost TLD is.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:37:50 -05:00
Sunil Mohan Adapa
4b741e9192
email: Simplify setting milter configuration and running sievec
- Drop diagnosis.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:37:48 -05:00
Sunil Mohan Adapa
75ec7c5a5a
email: Add more special-use IMAP folders, set autoexpunge to 60days
A mail client should not create these special folders if they see existing
folders with the special-use flag set on them. However, if a mail clients does
create a folder and does not set special-use folder, the server will set the
flag so that all other mail clients can see the flag.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:37:45 -05:00
Sunil Mohan Adapa
9710369949
email: Narrowly match just rspamd's spam header
There is no need to match generically for flags that are possibly generated by
other spam software. Allow other rules to run after filing into Junk folder.
Allow other sieve filter to be present in the FreedomBox configuration directory.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:37:42 -05:00
Sunil Mohan Adapa
d47d39a8dd
email: Open firewall port for managesieve protocol
- managesieve plugin is already enabled due to installation of
dovecot-managesieve.

- Using ManageSieve protocol, clients like Thunderbird (with managesieve addon)
will be able to edit mail filters on the server. The server will perform the
filtering enabling all clients to share the benefits.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:37:39 -05:00
Sunil Mohan Adapa
ae8dd4ec7f
email: Depend on and run redis server
Many modules in rspamd including the bayes built-in module depend on
redis-server. Install, run and configure redis-server.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:37:36 -05:00
Sunil Mohan Adapa
fd9e1927e5
email: Simplify modifying headers proxied to rspamd web UI
There is no need to remove many headers explicitly after doing ProxyAddHeaders
off. If those headers are set by the client, that will merely result in an
unnecessary password dialog.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:37:34 -05:00
Sunil Mohan Adapa
b3a04ebce9
email: Drop unused Apache include freedombox-robots.conf
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:37:31 -05:00
Sunil Mohan Adapa
6421090a41
email: Tweak client auto-configuration file
- Allow STARTTLS as it is safe to do so.

- Allow POP service in the event user wants to keep the mails on the server.

- Add documentation link (this is currently unused and for documenting the code
only).

- Allow translation of display name and short name.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:37:26 -05:00
Sunil Mohan Adapa
6e2c24c9e4
email: rspamd: Simplify installing configuration
Existing implementation expects configuration files installed by FreedomBox to
be edited at the top and the bottom. When re-installing, it tries to keep the
edited parts while reinstalling the FreedomBox managed section in the middle to
be overwritten with (new) FreedomBox defaults.

Instead, simply ship the two files to rspamd configuration directories. These
can be easily overridden by the user if they desire due to flexible
configuration file priorities by rspamd.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:37:01 -05:00
Sunil Mohan Adapa
3b5091cbc3
email: Backup/restore aliases and mailboxes
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:36:55 -05:00
Sunil Mohan Adapa
2c044db25c
email: Drop X-Robots-Tag on the auto-configuration URL
Seems unnecessary. Nothing to followup on.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:36:47 -05:00
Sunil Mohan Adapa
32737a16ed
email: Rename app from email_server to email
For simplicity and consistency. Eliminate '_' in the name.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:36:40 -05:00
Sunil Mohan Adapa
d35ec339d1
email_server: Add front page shortcut, update name and description
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:36:36 -05:00
Sunil Mohan Adapa
3dc53046f4
email_server: Update short description
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:36:31 -05:00
Sunil Mohan Adapa
41dd78f432
email_server: Update donation URL to rspamd donation URL
These URLs are meant for supporting the upstream development of apps rather than
for FreedomBox (which has its own page). postfix, dovecot and clamav don't seem
have a donation mechanism. So, add rspamd's donation URL.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:36:20 -05:00
Sunil Mohan Adapa
5ce9f58bb4
email_server: List all listening ports of the daemons
This allows diagnosis of listening on all ports instead just the ports exposed
to outside.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:36:07 -05:00
James Valleroy
9e643015c7
Translated using Weblate (Telugu)
Currently translated at 99.0% (1413 of 1427 strings)
2022-03-02 13:27:53 +01:00
James Valleroy
d5495e3dea
Translated using Weblate (Telugu)
Currently translated at 99.0% (1413 of 1427 strings)
2022-03-02 13:24:55 +01:00
109247019824
8fcfc33664
Translated using Weblate (Bulgarian)
Currently translated at 13.2% (189 of 1427 strings)
2022-02-28 15:55:18 +01:00
Benedek Nagy
97569f1f74
Translated using Weblate (Hungarian)
Currently translated at 99.1% (1415 of 1427 strings)
2022-02-28 15:55:17 +01:00
James Valleroy
ff699f8da9
Translated using Weblate (Telugu)
Currently translated at 100.0% (1427 of 1427 strings)
2022-02-28 15:55:17 +01:00
Benedek Nagy
74b0a94917
samba: add iOS VLC client
Source code: https://code.videolan.org/videolan/vlc-ios

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-02-26 12:14:08 -05:00
Benedek Nagy
1c99330282
minidlna: add iOS VLC client
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-02-26 11:45:06 -05:00
Mupparthi Rema Sharanya
ba9c9d58d3
Translated using Weblate (Telugu)
Currently translated at 100.0% (1427 of 1427 strings)
2022-02-26 15:57:49 +01:00
Padilam Sairam
4ae8431d43
Translated using Weblate (Telugu)
Currently translated at 100.0% (1427 of 1427 strings)
2022-02-26 15:57:48 +01:00
Padilam Sairam
ffd87802aa
Translated using Weblate (Telugu)
Currently translated at 99.9% (1426 of 1427 strings)
2022-02-25 15:34:41 +01:00
Mupparthi Rema Sharanya
75fef2dbc3
Translated using Weblate (Telugu)
Currently translated at 99.8% (1425 of 1427 strings)
2022-02-25 15:34:33 +01:00
Padilam Sairam
86e0d27c79
Translated using Weblate (Telugu)
Currently translated at 99.7% (1424 of 1427 strings)
2022-02-25 15:34:14 +01:00
VANTIPALLI HARINI DEVI
210de617b1
Translated using Weblate (Telugu)
Currently translated at 99.7% (1424 of 1427 strings)
2022-02-25 15:34:13 +01:00
Mupparthi Rema Sharanya
c61a4603ec
Translated using Weblate (Telugu)
Currently translated at 99.7% (1424 of 1427 strings)
2022-02-25 15:34:13 +01:00
VANTIPALLI HARINI DEVI
924aaf1ca5
Translated using Weblate (Telugu)
Currently translated at 99.6% (1422 of 1427 strings)
2022-02-25 15:33:15 +01:00
Mupparthi Rema Sharanya
a6601b21e9
Translated using Weblate (Telugu)
Currently translated at 99.6% (1422 of 1427 strings)
2022-02-25 15:33:14 +01:00
Padilam Sairam
511269e4fe
Translated using Weblate (Telugu)
Currently translated at 99.6% (1422 of 1427 strings)
2022-02-25 15:33:14 +01:00
Padilam Sairam
190d6d300f
Translated using Weblate (Telugu)
Currently translated at 99.3% (1418 of 1427 strings)
2022-02-25 15:32:39 +01:00
Mupparthi Rema Sharanya
3a447f0662
Translated using Weblate (Telugu)
Currently translated at 99.3% (1418 of 1427 strings)
2022-02-25 15:32:39 +01:00
Mupparthi Rema Sharanya
a5f2f36362
Translated using Weblate (Telugu)
Currently translated at 98.4% (1405 of 1427 strings)
2022-02-25 15:29:23 +01:00
Mupparthi Rema Sharanya
216da3b757
Translated using Weblate (Telugu)
Currently translated at 98.1% (1401 of 1427 strings)
2022-02-25 15:28:03 +01:00
Padilam Sairam
f6474b4cc9
Translated using Weblate (Telugu)
Currently translated at 98.1% (1401 of 1427 strings)
2022-02-25 15:28:03 +01:00
Padilam Sairam
27f05565d5
Translated using Weblate (Telugu)
Currently translated at 98.1% (1400 of 1427 strings)
2022-02-25 15:27:45 +01:00
Mupparthi Rema Sharanya
f71d3e390a
Translated using Weblate (Telugu)
Currently translated at 97.6% (1394 of 1427 strings)
2022-02-25 15:27:19 +01:00
Padilam Sairam
38c8890e96
Translated using Weblate (Telugu)
Currently translated at 97.6% (1393 of 1427 strings)
2022-02-25 15:26:31 +01:00
Mupparthi Rema Sharanya
6c9de0028d
Translated using Weblate (Telugu)
Currently translated at 97.6% (1393 of 1427 strings)
2022-02-25 15:26:31 +01:00
Padilam Sairam
06c17860b4
Translated using Weblate (Telugu)
Currently translated at 97.4% (1391 of 1427 strings)
2022-02-25 15:25:08 +01:00