w00tcamp-ptsm

module
v0.0.0-...-6b20e5f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2022 License: MIT

README

w00tcamp-PTSM

Not SMTP, but PTSM (Pay To Spam Me).

Stop spam & get your deserved financial reward for reading mails. Let senders pay for emailing you.

architecture

References / credits to

  1. https://github.com/decke/smtprelay
  2. https://cloud.google.com/compute/docs/containers/deploying-containers

Local running

export SERVER=ptsm.hermanbanken.nl
export CORP=hermanbanken.nl
export COUNTRY=NL
openssl req -x509 -sha256 -nodes -days 3650 -newkey rsa:2048 -keyout private.pem -out certificate.crt -subj "/CN=$SERVER/O=$CORP/C=$COUNTRY"

make build
./bin/ingest-darwin-arm64 -local_cert certificate.crt -local_key private.pem -hostname ptsm.hermanbanken.nl

PTSM.org

Hosted mailbox/forwarder Add credit. Pay 0.001$ per forwarded email. Set rules, domains, whitelists, etc. Bounces for 404? Careful with displaying emails. XSS, embedded url loading. Tracking pixels.

IMAP/SMTP authentication using OAuth

XOAUTH2 can be used with IMAP and SMTP using the AUTHENTICATE command (RFC 3501§6.2.2).

Ref: IMAP from local file-system using emersion/go-imap.

LearnDMARC Fast development with VS Code Remote Code Server gcloud compute config-ssh --project ptsm-2022 Air live reloading: curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh | sh -s

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL