Hardware: ODROID-HC4 YunoHost version: 11.2.11.3 I have access to my server : Through SSH | through the webadmin Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
Title, essentially. Before my domain was slapped with a serverHold status, I was getting literally hundreds - easily over a thousand total emails with nearly identical content. And I firmly believe that is why I was given a serverHold status. They all have the subject Cron <root@mydomain> /usr/lib/armbian/armbian-truncate-logs and have nearly identical contents. Here is an example: /usr/lib/armbian/armbian-truncate-logs: 18: /etc/default/armbian-ramlog: Syntax error: "(" unexpected Suffice to say, even if I get my domain’s serverHold status removed, I fear that my server will continue sending these emails to me and I’ll just get the status again. What should I do?
Update: I checked /etc/default/armbian-ramlog and this is what it looks like:
# configuration values for the armbian-ram-logging service
#
# enable the armbian-ram-logging service?
ENABLED=false
#
# size of the tmpfs mount -- please keep in mind to adjust /etc/default/armbian-zram-config too when increasing
SIZE=50M
#
# use rsync instead of cp -r
# requires rsync installed, may provide better performance
# due to copying only new and changed files
USE_RSYNC=true
# If USE_RSYNC is true, additional options may be specified for the rsync
# commands used to synchronize logs to disk from RAM (XTRA_RSYNC_TO) or from
# disk to RAM (XTRA_RSYNC_FROM). These are bash arrays to make specifying
# multiple arguments easy even in the presence of whitespace.
XTRA_RSYNC_TO=(
## If you use log rotation programs that datestamp their logs (e.g., runit's
## svlogd or daemontools' multilog), deleting log files while synchronizing is
## likely a good idea.
# --delete
)
XTRA_RSYNC_FROM=()
I’ve followed the troubleshooting steps. Unfortunately, I can’t test whether it’s stopped the emails, as since I’ve been using a .noho.st domain, I don’t seem to receive emails from my server at all.
Glad to read you found the issue was coming from armbian miswritten configuration file. Adding #!/bin/bash will force the script to be executed by the correct shell.
As for your issue with serverHold and noho.st domain, I am a bit confused. Did you fall back to a noho.st domain because your main one got that “serverHold” status?
According to this, you need to contact your registrar.
That is what I meant, yes. I did contact my registrar (porkbun) who told me to contact the registry (shortdot). I haven’t received any response from shortdot.
Edit: I ended up buying another domain that I like better from porkbun. If shortdot ever responds, I’ll just have two domains! Not like that’s the worst thing in the world haha.