]>
git.madduck.net Git - etc/mailfilter.git/commitdiff
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (parent:
4ba2f39 )
OURDATE=`date -R`
OURDATE_SHORT=`date +%Y.%m.%d.%H.%M.%N`
OURDATE=`date -R`
OURDATE_SHORT=`date +%Y.%m.%d.%H.%M.%N`
ORGMAIL=$HOME/BOUNCED-MAIL
# maximum message size for spam checking
ORGMAIL=$HOME/BOUNCED-MAIL
# maximum message size for spam checking
RE_EXTRACT_HEADER_VALUE="[ ]*\/[^ ].*"
NULL=/dev/null
RE_EXTRACT_HEADER_VALUE="[ ]*\/[^ ].*"
NULL=/dev/null
-DISCARD=$INBOX /.discard/
-#DISCARD="'|$DELIVER -m INBOX .discard'"
+DISCARD=$BASE /.discard/
+#DISCARD="'|$DELIVER -m BASE .discard'"
### variables from the message
### variables from the message
{
LOG="spamfilter: filing as unsure$NL"
:0
{
LOG="spamfilter: filing as unsure$NL"
:0
- $INBOX /.retrain.unsure/
{
LOG="spamfilter: filing as disagreed$NL"
:0
{
LOG="spamfilter: filing as disagreed$NL"
:0
- $INBOX /.retrain.disagree/
+ $BASE /.retrain.disagree/
{
LOG="spamfilter: filing as spam$NL"
:0
{
LOG="spamfilter: filing as spam$NL"
:0
original-to: $ORIGINAL_TO
subject: $SUBJECT$NL"
original-to: $ORIGINAL_TO
subject: $SUBJECT$NL"
-TRAP="echo \"delivered: \${LASTFOLDER#$INBOX /}\" >> '$THISLOGFILE';
+TRAP="echo \"delivered: \${LASTFOLDER#$BASE /}\" >> '$THISLOGFILE';
echo >> '$THISLOGFILE';
egrep -v '^(procmail:)?[[:space:]\"]' '$THISLOGFILE' >> $MASTERLOGFILE"
echo >> '$THISLOGFILE';
egrep -v '^(procmail:)?[[:space:]\"]' '$THISLOGFILE' >> $MASTERLOGFILE"