<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 4, 2016 at 3:18 AM, Jeff Morris <span dir="ltr"><<a target="_blank" href="mailto:jeffm859@nullmodem.org">jeffm859@nullmodem.org</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<div bgcolor="#FFFFFF"><div><div class="gmail-h5">
<div class="gmail-m_4394672412000771726moz-cite-prefix">On 11/3/2016 11:15 AM, Gregory Sloop
wrote:<br>
</div>
<blockquote type="cite">
<br>
<span style="font-family:"courier new";font-size:9pt;color:rgb(128,0,0)"><b>D> Am 02.11.2016 um 23:58 schrieb Jeff Morris:<br>
<br>
>> When I asked before, it was suggested that I change
"_SCORE_" to<br>
>> "_SCORE(0)_", however that did not work, it caused
the literal string<br>
>> "_SCORE(0)_" to be inserted into my subject lines,
rather than the<br>
>> formatted score being substituted.<br>
<br>
>> Is there any way to do this? <br>
<br>
D> Not with $sa_spam_subject_tag, but apparently with
spamassassin:<br>
<br>
</b></span><a target="_blank" href="https://spamassassin.apache.org/full/3.0.x/dist/doc/Mail_SpamAssassin_Conf.html#template_tags" style="font-family:"courier new";font-size:9pt">D>
https://spamassassin.apache.<wbr>org/full/3.0.x/dist/doc/Mail_<wbr>SpamAssassin_Conf.html#<wbr>template_tags</a><br>
<br>
<span style="font-family:"courier new";font-size:9pt">I
believe Amavis ignores all subject tagging settings from SA.
Thus the only way to set SA tagging options if you use Amavis is
to use Amavis specific settings.<br>
</span></blockquote>
<br></div></div>
Exactly, and that's the problem that I'm running in to, anything I
put in my Spamassassin config gets overridden when Amavis calls
Spamassassin.<br>
<br></div></blockquote><div><br><br><br> <a href="https://wiki.apache.org/spamassassin/IntegratedInPostfixWithAmavis">https://wiki.apache.org/spamassassin/IntegratedInPostfixWithAmavis</a><br><span class="gmail-anchor" id="gmail-line-123"></span><span class="gmail-anchor" id="gmail-line-124"></span><span class="gmail-anchor" id="gmail-line-125"></span><span class="gmail-anchor" id="gmail-line-126"></span><span class="gmail-anchor" id="gmail-line-127"></span><span class="gmail-anchor" id="gmail-line-128"></span><p class="gmail-line867"><strong> got the below lines from above URL (Pls check I have NOT done it )<br></strong></p><p class="gmail-line867"> <span class="gmail-anchor" id="gmail-line-129"></span><span class="gmail-anchor" id="gmail-line-130"></span></p><p class="gmail-line874">Go to /etc/mail/spamassassin and edit <a href="http://local.cf">local.cf</a>. <span class="gmail-anchor" id="gmail-line-131"></span>My file looks like this. <span class="gmail-anchor" id="gmail-line-132"></span><span class="gmail-anchor" id="gmail-line-133"></span></p><p class="gmail-line874">Be sure to doublecheck this options with amavisd.conf. If one of these options is in amavisd.conf, <span class="gmail-anchor" id="gmail-line-134"></span>the one in <a href="http://local.cf">local.cf</a> will not be used. <span class="gmail-anchor" id="gmail-line-135"></span><span class="gmail-anchor" id="gmail-line-136"></span></p><p class="gmail-line867"><span class="gmail-anchor" id="gmail-line-137"></span><span class="gmail-anchor" id="gmail-line-138"></span><span class="gmail-anchor" id="gmail-line-139"></span><span class="gmail-anchor" id="gmail-line-140"></span><span class="gmail-anchor" id="gmail-line-141"></span><span class="gmail-anchor" id="gmail-line-142"></span><span class="gmail-anchor" id="gmail-line-143"></span><span class="gmail-anchor" id="gmail-line-144"></span><span class="gmail-anchor" id="gmail-line-145"></span><span class="gmail-anchor" id="gmail-line-146"></span><span class="gmail-anchor" id="gmail-line-147"></span><span class="gmail-anchor" id="gmail-line-148"></span><span class="gmail-anchor" id="gmail-line-149"></span><span class="gmail-anchor" id="gmail-line-150"></span><span class="gmail-anchor" id="gmail-line-151"></span><span class="gmail-anchor" id="gmail-line-152"></span><span class="gmail-anchor" id="gmail-line-153"></span><span class="gmail-anchor" id="gmail-line-154"></span><span class="gmail-anchor" id="gmail-line-155"></span><span class="gmail-anchor" id="gmail-line-156"></span><span class="gmail-anchor" id="gmail-line-157"></span><span class="gmail-anchor" id="gmail-line-158"></span><span class="gmail-anchor" id="gmail-line-159"></span><span class="gmail-anchor" id="gmail-line-160"></span><span class="gmail-anchor" id="gmail-line-161"></span><span class="gmail-anchor" id="gmail-line-162"></span><span class="gmail-anchor" id="gmail-line-163"></span><span class="gmail-anchor" id="gmail-line-164"></span><span class="gmail-anchor" id="gmail-line-165"></span><span class="gmail-anchor" id="gmail-line-166"></span><span class="gmail-anchor" id="gmail-line-167"></span><span class="gmail-anchor" id="gmail-line-168"></span><span class="gmail-anchor" id="gmail-line-169"></span><span class="gmail-anchor" id="gmail-line-170"></span><span class="gmail-anchor" id="gmail-line-171"></span><span class="gmail-anchor" id="gmail-line-172"></span><span class="gmail-anchor" id="gmail-line-173"></span><span class="gmail-anchor" id="gmail-line-174"></span><span class="gmail-anchor" id="gmail-line-175"></span><span class="gmail-anchor" id="gmail-line-176"></span><span class="gmail-anchor" id="gmail-line-177"></span><span class="gmail-anchor" id="gmail-line-178"></span><span class="gmail-anchor" id="gmail-line-179"></span><span class="gmail-anchor" id="gmail-line-180"></span><span class="gmail-anchor" id="gmail-line-181"></span><span class="gmail-anchor" id="gmail-line-182"></span><span class="gmail-anchor" id="gmail-line-183"></span><span class="gmail-anchor" id="gmail-line-184"></span></p><pre><span class="gmail-anchor" id="gmail-line-1-3"></span># Add your own customisations to this file. See 'man Mail::SpamAssassin::Conf'
<span class="gmail-anchor" id="gmail-line-2-2"></span># for details of what can be tweaked.
<span class="gmail-anchor" id="gmail-line-3-2"></span>#
<span class="gmail-anchor" id="gmail-line-4-1"></span># How many hits before a message is considered spam.
<span class="gmail-anchor" id="gmail-line-5-1"></span>
<span class="gmail-anchor" id="gmail-line-6-1"></span>required_hits 5.0
<span class="gmail-anchor" id="gmail-line-7-1"></span>
<span class="gmail-anchor" id="gmail-line-8-1"></span># Whether to change the subject of suspected spam
<span class="gmail-anchor" id="gmail-line-9-1"></span>
<span class="gmail-anchor" id="gmail-line-10-1"></span>rewrite_subject 0
<span class="gmail-anchor" id="gmail-line-11"></span>
<span class="gmail-anchor" id="gmail-line-12"></span># Text to prepend to subject if rewrite_subject is used
<span class="gmail-anchor" id="gmail-line-13"></span>
<span class="gmail-anchor" id="gmail-line-14"></span>subject_tag *****SPAM*****
<span class="gmail-anchor" id="gmail-line-15"></span>
<span class="gmail-anchor" id="gmail-line-16"></span># Encapsulate spam in an attachment
<span class="gmail-anchor" id="gmail-line-17"></span>
<span class="gmail-anchor" id="gmail-line-18"></span>report_safe 1
<span class="gmail-anchor" id="gmail-line-19"></span></pre> </div><div> <br><br><br><br><br> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div bgcolor="#FFFFFF">
Does Amavis pass the contents of $sa_spam_subject_tag directly to
Spamassassin? If so, I would think I would be able to put
"_SCORE(0)_" and have it work, since the Spamassassin docs say
that's supported, yet it doesn't work. Perhaps my version of
Spamassassin doesn't support that? I'm running Spamassassin 3.4.0-2.<br>
<br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">cat /etc/motd<br><br>Thank you<br>Indunil Jayasooriya <br><a target="_blank" href="http://www.theravadanet.net/">http://www.theravadanet.net/</a><br><a target="_blank" href="http://www.siyabas.lk/sinhala_how_to_install.html">http://www.siyabas.lk/sinhala_how_to_install.html</a> - Download Sinhala Fonts<br><br></div></div>
</div></div>