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

2278 Commits

Author SHA1 Message Date
bors[bot]
ddac2672fc
Merge #1338
1338: Add GPG to Roundcube r=mergify[bot] a=PhilRW

The web UI was complaining that it couldn't find the GPG binary. Turns out it wasn't installed.

## What type of PR?

bug fix

## What does this PR do?

Adds GPG binary to Roundcube

Co-authored-by: Philip Rosenberg-Watt <PhilRW@users.noreply.github.com>
Co-authored-by: Dario Ernst <github@kanojo.de>
2020-05-11 06:36:28 +00:00
bors[bot]
0469e96f8e
Merge #1298
1298: Added carddav-plugin for roundcube webmail r=ofthesun9 a=sholl

## Feature

This PR enables the carddav contacts plugin for integration remote contact-repositories based on CardDAV.

## What does this PR do?

This PR enables the carddav contacts plugin for integration remote contact-repositories based on CardDAV.

### Related issue(s)
- Related #1230, at least for CardDAV.


## Prerequistes
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] In case of feature or enhancement: documentation updated accordingly (not needed since the plugins of webmail is not mentioned in the docs.)
- [x] Changelog-entry added


Co-authored-by: Stephan Holl <stephan@holl-land.de>
2020-05-10 18:17:23 +00:00
bors[bot]
d00ccc16d7
Merge #1487
1487: Fix postfix queue permissions r=mergify[bot] a=ofthesun9

## What type of PR?
bug-fix (by anticipation of a potential change in base image)

## What does this PR do?
We need to check /queue permissions before starting postfix.
In case of postfix/postdrop uid/gid change, postfix would fail to start

### Related issue(s)
closes #1486 

## Prerequistes
- [x] In case of feature or enhancement: documentation updated accordingly


Co-authored-by: ofthesun9 <olivier@ofthesun.net>
2020-05-06 05:39:39 +00:00
bors[bot]
535562e5fa
Merge #1481
1481: Postgresql: default SUBNET6 in pg_hba r=mergify[bot] a=muhlemmer

## What type of PR?

Bug fix

## What does this PR do?

When PostgreSQL for Mailu is used in IPv4 only, without IPv6, `SUBNET6` is unset and causes an empty field in the `pg_hba.conf` file.  PostgreSQL refuses to start in this case.

### Related issue(s)
- Bug was introduced in #1257, merged recently
- 1.7 user reported PostgreSQL connection errors on IPv6 in #1479
- #1257 was Backported to 1.7 in #1469 
- Users on 1.7 reported this broke IPv4 installation in #1479 
- Backport was reverted in #1480 

Sorry for the mess 😒 

**Note: ** if this patch seems to be stable, I will re-initiate the backport.

## Prerequistes
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>
2020-05-05 17:03:45 +00:00
bors[bot]
68bf16076a
Merge #1470
1470: Adding faq entry: How to teach Bayes ham and spam #1438 r=muhlemmer a=ofthesun9

Fix #1438

## What type of PR?
documentation (faq)

## What does this PR do?
This PR add an faq entry to cover #1438 

### Related issue(s)
closes #1438 

## Prerequistes
- [x] In case of feature or enhancement: documentation updated accordingly



Co-authored-by: ofthesun9 <olivier@ofthesun.net>
2020-05-05 07:10:51 +00:00
ofthesun9
455814d51f Add newsfragment for pr1486 2020-05-04 18:55:01 +00:00
ofthesun9
381bf747cc Check permissions using postfix set-permissions 2020-05-04 18:18:32 +00:00
ofthesun9
3a9c9d0436 Fixed typo 2020-05-04 17:15:15 +00:00
ofthesun9
67caf0c8cf Check /queue permissions before postfix start
postfix and posdrop id might have changed after base image change
2020-05-04 15:41:53 +00:00
bors[bot]
cde7cb1385
Merge #1484
1484: Allow travis to build and push test-* branches r=mergify[bot] a=micw

## What type of PR?

enhancement

## What does this PR do?

Enable travis to build/push branches with the name "test-*"



