lab icon indicating copy to clipboard operation
lab copied to clipboard

[mailman3] and server restart

Open ezzra opened this issue 5 years ago • 0 comments

I am having problems with mailman3 when the server is rebootet. Looks like lock files in /home/USER/var/locks/ are not removed properly so mailman wont start correctly. I already have script running:

#!/bin/bash
uptime=$(awk '{print $1}' /proc/uptime)

if [[ ${uptime%%.*} -lt 100 ]]; then
  rm -fr /home/akslists/var/locks/*
  echo "uptime was ${uptime}" | mail -s "mailman3 rebootet" -S sendcharsets=utf-8 -E [email protected]
fi

that is called by cron minutely. Unfortunately that did not work tonight out of unknown reasons, because I had a nonworking mail address entered here I don't even know if it was started..

Does anybody else encounter this problem with mailman3 on a rebooting server? Then we should address this problem in the guide.

ezzra avatar Feb 13 '20 12:02 ezzra