summaryrefslogtreecommitdiff
path: root/mailimport
diff options
context:
space:
mode:
Diffstat (limited to 'mailimport')
-rwxr-xr-xmailimport6
1 files changed, 6 insertions, 0 deletions
diff --git a/mailimport b/mailimport
index bd6d36c2e..8ed624179 100755
--- a/mailimport
+++ b/mailimport
@@ -165,6 +165,12 @@ proccess_patch ()
{
i="$_"
+ CHECK="`cat $i| perl -ne 'if (m/^Subject:.*FOLDER INTERNAL DATA/) { print -1; }'`"
+
+ if [ "$CHECK" != "" ]; then
+ return
+ fi
+
echo $i
if [ "`diffstat -p1 -l "$i"`" == "" ]; then
echo "*** ERROR nothing to commit"