mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-07 23:44:32 +02:00
* if version_ignore=yes is not configured in Dovecot any process which requires authentication will be broken until dovecot is restarted. Debian restarts the service in dovecot-core.postinst. We show a warning message.
21 lines
514 B
Bash
21 lines
514 B
Bash
#!/bin/sh
|
|
|
|
ver_new="$1"
|
|
ver_old="$2"
|
|
|
|
if [ "$(apk version -t "$ver_old" "2.3.2.1-r1")" = "<" ]; then
|
|
cat >&2 <<-EOF
|
|
*
|
|
* POP3, LMTP and Submission protocols were moved into subpackages:
|
|
* dovecot-pop3d, dovecot-lmtpd and dovecot-submissiond. If you use
|
|
* some of these protocols, you have to install particular subpackage.
|
|
*
|
|
EOF
|
|
fi
|
|
|
|
# warn Dovecot version mismatch
|
|
if ! grep ^"version_ignore=yes" /etc/dovecot/dovecot.conf; then
|
|
printf "dovecot restart required (version_ignore=yes not set)\n"
|
|
fi
|
|
|
|
exit $?
|