- Grab your stalwart access token (Developer Tools > Storage > Session Storage >
webadmin_state
) - Get your cloudflare API_KEY
- Get your cloudflare zone ids for all domains managed by stalwart
- Fill .env
- Run
npm run dev
- Export all records for each zone on cloudflare! (Just as a backup)
- Check what changes would be done (missing records will be added, misconfigured will be updated)
- Click "Sync Records"