On Tue, 2 Jun 2009, Charles Gregory wrote:
This *really* suggests that one of two things MUST be occuring:
1) What you are seeing is NOT what spamassassin "sees".
Charles,
Quite possible.
2) A character (null/ascii-zeros?) has been injected into the e-mail
somewhere in the headers, causing Spamassassin to cease its scan at that
point...
Hmm-m-m-m. I cannot perceive a scenario where this is selective. For
example, the log reports sent by local root to me on the local machine, some
messages posted to this mail list (but not others in the same thread), some
messages posted to other mail lists (again, not all in the same thread), and
so on. There is no consistent pattern other than the locally generated log
summary reports.
Presuming upon the latter, try examining all the headers injected by other
processes like clamav. Particularly where *some* messages receive this
treatment, but not *all*, you should be able to find a 'header difference'
between the passed and failed messages.
No clamav or similar. We run only linux with incoming mail processed by
postfix and procmail.
Something to try:
Setup a custom rule in local.cf to match a custom header
X-Spam-Test: YES
And then , just before you scan the e-mail with spamassasin, use 'formail' to
add that header to the mail.
I've not before used formail. SA is called from within
~/procmail/recipes.rc:
## Call SpamAssassin
:0fw: spamassassin.lock
* < 256000
| spamassassin
Where do I insert a call to formail and what is the appropriate format?
Thanks,
Rich
--
Richard B. Shepard, Ph.D. | Integrity Credibility
Applied Ecosystem Services, Inc. | Innovation
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863