From: martin f. krafft Date: Sun, 23 Sep 2007 17:50:41 +0000 (+0200) Subject: move sqlite var to defines X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/bd01be7c73f0cb65d39bee92874a8d1b2957c852 move sqlite var to defines --- diff --git a/procmail/defines b/procmail/defines index cad0d37..c38adab 100644 --- a/procmail/defines +++ b/procmail/defines @@ -32,9 +32,11 @@ SA_PREFS="$MAILFILT/spamassassin/user_prefs" SPAMASSASSIN="$NICE /usr/bin/spamassassin --prefs-file=$SA_PREFS" SPAMC="$NICE /usr/bin/spamc --log-to-stderr --no-safe-fallback" #SPAMC="$SPAMASSASSIN" -TRAINER="$MAILFILT/bin/train" +TRAINER="$NICE $MAILFILT/bin/train" -OURDATE=`date -R` +SQLITE="$NICE /usr/bin/sqlite3" + +OURDATE="`date -R`" OURDATE_SHORT=`date +%Y.%m.%d.%H.%M.%N` BASE=$HOME/.maildir diff --git a/procmail/msgid-index b/procmail/msgid-index index 1d31f0a..908fc3d 100644 --- a/procmail/msgid-index +++ b/procmail/msgid-index @@ -6,7 +6,6 @@ # update logfiles set timestamp = datetime('now') where filename # = new.filename; end; -SQLITE=/usr/bin/sqlite3 MSGID_INDEX_DB=$PMVAR/msgid-index.sqlite DO_QUERY="$SQLITE $MSGID_INDEX_DB"