Skip to content

Instantly share code, notes, and snippets.

View mh-'s full-sized avatar

Michael Huebler mh-

View GitHub Profile
@mh-
mh- / lightweight-smtp-relay-on-raspberry-pi-zero-w.md
Last active April 9, 2023 15:08
Lightweight SMTP Relay on Raspberry Pi Zero W

Lightweight SMTP Relay on Raspberry Pi Zero W

This can provide a simple local SMTP relay.

A typical use case would be somewhat older devices (like security cameras) that cannot handle TLS while sending e-mails, but your very friendly e-mail provider now insists on that.

The Raspberry Pi Zero W typically consumes about 100..150mA at the USB power connection (less than 0.8W) and can e.g. be powered by the USB port of a router, like the AVM Fritz!Box. (Of course, if you were willing to run a custom firmware on that router, you could directly run the SMTP relay there...)

Initial setup of the Raspberry Pi Zero W:

How I successfully rooted an Oukitel WP12 Pro Android 11 phone:

fastboot flashing unlock
fastboot flash boot_a magisk_patched-24305_0Hd3C.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img