Skip to content

Instantly share code, notes, and snippets.

View Toniob's full-sized avatar

Anthony Bourguignon Toniob

View GitHub Profile
import paho.mqtt.client as mqtt
import struct
from functools import reduce
from pydantic import ValidationError
from pydantic.color import Color
class Techlife():
msg = struct.Struct('<B6H3B')
def __init__(self, mqtt_server, mac_addr, username=None, password=None):
# DKIM
milter_default_action = accept
milter_protocol = 2
smtpd_milters = inet:127.0.0.1:8891
non_smtpd_milters = inet:127.0.0.1:8891
# Postscreen
postscreen_access_list = permit_mynetworks, cidr:/etc/postfix/postscreen_access.cidr
postscreen_blacklist_action = enforce
postscreen_greet_banner = Welcome to xxx

Keybase proof

I hereby claim:

  • I am toniob on github.
  • I am toniob (https://keybase.io/toniob) on keybase.
  • I have a public key ASBfeHSYq6l5-DMwD1LONvOK0KtfcWTJ0HKDJ0VhPbepbQo

To claim this, I am signing this object: