4 ms·
You can configure Postfix to filter content based on a shell script. https://www.postfix.org/FILTER_README.html https://www.postfix.org/FILTER_README.html You c
by jart 3y ago
You can configure Postfix to filter content based on a shell script. https://www.postfix.org/FILTER_README.html https://www.postfix.org/FILTER_README.html You can turn the email into plain text from your shell script using links and then ask Mistral if it's spam or political: https://justine.lol/oneliners/#url https://justine.lol/oneliners/#url You can use the grammar flag to force Mistral to only provide a YES or NO answer, which is easy to check from your script using an IF statement. Then boom, no more spam or politics.