Skip to content

Instantly share code, notes, and snippets.

@ran-deh
ran-deh / mta-sts.js
Created September 19, 2022 21:21 — forked from dotysan/mta-sts.js
CloudFlare Worker for MTA-STS policy
const mode= 'testing';
//const mode= 'enforce';
const max_age= 604800; // 1 week
const mx_list = [
'aspmx.l.google.com'
,'aspmx2.googlemail.com'
,'aspmx3.googlemail.com'
,'aspmx4.googlemail.com'
,'aspmx5.googlemail.com'
,'alt1.aspmx.l.google.com'