Displaying 1 result from an estimated 1 matches for "dir2check".
2006 Apr 29
1
How to notify dovecot that maildir contents is changed by third-party helper ?
...gt; /dev/null 2>&1 || score2clean=
        find "$dir2clean" -type f | while read f; do
                IsSpamFile "$f" "$score2clean" && $doit $RM "$f"
        done
}
MoveSpamToFolder()      #  $1 = spam folder to consume spam
{
        local dir2check=$(dirname $1)/$INBOX_DIRNAME
        find "$dir2check" -type f | while read f; do
                IsSpamFile "$f" && $doit $MV "$f" "${1}/$INBOX_DIRNAME"
        done
}
DoOnSubFolders()        #  $1 = dirmask to find, $2 = action to apply
{
        f...