World

Setup KVM on Debian

3 minute read Published:

Heading 2

This is based on Cyberciti’s post.

Install KVM

sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils libguestfs-tools genisoimage virtinst libosinfo-bin

Allow my normal user to manage the virtual machines

sudo adduser stefan libvirt
sudo adduser stefan libvirt-qemu

Building Claws Mail on Ubuntu

2 minute read Published:

Heading 2

There is [https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3088](a bug) in https://claws-mail.org, which does not show headers when displaying a S/MIME encrypted email. Because I get more and more of these emails, I wanted to see if I could fix it. But to be able to fix it, I needed to build claws-mail from the source, so I followed [https://claws-mail.org/git.php?section=projects](the instructions) on the website, but it didn’t mention with (ubuntu) packages are needed to run autogen.sh. So I ran it multiple times to find the list.

Fixing spamassassin user_prefs on CentOS7

1 minute read Published:

Heading 2

Start typing. This is the first part on the main page.

Aug  4 10:40:44 kari spamd[21777]: spamd: creating default_prefs: sa-milt/.spamassassin/user_prefs
Aug  4 10:40:44 kari spamd[21777]: config: cannot create user preferences file sa-milt/.spamassassin/user_prefs: No such file or directory
Aug  4 10:40:44 kari spamd[21777]: spamd: failed to create readable default_prefs: sa-milt/.spamassassin/user_prefs

https://stackoverflow.com/questions/42707466/spamassassin-bayes-not-working

cd /var/lib/spamassassin/
mkdir bayesdb
chown -R sa-milt:virtmail bayesdb
chmod g+w bayesdb
echo "bayes_path /var/lib/spamassassin/bayesdb/bayes" >> /etc/mail/spamassassin/local.cf
systemctl restart spamassassin.service
Recent posts
- full list -