Co-authored-by: Michael Wyraz <michael@wyraz.de>
Co-authored-by: micw <michael@wyraz.de>
2020-05-04 12:18:30 +00:00
micw
714a7abfe4
Also allow dots in test-* branch names 2020-05-04 14:15:38 +02:00
Michael Wyraz
4bda9076a3 Allow travis to build and push test-* branches 2020-05-04 14:03:44 +02:00
ofthesun9
819fa94cb1
Update docs/faq.rst
Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>
2020-05-04 09:47:11 +02:00
ofthesun9
7bc46baae0
Update docs/faq.rst
Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>
2020-05-04 09:47:00 +02:00
ofthesun9
7700215ff7
Update docs/faq.rst
Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>
2020-05-04 09:46:18 +02:00
Tim Möhlmann
dd07b0e3aa
Postgresql: default SUBNET6 in pg_hba 2020-05-03 22:53:22 +03:00
bors[bot]
ebd14f3715
Merge #1476
1476: Modify faq to match new overrides settings for dovecot and postfix r=mergify[bot] a=ofthesun9

…as pushed by #1444 

## What type of PR?
documentation (faq) update

## What does this PR do?
PR #1444 pushes for sub-directory to store overrides config files for postfix and dovecot.
This PR updates the faq accordingly

### Related issue(s)

## Prerequistes
- [x] In case of feature or enhancement: documentation updated accordingly



