From 87289286336d5c6908d82d45dd557047c4a735ac Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Mon, 14 Apr 2014 17:22:43 +0200 Subject: [PATCH] Decomissioned: archive dyndns mail parserver script for automated account renewal clicking. --- stormbind/dyndns-mailparser.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 stormbind/dyndns-mailparser.sh diff --git a/stormbind/dyndns-mailparser.sh b/stormbind/dyndns-mailparser.sh new file mode 100644 index 0000000..33ffbb0 --- /dev/null +++ b/stormbind/dyndns-mailparser.sh @@ -0,0 +1,8 @@ +#!/bin/sh +logfile=/home/sven/.procmail/dyndns.log +while read -r inline; do + if echo $inline | grep -P '^https://account.dyn.com/eml/.*' > /dev/null 2>&1; then + echo "Executing: curl -L -i $inline on $(date)" > $logfile + curl -L -i $inline >> $logfile 2>&1 + fi +done -- 2.39.2