From: Sven Hoexter Date: Mon, 14 Apr 2014 15:22:43 +0000 (+0200) Subject: Decomissioned: archive dyndns mail parserver script for automated account renewal... X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fscripts.git;a=commitdiff_plain;h=87289286336d5c6908d82d45dd557047c4a735ac Decomissioned: archive dyndns mail parserver script for automated account renewal clicking. --- 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