Skip to content

Instantly share code, notes, and snippets.

@timabell
Created January 27, 2015 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timabell/2cc21c21957a45fa7df8 to your computer and use it in GitHub Desktop.
Save timabell/2cc21c21957a45fa7df8 to your computer and use it in GitHub Desktop.
#!/bin/sh
SKIP="noone"
cd ~/repo/uk-it-recruiter-domains/
cat ~/Documents/config/sieve-part1.txt > ~/Documents/config/sieve.txt
scripts/domains2sieve.py domains.txt | egrep -v "$SKIP|require" >> ~/Documents/config/sieve.txt
gedit ~/Documents/config/sieve.txt &
echo "skipped:"
scripts/domains2sieve.py domains.txt | egrep "$SKIP|require"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment