This via tilde.news today: Observability and You — Keith Gregory, a discussion of what and why for observability.
Category Archives: Sys Admin
How do I turn on the Do Not Track feature?
systemd-tmpfiles
Today I learned about systemd-tmpfiles which can be configured with files in /etc/tmpfiles.d.
Installing Zabbix from source
So I’ve had a bit of a go at installing Zabbix from source. I think I got there in the end, but I’m not sure how to auto-start the service… yet.
How to create a file and mount it as a filesystem
As seen over on How do I create a file and mount it as a filesystem? the answer is that you need to use the -o loop option:
mount -o loop /path/to/file /path/to/mount
How to restore Okular to visible Menubar
I found How to restore Okular default (toolbar) settings, and the short answer is press Ctrl+M.
Postfix SMTP-AUTH 4 DUMMIES
Some notes on how to configure Postfix: Postfix SMTP-AUTH 4 DUMMIES.
Dovecot SASL
Here’s some info about Dovecot SASL. I integrate this facility for Postfix authentication too. So my SMTP system has a dependency on my IMAP/POP3 system. In the backend it’s a MySQL database…
openssl dhparam -out dh.pem
So I was getting errors like this in syslog:
Jul 6 17:35:53 integrity systemd[1]: Started Dovecot IMAP/POP3 email server. Jul 6 17:35:53 integrity dovecot[10775]: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 79: ssl_dh: Can't open file /etc/dovecot/dh.pem: No such file or directory Jul 6 17:35:53 integrity systemd[1]: dovecot.service: Main process exited, code=exited, status=89/n/a Jul 6 17:35:53 integrity systemd[1]: dovecot.service: Failed with result 'exit-code'.
This failure was affecting other parts of my system (i.e. postfix SASL).
The solution was to generate the dh.pem file:
root@integrity:/etc/dovecot # openssl dhparam -out dh.pem 4096
Cool Bash
Today via lobsters: Cool things I learned about Bash this week.