commit 7e929f3a32ad41c44f8d324080693a7eaeb4f885 Author: Pierre-Olivier Mercier Date: Wed Oct 12 00:31:50 2016 +0200 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d1ab267 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*# +*~ +TAGS +*.py[cod] +__pycache__ diff --git a/README.md b/README.md new file mode 100644 index 0000000..c44f760 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +Peret +===== + +Peret checks PGP signed mails and extract submissions contained in it. + + +Usage +----- + +A basic usage is through procmail; append thoses lines into your +`~/.procmailrc`: + +``` +:0H +* ^Delivered-To: peret@domain\.tld +{ + :0c + * !^X-loop: + | /path/to/peret/check.py --real-send --submissions /path/to/shemu/submissions/TP3 --soft-max-submission "october 20 08:42" --hard-max-submission "october 20 09:21" + + :0 + $DEFAULT +} +```