The question is: Has anyone seen unpredictable and different results when 
processing the same message?

The operative part of the script is:

#first run use 
echo setting aside user_prefs, running with system wide values
mv ~/.spamassassin/user_prefs  ~/.spamassassin/user_prefss
cp ~/.spamassassin/user_prefs.rptonly  ~/.spamassassin/user_prefs
grep -iv X-SPAM $1 | spamc > $1.o
grep X-Spam $1.o
grep -A14 "pts rule name" $1.oo|grep -v "\-\-\-\-"

#second run. use all MY prefs
mv -f ~/.spamassassin/user_prefss ~/.spamassassin/user_prefs
grep -iv X-SPAM $1 | spamc > $1.oo
grep X-Spam $1.oo
grep -A13 "pts rule name" $1.oo |grep -v "\-\-\-\-"



where user_prefs.rptonly  contains
add_header all report _REPORT_
add_header all testscores _TESTSSCORES(,)_

I run the script multiple times and get unpredictable results regarding the 
appearance of MISSING_MID.



Thank you,
Dennis German

Hello world, goodnight moon

Reply via email to