From bd01be7c73f0cb65d39bee92874a8d1b2957c852 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 23 Sep 2007 19:50:41 +0200 Subject: [PATCH] move sqlite var to defines --- procmail/defines | 6 ++++-- procmail/msgid-index | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) 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" -- 2.39.5