Skip to content

Instantly share code, notes, and snippets.

View noudAndi's full-sized avatar

AndiB. noudAndi

  • Frankfurt/Main, Germany
View GitHub Profile
@noudAndi
noudAndi / Synology-sa-update-script.md
Last active December 19, 2021 14:29
This a a quick help, if you want to have additional spamassasin rules updated automatically.

Intro

This is the way, I implemented automatic updates of spamassasin rules for MailPlus Server on my Synology DS920+, running on DSM 7.0.

MY Finding: DSM 7.0 is using rspamd instead of spamassasin, this means, some older scripts, created for DSM 6 or earlier might not work anymore.

Disclaimer!

This script and description come with no warranty, I cannot held responsible, if something breaks on you machine!

@noudAndi
noudAndi / proxysql.py
Created January 22, 2020 10:16
This is an updated version of the datadog proxysql.py Plugin to work with Datadog Agent Version 6.*
# (C) Ovais Tariq <ovaistariq@twindb.com> 2016
# All rights reserved
# Licensed under Simplified BSD License (see LICENSE)
# stdlib
from contextlib import closing, contextmanager
from collections import defaultdict
# 3p
import pymysql