Commit graph

2090 commits

Author SHA1 Message Date
Julien Rabier
7ccd6e1348
fix destination concurrency
Hi,
Postfix has this very peculiar behavior where the target of some config keys changes depending on the value. 
Here, if `smtp_destination_concurrency_limit` is set to 1, then according to http://www.postfix.org/postconf.5.html#default_destination_concurrency_limit it doesn't mean "1 concurrent mail per domain, but per recipiend address".

So, if set to 1, it means we can send any volume of e-mails concurrently (with a 5s delay) if all recipient addresses are different.
In order to avoid this, we should increase the value to restore the expected behavior (concurrency per domain, not per recipient).
2020-05-11 21:37:17 +00:00
Alexandre Aubin
429df8c43f Ugh smaller treshold because people have exactly 500MB ... 2020-05-11 00:44:37 +02:00
Alexandre Aubin
c346f5f1df This file sometimes has stupid \x00 inside ~.~ 2020-05-09 22:08:49 +02:00
Alexandre Aubin
aecbb14aa4 Add a --human-readable option to diagnosis_show() and a --email to diagnosis_run() to email issues found by cron job 2020-05-09 01:46:28 +02:00
Alexandre Aubin
23147161d6 Change warning/errors about swap as info instead ... add a tip about the fact that having swap on SD or SSD is dangerous 2020-05-08 23:56:23 +02:00
Alexandre Aubin
a799740afa Move meltdown check to base system 2020-05-08 23:47:18 +02:00
Augustin Trancart
bcb16416b2 Remove default value for deprecated log_type args
The service_add method check if the argument is empty, but what it
really wants to do is checking if the args is not systemd (as far as I
understand). As this value is deprecated, better remove the default to
fix this logic.
2020-05-08 17:59:46 +02:00
Alexandre Aubin
ba709be534
Merge pull request #963 from YunoHost/enforce-permissions-in-etc-yunhost
[fix] Enforce permissions for stuff in /etc/yunohost/
2020-05-08 04:15:10 +02:00
Bram
dbac27cc38
Merge pull request #961 from YunoHost/add-wss-to-default-src
[enh] Real CSP headers for the webadmin
2020-05-07 21:35:24 +02:00
ljf
a5ecf52c30 [fix] chown postfix to avoid warning 2020-05-04 14:45:47 +02:00
ljf
d51b126df8 [fix] postmap: warning: removing zero-length database file 2020-05-04 14:45:47 +02:00
ljf
94eb9246bb [fix] Avoid sasl account reachable from other users 2020-05-04 14:45:47 +02:00
ljf
fae6b3f3f4 [fix] Unrelevant obsolete config params 2020-05-04 14:45:47 +02:00
ljf
3a0104861e [fix] Don't modify directly files in regen conf 2020-05-04 14:45:47 +02:00
ljf
64066f85b0 [enh] Allow admin to specify an smtp relay 2020-05-04 14:45:47 +02:00
Bram
42bc8c354a
Merge pull request #972 from YunoHost/wget-timeout
Add a timeout to wget in helpers
2020-05-04 14:23:36 +02:00
Alexandre Aubin
d29bf04e7c Add a timeout to wget in helpers 2020-05-03 17:37:33 +02:00
Alexandre Aubin
f21b85640b
Merge pull request #969 from YunoHost/ynh_get_ram-improvement
[enh] ynh_get_ram
2020-05-03 16:44:00 +02:00
Alexandre Aubin
b10b9b50a1
Merge pull request #970 from YunoHost/ynh_install_app_dependencies
[Epic Fix] ynh_install_app_dependencies
2020-05-03 16:42:22 +02:00
Kayou
cab6fb8b78
Update logging 2020-05-03 12:11:47 +02:00
Alexandre Aubin
25a1e56921 Misc tweak for disk usage diagnosis, some values were inconsistent / bad UX / ... 2020-05-03 00:17:01 +02:00
Bram
94c9bf0f6d
Merge pull request #939 from YunoHost/nodejs_helper
Make nodejs helpers easier to use
2020-05-02 23:10:39 +02:00
Kayou
843e88c67d
[Epic Fix] ynh_install_app_dependencies 2020-05-02 14:50:00 +02:00
Kayou
8559fb6465
[enh] ynh_get_ram 2020-05-02 14:21:29 +02:00
Josué Tille
95b7885890
Merge remote-tracking branch 'upstream/stretch-unstable' into abort_if_up_to_date_manifest 2020-05-02 11:22:22 +02:00
Alexandre Aubin
a7d52af77e
Merge pull request #960 from YunoHost/smarter-debug-logs
Try to show smarter / more useful logs by filtering irrelevant lines like set +x etc
2020-05-02 02:14:52 +02:00
Alexandre Aubin
acba1c4bc8
Comment about why not using ynh_die 2020-05-02 02:13:09 +02:00
ljf
572feafc80 [fix] Remove point in reverse DNS 2020-04-30 20:06:43 +02:00
Alexandre Aubin
86810fb68a Goddamit Aleks, check your damn code before release yo 2020-04-30 18:03:44 +02:00
Alexandre Aubin
be883c3aef Let's have the short option be -i instead of -f 2020-04-30 05:23:23 +02:00
Alexandre Aubin
e9f359e5f0 Call exit 1 directly instead of ynh_die to avoid a full arg parse just to exit.. 2020-04-30 05:14:29 +02:00
Alexandre Aubin
1cb330823d Try to show smarter / more useful logs by filtering irrelevant lines like 'set +x' etc 2020-04-30 05:09:56 +02:00
Alexandre Aubin
ba27c2ad05
Merge pull request #964 from YunoHost/fix-reversednscheck
[fix] Reverse DNS check
2020-04-30 03:13:21 +02:00
ljf
8de8d0ad6f [fix] Reverse DNS check 2020-04-30 02:44:51 +02:00
Alexandre Aubin
aaccb54775 Hmf, comparison return a warning if swap is exactly 512.. 2020-04-30 02:40:22 +02:00
Alexandre Aubin
4f8aa5e338 Propagate route check to ip diagnoser as well :/ 2020-04-30 02:38:27 +02:00
Josué Tille
554291827f
Fix typo 2020-04-29 21:02:59 +02:00
Josué Tille
e8ca600bdc
Permission regex is a PCRE regex 2020-04-29 20:36:56 +02:00
Alexandre Aubin
0b75f5d437 IPv6 resolvers make everything super slow on IPv4-only servers 2020-04-29 19:20:29 +02:00
Alexandre Aubin
b8af97d7d1
Merge pull request #937 from tituspijean/patch-1
[enh] add dynamic variables to systemd helper
2020-04-29 18:15:14 +02:00
Alexandre Aubin
d8c2f436f9
Merge branch 'stretch-unstable' into misc-optimizations 2020-04-29 18:14:05 +02:00
Alexandre Aubin
0371c84a1c
Merge pull request #944 from YunoHost/enh-check-whois
[enh] Check domain expiration date
2020-04-29 18:07:28 +02:00
Alexandre Aubin
c04d3c3806
Remove comment about old lines that got replaced 2020-04-29 17:13:47 +02:00
Josué Tille
8deb083830
Regex should be now available 2020-04-29 14:09:49 +02:00
Josué Tille
abe421caa8
Change default value for protected permission to 'false' 2020-04-29 13:42:14 +02:00
Josué Tille
9757ef2ddd
Fix typo 2020-04-29 13:38:11 +02:00
Josué Tille
a3fb329f21
Improve comments 2020-04-29 13:37:38 +02:00
Alexandre Aubin
31e868e82d Enforce permissions for stuff in /etc/yunohost/ 2020-04-29 03:49:37 +02:00
Alexandre Aubin
415e805f74 Change threshold to warn earlier about soon-to-expire domain 2020-04-29 02:44:39 +02:00
Alexandre Aubin
f22ac67468 Success for domains not about to expire 2020-04-29 02:43:37 +02:00