Daily reports

Once your server running, you must make sure everything work fine. Do not read any further if you don't plan to maintain it. Luckily, OpenBSD developpers made things easier.

Every day (infact every night) a report from "Charlie Root" is generated and mailed to user "root". Inside, you can find :

I look like this:

Running security(8):

Checking mailbox ownership.
user spamd.black mailbox is owned by root
user spamd.black mailbox is -rw-r--r--, group wheel


======
/etc/rc.local diffs (-OLD  +NEW)
======
--- /var/backups/etc_rc.local.current   Sat Jun  4 03:46:48 2016
+++ /etc/rc.local       Thu Oct 20 09:46:54 2016
@@ -1 +1 @@
-su pi -c "tmux new -s rtorrent -d rtorrent"
+/usr/bin/su pi -c "/usr/bin/tmux new -s rtorrent -d /usr/local/bin/rtorrent"


======
/etc/spwd.db SHA-256 checksums
======
OLD: 075455a721ef[...]b942f590fb8e3edfd88c5dd4
NEW: 37eba7537dd7[...]42468cc4cbe768fcf496b230

You can read warning about file owners, then changes in a file. Lines starting with "+" were added, those starting with a "-" removed.

At last, a checksum on the password database has changed : did you add a new user?

Well, that's nice, but how do I get it?

As you will see, it's very easy :

Of course, replace with a mail address you read daily.

Then, run "# newaliases".

That's it! :)

Just to make sure, send yourself a test message :

echo "Hello sweetie!" | mail -s "test" root

You should get this mail at the address written in /etc/mail/aliases.

Now, it's up to you to read there report every day.

If you need to, you can change the domain name of the sender if you edit /etc/mail/mailname. As example :

athome.tld