>>>
>>>>
>> On Thu, 2019-11-28 at 11:56 -0500, Joe Acquisto-j4 wrote:
I want to be able to reprocess a particular email, marked as SPAM,
>>> after making some SA tweaks.   
>>> 
>> I do something similar with with collection of test messages, mostly
>> received spam, that I use to test my local SA rule set.
>> 
>> Essentially, all I do is:
>> 
>> 1) remove all headers starting with 'X-Spam', otherwise the X-Spam
>>    headers injected when the piece if spam was received will still be
>>    there after I've run the test. This is confusing rather than harmful,
>>    but the cleaner is just a script using awk. See below.
>> 
>> 2) pass the message through spamd by running:
>> 
>>      spamc --max-size=2000000 <testmag.txt | less
>> 
>>    and examine the result
>> 
> 
> Thanks. Helpful.   I did not test the cleaner as I had already, in effect, 
> "sanitized" the message.
> 
> What I had hoped to do was allow this to flow though and be delivered to the 
> end point, as if under normal circumstances.
> 
> joe a. 
> 

Gentlefolks . . .

Is there any tangent down this path were I can get the dropped "test" message 
to actually flow through, in "normal" fashion?    

>From logs I can see that spamd does seem to give the message a taste,  as I 
>can follow /
var/log/mail and see activity at the precise time I feed it, but the message  
does not seem to be delivered.

I've tried some other off box methods as well, including using CURL which is 
purported to have smtp ability, yet I get syntax
errors or invalid option as the touted features do not exist in versions in use 
here.





-- 
+++++++++++++++++++++++
         joea@@j4computers.com
      https://www.j4computers.com
               845-687-3734
+++++++++++++++++++++++

Reply via email to