1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-04 00:17:06 +00:00

Workaround postgrey reload issue in jammy

This commit is contained in:
downtownallday 2022-06-27 11:03:31 -04:00
parent 6ae3758874
commit fd0cd63462

View File

@ -14,7 +14,9 @@ if [ -s /etc/mailinabox.conf ]; then
systemctl restart mailinabox
systemctl start miabldap-capture
# since postgrey's local client whitelist is in user-data, reload
# to ensure postgrey daemon has it
systemctl reload postgrey
# to ensure postgrey daemon has it.
#
# TODO: this should be 'reload' but is broken in jammy (reload fails on a systemctl permissions issue accessing postgrey's pid file)
systemctl restart postgrey
fi