Skip to content

Instantly share code, notes, and snippets.

View VintageEngineer's full-sized avatar

Carl VintageEngineer

  • Southern California
View GitHub Profile
@VintageEngineer
VintageEngineer / gmail-forwarding-srs-fix.md
Last active April 19, 2026 23:29
Fixing SPF failures for Gmail forwarding using Cloudflare and SRS

How to Fix Email Forwarding Failures Using SRS

As of January 2026, Google has retired the "Check mail from other accounts" POP3 feature for Gmail. This means the service no longer supports pulling emails from external providers via POP3. Moving forward, setting up email forwarding is the primary way to manage a custom domain through the Gmail web interface.

Note: This guide assumes you already have your DKIM and DMARC records properly configured for your domain.

The Problem

For custom domain names, standard email forwarding often breaks SPF (Sender Policy Framework) checks because the forwarding server is not an authorized sender for the original domain.

The Solution

@Desani
Desani / ScanMedia.md
Last active March 30, 2026 13:56
3.6 - Corrected issues with determining terminal size in specific use cases. Added file encoding thanks to recommendation by LordKenmou. Fixed update script checker.

This script utilizes ffmpeg, the same tool Plex uses, to decode the video stream and captures the output for any errors during playback and sends the playback errors to a log file. So essentially it plays the video in the background faster than regular speed. It then checks the error output log file to see if there is anything inside. If ffmpeg was able to cleanly play the file, it counts as a passed file. If there is any error output, an error could be anything from a container issue, a missed frame issue, media corruption or more, it counts the file as failed. So if there would be an issue with playback and a video freezing, it would be caught by this method of checking for errors. Because of the nature of the error log, any errors that show up, even simple ones, will all count as a fail and the output is captured so you can view the error log. Some simple errors are easy to fix so I have included an auto-repair feature which attempts to re-encode the file which is able to correct some issues that would cau