From: martin f. krafft Date: Tue, 14 Aug 2007 17:44:34 +0000 (+0200) Subject: try to use deliver, but failed X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/bdc0656059a47a78efebfcd081fbdadba9c91466?ds=inline try to use deliver, but failed --- diff --git a/procmail/defines b/procmail/defines index e7d991a..8fa4c83 100644 --- a/procmail/defines +++ b/procmail/defines @@ -23,6 +23,7 @@ PROCMAIL="$NICE /usr/bin/procmail -p $PMDIR/procmailrc" FORMAIL="$NICE /usr/bin/formail -f" EGREP="$NICE /bin/egrep" SED="$NICE /bin/sed" +DELIVER="$NICE /usr/lib/dovecot/deliver" CRM114="$NICE /usr/share/crm114/mailreaver.crm -u $MAILFILT/crm114/" SA_PREFS="$MAILFILT/spamassassin/user_prefs" @@ -36,6 +37,7 @@ OURDATE_SHORT=`date +%Y.%m.%d.%H.%m.%N` INBOX=$HOME/.maildir +#DEFAULT="|$DELIVER" DEFAULT=$INBOX/ ORGMAIL=$HOME/BOUNCED-MAIL @@ -67,6 +69,7 @@ RE_EXTRACT_HEADER_VALUE="[ ]*\/[^ ].*" NULL=/dev/null DISCARD=$INBOX/.discard/ +#DISCARD="'|$DELIVER -m INBOX.discard'" ### variables from the message