Skip to content

Instantly share code, notes, and snippets.

@itsuki-hayashi
Created November 7, 2021 14:42
Show Gist options
  • Save itsuki-hayashi/391911e087f06a130f46e2176a7f7b2b to your computer and use it in GitHub Desktop.
Save itsuki-hayashi/391911e087f06a130f46e2176a7f7b2b to your computer and use it in GitHub Desktop.
My Fastmail Rules
[
{
"conditions": null,
"snoozeUntil": null,
"markFlagged": false,
"skipInbox": false,
"markSpam": false,
"showNotification": false,
"name": "Add Label for Masked Emails",
"discard": false,
"updated": "2021-09-30T13:24:51Z",
"fileIn": "Masked Email",
"stop": false,
"previousFileInName": null,
"created": "2021-09-30T12:36:28Z",
"redirectTo": null,
"markRead": false,
"combinator": "all",
"search": "header:Fastmail-MaskedEmail"
},
{
"snoozeUntil": null,
"conditions": [
{
"lookHeader": "Authentication-Results",
"lookFor": "*spf=pass*",
"lookIn": "header",
"lookHow": "notglob"
},
{
"lookHow": "notglob",
"lookHeader": "Authentication-Results",
"lookIn": "header",
"lookFor": "*iprev=pass*"
},
{
"lookHow": "glob",
"lookHeader": "Authentication-Results",
"lookFor": "*spf=none*",
"lookIn": "header"
},
{
"lookIn": "header",
"lookFor": "*spf=fail*",
"lookHeader": "Authentication-Results",
"lookHow": "glob"
},
{
"lookHow": "glob",
"lookFor": "*spf=softfail*",
"lookIn": "header",
"lookHeader": "Authentication-Results"
},
{
"lookHeader": "Authentication-Results",
"lookIn": "header",
"lookFor": "*spf=neutral*",
"lookHow": "glob"
},
{
"lookHow": "glob",
"lookFor": "*spf=temperror*",
"lookIn": "header",
"lookHeader": "Authentication-Results"
},
{
"lookHeader": "Authentication-Results",
"lookFor": "*spf=permerror*",
"lookIn": "header",
"lookHow": "glob"
},
{
"lookHow": "glob",
"lookFor": "*iprev=fail*",
"lookHeader": "Authentication-Results",
"lookIn": "header"
},
{
"lookHow": "glob",
"lookHeader": "Authentication-Results",
"lookFor": "*iprev=temperror*",
"lookIn": "header"
},
{
"lookHeader": "Authentication-Results",
"lookIn": "header",
"lookFor": "*iprev=permerror*",
"lookHow": "glob"
}
],
"skipInbox": false,
"markFlagged": false,
"stop": true,
"fileIn": null,
"updated": "2021-03-22T06:32:29Z",
"discard": false,
"showNotification": false,
"name": "Mark All Emails Without Proper SPF Header As Spam",
"markSpam": true,
"previousFileInName": null,
"markRead": false,
"redirectTo": null,
"created": "2021-03-20T06:05:53Z",
"combinator": "any",
"search": null
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment