Directadmin – enable and configure Spamassassin automatically when adding user

By default, when you add new user in Directadmin, Spamassassin is disabled. Some users may not know about Spamassassin, so they’ll have it disabled and will receiving a lot of spam. So it may be good practice to enable Spamassassin by default. You can do that by adding below code in your /usr/local/directadmin/scripts/custom/user_create_post.sh script. The first step is wellContinue reading “Directadmin – enable and configure Spamassassin automatically when adding user”

SFTP chroot with OpenSSH

Ok, this post is in my draft section for to long  lol. A while ago I needed to share some files from my home backup server to my friend. I didn’t have FTP server installed. I could give him SFTP access, but I  didn’t want to give him access to my entire server. So I needed aContinue reading “SFTP chroot with OpenSSH”