spamassassin-users October 2010 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: spamc sometimes complains MISSING_MID someti

spamc sometimes complains MISSING_MID sometimes not with same message

From: Dennis German <dgerman_at_nospam>
Date: Sat Oct 09 2010 - 15:35:58 GMT

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