Skip to content

Commit d81c1f8

Browse files
committed
Version 1.7.0
1 parent 2e4910f commit d81c1f8

File tree

5 files changed

+20
-12
lines changed

5 files changed

+20
-12
lines changed

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,24 @@ All notable changes to this project will be documented in this file. Dates are d
44

55
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
66

7+
#### [1.7.0](https://github.com/semhoun/qmail_all-in-one/compare/1.6.3...1.7.0)
8+
9+
> 21 July 2025
10+
11+
- Upgrade dovecot to 2.4.2, and add support for FTS [`69fe36d`](https://github.com/semhoun/qmail_all-in-one/commit/69fe36d4de4f3689d7b735a3cf1ac520223c84eb)
12+
- Activate sieves for all users [`2e4910f`](https://github.com/semhoun/qmail_all-in-one/commit/2e4910f7b04b0b6b9d44412825ed6b0b9cbc7045)
13+
14+
#### [1.6.3](https://github.com/semhoun/qmail_all-in-one/compare/1.6.2...1.6.3)
15+
16+
> 20 April 2025
17+
18+
- Fix sieves [`cd9ac36`](https://github.com/semhoun/qmail_all-in-one/commit/cd9ac36d2315d171049693e59378c8da9ba74dde)
19+
720
#### [1.6.2](https://github.com/semhoun/qmail_all-in-one/compare/1.6.1...1.6.2)
821

922
> 26 December 2024
1023
11-
- Upgrade to s/qmail 4.3.18 [`5494a0a`](https://github.com/semhoun/qmail_all-in-one/commit/5494a0af64c5bcbe9dae00bb0c56cdf0d33e1d3e)
24+
- Upgrade to s/qmail 4.3.18 [`013268d`](https://github.com/semhoun/qmail_all-in-one/commit/013268d4dfa02770b950c7e8a3c9df9f4a12fccd)
1225

1326
#### [1.6.1](https://github.com/semhoun/qmail_all-in-one/compare/1.6.0...1.6.1)
1427

TODO.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

rootfs/opt/bin/dovecot_postlogin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ u=$(echo $USER | cut -d'@' -f1)
5151
d=$(echo $USER | cut -d'@' -f2)
5252

5353
# Run the query
54-
export MYSQL_PWD=$PWD
54+
export MYSQL_PWD="$PWD"
5555
echo "INSERT INTO lastauth (user, domain, remote_ip, timestamp) VALUES ('$u', '$d', '$IP', UNIX_TIMESTAMP(now())) ON DUPLICATE KEY UPDATE timestamp=UNIX_TIMESTAMP(now()), remote_ip='$IP';" | mysql -P$PORT -h$HOST -u$USR $DB
5656

5757
exec "$@"

rootfs/opt/bin/init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ echo "${RLSBSERVER}" > /var/qmail/control/rslbserver
176176
echo "${QUEUELIFETIME}" > /var/qmail/control/queuelifetime
177177

178178
# VPopmail configuration
179-
echo "${MYSQL_HOST}|0|${MYSQL_USER}|${MYSQL_PASS}|${MYSQL_DB}" > /var/vpopmail/etc/vpopmail.mysql
179+
echo "${MYSQL_HOST}|3306|${MYSQL_USER}|${MYSQL_PASS}|${MYSQL_DB}" > /var/vpopmail/etc/vpopmail.mysql
180180
echo "${DEFAULT_DOMAIN}" > /var/vpopmail/etc/defaultdomain
181181
cp /opt/templates/vlimits.default /var/vpopmail/etc/vlimits.default
182182
cp /opt/templates/vusage* /var/vpopmail/etc/

rootfs/opt/bin/upgrade/sqmail_aio_upgrade.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ EOF
9090
done
9191

9292
for DOTMAIL in /var/vpopmail/domains/*/*/.qmail; do
93-
if [ $(grep -c '/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver' $DOTMAIL) -gt 0 ]; then
94-
if [ $(cat /var/vpopmail/domains/dune.tf/nathanael/.qmail | wc -l) -eq 1 ]; then
93+
if [ $(grep -c '/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver' ${DOTMAIL}) -gt 0 ]; then
94+
if [ $(cat ${DOTMAIL} | wc -l) -eq 1 ]; then
9595
echo "Removing old sieve .qmail file ${DOTMAIL}"
9696
rm -f ${DOTMAIL}
9797
fi
@@ -102,6 +102,8 @@ EOF
102102
cat > /var/qmail/control/srsdomains << EOF
103103
*:${SRS_SECRET}|-|srs.
104104
EOF
105+
106+
echo "${MYSQL_HOST}|3306|${MYSQL_USER}|${MYSQL_PASS}|${MYSQL_DB}" > /var/vpopmail/etc/vpopmail.mysql
105107
}
106108

107109
if [ -z "${LOCAL_VERSION}" ]; then

0 commit comments

Comments
 (0)