search for: score2clean

Displaying 1 result from an estimated 1 matches for "score2clean".

2006 Apr 29
1
How to notify dovecot that maildir contents is changed by third-party helper ?
...FIND_DEPTH=1 INBOX_DIRNAME=cur KILLSPAM_DIRNAME='.KillSpam' SPAM_DIRNAME='.Spam' MSGHEADLEN=30 RM="/bin/rm -f" MV="/bin/mv -f" #========= Routines ==========================================# IsSpamFile() { local msgfile="$1" score2clean="$2" local spamstatus=$(head -$MSGHEADLEN "$msgfile" | egrep '^X-Spam-Status: Yes') test -z "$spamstatus" && return 1 if [ -n "$score2clean" ]; then local spamscore=${spamstatus##*score=}...