Package changes: -base-files 11.1+deb11u3 amd64 +base-files 11.1+deb11u4 amd64 -bash 5.1-2+b3 amd64 +bash 5.1-2+deb11u1 amd64 -distro-info-data 0.51+deb11u1 all +distro-info-data 0.51+deb11u2 all -dpkg 1.20.10 amd64 -dpkg-dev 1.20.10 all +dpkg 1.20.11 amd64 +dpkg-dev 1.20.11 all -libdpkg-perl 1.20.10 all +libdpkg-perl 1.20.11 all -libfreetype6 2.10.4+dfsg-1 amd64 -libfribidi0 1.0.8-2 amd64 +libfreetype6 2.10.4+dfsg-1+deb11u1 amd64 +libfribidi0 1.0.8-2+deb11u1 amd64 -libgd3 2.3.3-4+0~20220707.8+debian11~1.gbp5072ad amd64 +libgd3 2.3.3-5+0~20220711.9+debian11~1.gbp72b297 amd64 -libgnutls30 3.7.1-5 amd64 +libgnutls30 3.7.1-5+deb11u1 amd64 -libnginx-mod-http-geoip 1.18.0-6.1 amd64 -libnginx-mod-http-image-filter 1.18.0-6.1 amd64 -libnginx-mod-http-xslt-filter 1.18.0-6.1 amd64 -libnginx-mod-mail 1.18.0-6.1 amd64 -libnginx-mod-stream 1.18.0-6.1 amd64 -libnginx-mod-stream-geoip 1.18.0-6.1 amd64 +libnginx-mod-http-geoip 1.18.0-6.1+deb11u2 amd64 +libnginx-mod-http-image-filter 1.18.0-6.1+deb11u2 amd64 +libnginx-mod-http-xslt-filter 1.18.0-6.1+deb11u2 amd64 +libnginx-mod-mail 1.18.0-6.1+deb11u2 amd64 +libnginx-mod-stream 1.18.0-6.1+deb11u2 amd64 +libnginx-mod-stream-geoip 1.18.0-6.1+deb11u2 amd64 -linux-compiler-gcc-10-x86 5.10.120-1 amd64 +linux-compiler-gcc-10-x86 5.10.127-1 amd64 -linux-headers-amd64 5.10.120-1 amd64 +linux-headers-5.10.0-16-amd64 5.10.127-1 amd64 +linux-headers-5.10.0-16-common 5.10.127-1 all +linux-headers-amd64 5.10.127-1 amd64 -linux-image-amd64 5.10.120-1 amd64 -linux-kbuild-5.10 5.10.120-1 amd64 -linux-libc-dev 5.10.120-1 amd64 +linux-image-5.10.0-16-amd64 5.10.127-1 amd64 +linux-image-amd64 5.10.127-1 amd64 +linux-kbuild-5.10 5.10.127-1 amd64 +linux-libc-dev 5.10.127-1 amd64 -logrotate 3.18.0-2 amd64 +logrotate 3.18.0-2+deb11u1 amd64 -nano 5.4-2 amd64 +nano 5.4-2+deb11u1 amd64 -nginx 1.18.0-6.1 all -nginx-common 1.18.0-6.1 all -nginx-core 1.18.0-6.1 amd64 +nginx 1.18.0-6.1+deb11u2 all +nginx-common 1.18.0-6.1+deb11u2 all +nginx-core 1.18.0-6.1+deb11u2 amd64 -openssh-client 1:8.4p1-5 amd64 -openssh-server 1:8.4p1-5 amd64 -openssh-sftp-server 1:8.4p1-5 amd64 +openssh-client 1:8.4p1-5+deb11u1 amd64 +openssh-server 1:8.4p1-5+deb11u1 amd64 +openssh-sftp-server 1:8.4p1-5+deb11u1 amd64 -postfix 3.5.6-1+b1 amd64 -postfix-mysql 3.5.6-1+b1 amd64 -postfix-pcre 3.5.6-1+b1 amd64 -postfix-sqlite 3.5.6-1+b1 amd64 +postfix 3.5.13-0+deb11u1 amd64 +postfix-mysql 3.5.13-0+deb11u1 amd64 +postfix-pcre 3.5.13-0+deb11u1 amd64 +postfix-sqlite 3.5.13-0+deb11u1 amd64
45 lines
1.2 KiB
Bash
Executable File
45 lines
1.2 KiB
Bash
Executable File
#!/bin/sh -e
|
|
# Called when a new interface comes up
|
|
# Written by LaMont Jones <lamont@debian.org>
|
|
|
|
# don't bother to restart postfix when lo is configured.
|
|
if [ "$IFACE" = "lo" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
# If /usr isn't mounted yet, silently bail.
|
|
if [ ! -d /usr/lib/postfix ]; then
|
|
exit 0
|
|
fi
|
|
|
|
RUNNING=""
|
|
# If master is running, force a queue run to unload any mail that is
|
|
# hanging around. Yes, sendmail is a symlink...
|
|
if [ -f /var/spool/postfix/pid/master.pid ]; then
|
|
pid=$(sed 's/ //g' /var/spool/postfix/pid/master.pid)
|
|
exe=$(ls -l /proc/$pid/exe 2>/dev/null | sed 's/.* //;s/.*\///')
|
|
if [ "X$exe" = "Xmaster" ]; then
|
|
RUNNING="y"
|
|
fi
|
|
fi
|
|
|
|
# start or reload Postfix as needed
|
|
if [ ! -x /sbin/resolvconf ]; then
|
|
f=/etc/resolv.conf
|
|
if ! cp $f $(postconf -hx queue_directory)$f 2>/dev/null; then
|
|
exit 0
|
|
fi
|
|
if [ -n "$RUNNING" ]; then
|
|
service postfix reload >/dev/null 2>&1
|
|
fi
|
|
fi
|
|
|
|
# If master is running, force a queue run to unload any mail that is
|
|
# hanging around. Yes, sendmail is a symlink...
|
|
if [ -n "$RUNNING" ]; then
|
|
if [ -x /usr/sbin/sendmail ]; then
|
|
# Don't propagate the exit code on failure; cf. #959864
|
|
/usr/sbin/sendmail -q >/dev/null 2>&1 || true
|
|
fi
|
|
fi
|