Co-authored-by: ofthesun9 <olivier@ofthesun.net>
2020-05-02 19:26:29 +00:00
Michael Wyraz
6234da3786 Add doc and changelog for OUTBOUND_TLS_LEVEL 2020-05-02 21:02:53 +02:00
Michael Wyraz
e4454d776a Allow to enforce TLS for outbound using OUTBOUND_TLS_LEVEL=encrypt (default is 'may') 2020-05-02 20:58:07 +02:00
ofthesun9
c7fa8fda17 Modify faq entry to match new overrides settings for dovecot and postfix (#1444) 2020-05-02 10:35:37 +02:00
bors[bot]
5648669c61
Merge #1293
1293: Remove `reject_unverified_recipient` from `smtpd_client_restrictions` r=mergify[bot] a=SunMar


## What type of PR?

Bug-fix

## What does this PR do?

It removes recipient verification, as it broke my catch-all address.

Fix for #1292, though I'm not sure if this is the right way to fix the issue. It was added in 175349a224.

### Related issue(s)
Fix for #1292 and a revert of 175349a224.


Co-authored-by: SunMar <SunMar@users.noreply.github.com>
2020-05-02 07:59:07 +00:00
bors[bot]
735e75764f
Merge #1380
1380: [Roundcube] DKIM sign message delivery reports r=mergify[bot] a=TheLegend875

This PR enables the From header for message delivery reports in Roundcube.
This ensures that the message delivery report is DKIM signed and therefore not not blocked or considered spam by receiving mailservers.


Co-authored-by: TheLegend875 <40040530+TheLegend875@users.noreply.github.com>
Co-authored-by: ofthesun9 <olivier@ofthesun.net>
2020-05-02 06:31:54 +00:00
bors[bot]
10e17fbb0b
Merge #1444
1444: Harden default configuration r=mergify[bot] a=Jarel1337



Co-authored-by: Vilgot Fredenberg <vilgot@fredenberg.xyz>
Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com>
2020-05-01 22:01:27 +00:00
ofthesun9
888ce1b2e0 Adding faq entry to cover #1438
Fix #1438
2020-05-01 15:41:37 +02:00
Tim Möhlmann
522fd99162
Create 1444.misc 2020-05-01 15:26:07 +03:00
Tim Möhlmann
19afa8b270
Docs: Add move of override files to release notes 2020-05-01 15:21:42 +03:00
bors[bot]
5798880f08
Merge #1423
1423: Doc update: proxy_set_header required for admin r=mergify[bot] a=ofthesun9

Copy Paste of an existing PR whose upstream branch is gone
Fix #1318

## What type of PR?

documentation

## What does this PR do?

### Related issue(s)
closes #1318  (copy paste of 1318)

## Prerequistes
- [x ] In case of feature or enhancement: documentation updated accordingly
- [x ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: ofthesun9 <olivier@ofthesun.net>
2020-05-01 12:02:42 +00:00
bors[bot]
15a0d7303c
Merge #1399 #1417
1399: Remove SPF type SPF record #1394 r=mergify[bot] a=bladeswords

As mentioned in #1394 - In accordance with RFC 7208, offer only TXT RRs for SPF.
Agree with @Nebukadneza - but not sure how to go about telling people to remove the old record...

## What type of PR?

Documentation

## What does this PR do?
Removes the recommendation to add a SPF RR for SPF records, as this is no longer RFC complaint and often causes issues to maintain two records.

### Related issue(s)
- closes #1394

## Prerequistes
None


1417: docker-compose exec needs a -T flag if no TTY is allocated r=mergify[bot] a=ofthesun9

This flag is missing in 00_create_users.sh and is failing the tests on travis arm architecture

## What type of PR?
This PR is an enhancement/bugfix needed to allow usage of travis to test and deploy on arm platform
Before the PR, tests are failing with the msg: "the input device is not a TTY"

## What does this PR do?
This PR add -T flag for the docker-compose exec occurences found in 00_create_users.sh


Co-authored-by: bladeswords <bladeswords@users.noreply.github.com>
Co-authored-by: Dario Ernst <dario@kanojo.de>
Co-authored-by: ofthesun9 <olivier@ofthesun.net>
2020-05-01 00:23:11 +00:00
bors[bot]
ebcb506e6d
Merge #1436
1436: Update "the development guidelines" hyperlink r=mergify[bot] a=matst14

"https://mailu.io/master/contributors/guide.html" link get's 404 error (not found). 

## What type of PR?

Documentation

## What does this PR do?
This PR change hyperlink to "https://mailu.io/master/contributors/workflow.html" in CONTRIBUTING.md

### Related issue(s)
- Mention an issue like: #1435
- Auto close an issue like: closes #1435

## Prerequistes
None


Co-authored-by: matst14 <63057864+matst14@users.noreply.github.com>
2020-04-30 23:55:38 +00:00
bors[bot]
564ca741a4
Merge #1257
1257: Allow local IPv6 connections to Postgres r=mergify[bot] a=tulir

## What type of PR?

bug-fix

## What does this PR do?

Fix postgres connection not working when IPv6 is enabled

Co-authored-by: Tulir Asokan <tulir@maunium.net>
2020-04-30 21:42:06 +00:00
Weblate
066f2bac07 Merge branch 'origin/master' into Weblate. 2020-04-26 13:09:42 +00:00
Jaume Barber
6c25d20c83 Translated using Weblate (Catalan)
Currently translated at 100.0% (151 of 151 strings)

Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/ca/
2020-04-26 13:09:41 +00:00
Vilgot Fredenberg
33349065b5 Harden default configuration 2020-04-16 11:20:59 +02:00
bors[bot]
fc87f1994e
Merge #1440
1440:  Relearn messages for fuzzy storage r=mergify[bot] a=ofthesun9

## What type of PR?
enhancement, bugfix

## What does this PR do?
This PR add a rspamc fuzzy_del to ham & spam scripts, in order to cover
[relearning](https://rspamd.com/doc/faq.html#can-i-relearn-messages-for-fuzzy-storage-or-for-statistics) from Junk list to Ham list and vice versa

### Related issue(s)
#1438

## Prerequistes
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] Added 1438.bugfix


Co-authored-by: ofthesun9 <olivier@ofthesun.net>
2020-04-12 22:45:14 +00:00
ofthesun9
32d7162d48 Newsfragment for #1438 2020-04-09 10:24:48 +02:00
ofthesun9
885a0b5167 Relearn messages for fuzzy storage
This PR add a rspamc fuzzy_del to ham & spam scripts, in order to cover
move from Junk list to Ham list and vice versa
2020-04-09 09:16:29 +02:00
matst14
9e9057cb91
Update "the development guidelines" hyperlink
"https://mailu.io/master/contributors/guide.html" link get's 404 error (not found). This PR change hyperlink to "https://mailu.io/master/contributors/workflow.html" in CONTRIBUTING.md
2020-04-06 16:44:26 -03:00
ofthesun9
256cc0fc5a Adding fragment for PR#1381 (Fix #1381) 2020-04-02 20:08:27 +02:00
ofthesun9
108fc19409 Adding fragment for PR#1381 (Fix #1380) 2020-04-02 20:08:27 +02:00
TheLegend875
519600a78b Set From header for delivery reports
closes #1381
2020-04-02 20:08:27 +02:00
bors[bot]
3dc9287e4f
Merge #1410
1410: Updated url for cert-manager doc r=mergify[bot] a=tuxfanou

Provided url does not exists anymore.

Replace pull request #1404 

Co-authored-by: Stéphane Burdin <steph@tux.tf>
2020-03-28 10:22:21 +00:00
ofthesun9
ab40d03cc6 Doc update: proxy_set_header required for admin
Copy Paste of an existing PR whose upstream branch is gone
Fix #1318
2020-03-28 08:39:12 +01:00
bors[bot]
60b9a3e2f0
Merge #1389
1389: Prefer specific alias over wildcard, regardless of case r=mergify[bot] a=Nebukadneza

## What type of PR?
bug-fix

## What does this PR do?
Since direct addresses (not aliases) are case-insensitive since a while,
it makes sense for aliases to behave the same. Up until now, a wildcard
alias could trump a alias not-matching-the-case of the incoming address.
This clarifies this behavior.

## Notes
I realize that the if-hell down there isn’t nice. What it is, however, is quite clear and easy to read. I’m hoping that if anyone ever gets confused in the future, this will make the current behavior transparent. For me, that was more important than a minimal amount of statements/branches …

### Related issue(s)
closes #1387

## Prerequistes
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: Dario Ernst <github@kanojo.de>
2020-03-28 05:59:16 +00:00
Dario Ernst
df4f6f895d Add newfragment file for SPF vs. TXT records
closes #1394
2020-03-27 10:23:00 +01:00
bors[bot]
8844dc67fa
Merge #1392
1392: Use environment variables for cert paths/names in nginx certwatcher r=mergify[bot] a=Nebukadneza

## What type of PR?
bug-fix

## What does this PR do?
Previously, nginx certwatcher would only react to the hardcoded paths. It should have
honored the enviroment variables that are used by config.py too for this.
 
### Related issue(s)
closes #903

## Prerequistes
- [x] no feature or enhancement
- [x] minor/internal change


Co-authored-by: Dario Ernst <github@kanojo.de>
2020-03-27 07:56:35 +00:00
ofthesun9
d5d097eebc docker-compose exec needs a -T flag it no TTY is allocated
This flag is missing in 00_create_users.sh and is failing the tests on travis arm architecture
2020-03-21 13:19:56 +00:00
SunMar
ac6b8d62dd Remove reject_unverified_recipient from smtpd_client_restrictions
Fix for #1292, though I'm not sure if this is the right way to fix the issue. It was added in 175349a224.
2020-03-18 22:22:11 +01:00
Stéphane Burdin
b8263ee49e Updated url for cert-manager doc
Provided url does not exists anymore.
2020-03-18 11:59:10 +01:00
bors[bot]
5004e62607
Merge #1398
1398: Update crypto to be modern and inline with tls.conf r=mergify[bot] a=bladeswords

Updated to match tls.conf and be aligned to more modern cryptographic standards and only use currently secure protocols and ciphers.

## What type of PR?

bugfix

## What does this PR do?
Update to use more modern cryptographic techniques
### Related issue(s)
- Addresses comment raised in 4f973f6

## Prerequistes
None


Co-authored-by: bladeswords <bladeswords@users.noreply.github.com>
2020-03-18 10:39:57 +00:00
bors[bot]
f4944695f6
Merge #1405
1405: Fix roundcube permissions, tail correct log r=mergify[bot] a=micw

## What type of PR?

bug-fix

## What does this PR do?

Set roundcube permissions after the database is created. Tail correct logfile.

## Prerequistes
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [ ] In case of feature or enhancement: documentation updated accordingly
- [ ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.

Minor fix only.

Co-authored-by: Michael Wyraz <michael@wyraz.de>
2020-03-14 09:18:27 +00:00