Skip to content

Commit 3fa7685

Browse files
authored
Merge pull request hestiacp#2010 from hestiacp/fix/1995_postfix-conflict
Fix/1995 postfix conflict
2 parents 907bc98 + 0652370 commit 3fa7685

File tree

3 files changed

+33
-18
lines changed

3 files changed

+33
-18
lines changed

CHANGELOG.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ All notable changes to this project will be documented in this file.
1212

1313
- Resolve issue with double ENFORCE_SUBDOMAIN_OWNERSHIP keys in hestia.conf
1414
- Resolve issue with create new user during install in some cases #2000
15-
- Fix an issue with Quick Install apps named Test123
15+
- Fixed an issue with Quick Install apps named Test123
16+
- Fixed #1995 Postfix should not conflict when no mailservice is selected
1617

1718
## [1.4.7] - Service release
1819

1920
### Bugfixes
2021

21-
- Fix #1984 phppgadmin not working on apache2 systems
22-
- Fix #1985 Restart service not working
22+
- Fixed #1984 phppgadmin not working on apache2 systems
23+
- Fixed #1985 Restart service not working
2324

2425

2526
## [1.4.6] - Service release
@@ -32,12 +33,12 @@ All notable changes to this project will be documented in this file.
3233

3334
### Bugfixes
3435

35-
- Fix #1961 Renewal Apache2 only SSL certificate fails
36+
- Fixed #1961 Renewal Apache2 only SSL certificate fails
3637
- Fixed #1956 to prevent reset of defined webmail client.
3738
- Explicitly disable cron reports #1978
3839
- Fixed an issue where in rare cases certificate failed to install @dpeca and @myvesta
3940
- Fixed an issue where composer failed to install when .composer folder is missing
40-
- Fix #1980 Lets Encrypt Auto Renewal Reverts Webmail Client back to Roundcube
41+
- Fixed #1980 Lets Encrypt Auto Renewal Reverts Webmail Client back to Roundcube
4142

4243
## [1.4.5] - Service release
4344

@@ -58,15 +59,15 @@ All notable changes to this project will be documented in this file.
5859
### Bugfixes
5960

6061
- Add template for when webmail is disabled allowing to generate SSL.
61-
- Fix PHP bug in /list/log/
62-
- Fix issue with time in /list/services as it was showing as 50 minute1 instead of minutes
62+
- Fixed PHP bug in /list/log/
63+
- Fixed issue with time in /list/services as it was showing as 50 minute1 instead of minutes
6364
- Add missing back buttons + fix behavoir of back buttons on login page.
6465
- Set "default" when WEB_TEMPLATE and PROXY_TEMPLATE is missing in user.conf
6566
- Add BACKEND_TEMPLATE to default package
66-
- Fix possible error occur for v-rebuild-cron-jobs #1943 (thanks @clarkchentw)
67+
- Fixed possible error occur for v-rebuild-cron-jobs #1943 (thanks @clarkchentw)
6768
- Restrict access Filemanager when SSH is enabled for the user (@bet0x)
6869
- Check for DNS domains when running v-change-sys-ip-nat (@clarkchentw)
69-
- Fix logical error in installer (@clarkchentw)
70+
- Fixed logical error in installer (@clarkchentw)
7071

7172
## [1.4.3] - Service release
7273

@@ -112,10 +113,10 @@ Then run the update via
112113

113114
### Bugfixes
114115

115-
- Fix issue wit startup script for iptables / network (#1849) (@myrevery)
116-
- Fix problem with accidentally replacing nginx.conf during upgrade nginx (#1878 / @myrevery)
117-
- Fix issue with installing Ubuntu 18.04
118-
- Fix issue with login into file manger as admin user
116+
- Fixed issue wit startup script for iptables / network (#1849) (@myrevery)
117+
- Fixed problem with accidentally replacing nginx.conf during upgrade nginx (#1878 / @myrevery)
118+
- Fixed issue with installing Ubuntu 18.04
119+
- Fixed issue with login into file manger as admin user
119120
- Added proxy_extentions back to support older custom templates
120121
- Added the possibility to skip the forced reboot when interactive is set to no
121122
- Fixed an issue with modx template
@@ -552,17 +553,17 @@ Then run the update via
552553
- Remove broken /webmail alias from previous versions.
553554
- Webmail IP address is now inherited from web domain when using multiple IPs.
554555
- Exim now uses the web domain IP if it exists.
555-
- Fix incorrect MX record for DNS domains using the Office 365 template.
556+
- Fixed incorrect MX record for DNS domains using the Office 365 template.
556557

557558
## [1.0.6] - 2019-09-24 - Hotfix
558559
### Bugfixes
559560
- Add support for HTTP/2 Let's Encrypt Server.
560561

561562
## [1.0.5] - 2019-08-06 - Hotfix
562563
### Bugfixes
563-
- Fix several security issues, thanks to Andrea Cardaci (https://cardaci.xyz/)
564+
- Fixed several security issues, thanks to Andrea Cardaci (https://cardaci.xyz/)
564565
- Rework Let's Encrypt ACME staging to use hestia conform standard.
565-
- Fix if condition, use nginx for Let's Encrypt ACME request if present.
566+
- Fixed if condition, use nginx for Let's Encrypt ACME request if present.
566567

567568
## [1.0.4] - 2019-07-09 - Hotfix
568569
### Bugfixes

install/hst-install-debian.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,14 @@ check_result $? "Unable to connect to the Hestia APT repository"
343343
# Check installed packages
344344
tmpfile=$(mktemp -p /tmp)
345345
dpkg --get-selections > $tmpfile
346-
for pkg in exim4 mariadb-server apache2 nginx hestia postfix; do
346+
conflicts_pkg="exim4 mariadb-server apache2 nginx hestia postfix"
347+
348+
# Drop postfix from the list if exim should not be installed
349+
if [ "$exim" = 'no' ]; then
350+
conflicts_pkg=$(echo $conflicts_pkg | sed -i 's/postfix//g' | xargs)
351+
fi
352+
353+
for pkg in $conflicts_pkg; do
347354
if [ ! -z "$(grep $pkg $tmpfile)" ]; then
348355
conflicts="$pkg* $conflicts"
349356
fi

install/hst-install-ubuntu.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,14 @@ check_result $? "Unable to connect to the Hestia APT repository"
317317
# Check installed packages
318318
tmpfile=$(mktemp -p /tmp)
319319
dpkg --get-selections > $tmpfile
320-
for pkg in exim4 mariadb-server apache2 nginx hestia postfix ufw; do
320+
conflicts_pkg="exim4 mariadb-server apache2 nginx hestia postfix ufw"
321+
322+
# Drop postfix from the list if exim should not be installed
323+
if [ "$exim" = 'no' ]; then
324+
conflicts_pkg=$(echo $conflicts_pkg | sed -i 's/postfix//g' | xargs)
325+
fi
326+
327+
for pkg in $conflicts_pkg; do
321328
if [ ! -z "$(grep $pkg $tmpfile)" ]; then
322329
conflicts="$pkg* $conflicts"
323330
fi

0 commit comments

Comments
 (0)