&gt;Dave Jones wrote:<br>&gt;&gt; &gt;It&#39;s in the latest releases. Here&#39;s the relevant chunk from<br>&gt;&gt; &gt;MailScanner.conf:<br>&gt;&gt;<br>&gt;&gt; &gt;# This option can be used to stop any duplication of en email signature<br>
&gt;&gt; &gt;# appearing in the HTML of an email message. It looks for the &quot;alt&quot;<br>&gt;&gt; &gt;# attribute in the &lt;img&gt; tag specifying the image to be inserted int the<br>&gt;&gt; &gt;# HTML signature. If you want to use this option without inserting an<br>
&gt;&gt; image<br>&gt;&gt; &gt;# into the signature, simply specify an &lt;img&gt; tag without a &quot;src&quot;<br>&gt;&gt; attribute.<br>&gt;&gt; &gt;#<br>&gt;&gt; &gt;# If the &quot;alt&quot; tag appears, and contains the word &quot;MailScanner&quot; and the<br>
&gt;&gt; &gt;# word &quot;Signature&quot; and the %org-name% you specified at the top of<br>&gt;&gt; this file,<br>&gt;&gt; &gt;# then the message is considered to already be signed. If this option is<br>&gt;&gt; &gt;# also set to &quot;yes&quot;, then it will not be signed again. Multiple image<br>
&gt;&gt; &gt;# signatures at the bottom of a message can make the message very<br>&gt;&gt; large and<br>&gt;&gt; &gt;# ugly once it has been replied to a couple of times.<br>&gt;&gt; &gt;# This can also be the filename of a ruleset.<br>
&gt;&gt; &gt;Allow Multiple HTML Signatures = no<br>&gt;&gt;<br>&gt;&gt; &gt;This should do exactly what you&#39;re looking for. If it doesn&#39;t then let<br>&gt;&gt; &gt;me know and I&#39;ll see what adjustments can be made.<br>
&gt;&gt; You added this feature for me and it is working great.&nbsp; We are only<br>&gt;&gt; getting one signature.&nbsp; If we send the first email out, then<br>&gt;&gt; everything looks great -- our logo/slogan is appended to the bottom of<br>
&gt;&gt; our email.&nbsp; The situation I am trying to prevent is when the first<br>&gt;&gt; email is sent inbound and we reply/forward causing our logo/slogan to<br>&gt;&gt; be added to the bottom of the original external person&#39;s email.&nbsp; It<br>
&gt;&gt; makes things appear that <a href="http://xyz.com">xyz.com</a> &lt;<a href="http://xyz.com">http://xyz.com</a>&gt; (external company)<br>&gt;&gt; has our <a href="http://abc.com">abc.com</a> &lt;<a href="http://abc.com">http://abc.com</a>&gt; logo/slogan.<br>
&gt;&gt;<br>&gt;&gt; All I need now it to be able to detect an original email based on<br>&gt;&gt; something in the headers or body so I can make the signature rule<br>&gt;&gt; conditional on this.<br>&gt;Can you work out a way of doing this? I already look through the body<br>
&gt;looking for my signature. How can I work out if the message doesn&#39;t<br>&gt;belong to me but still not sign it?<br>&gt;I can&#39;t figure this one out, sorry.<br>I am trying to figure this one out on my own.&nbsp; My original question was intended to be a generic question about how you can look through the body of an email and then enable or disable a rule based on that hit in the body.&nbsp; Do I use a custom SA score?&nbsp; If so, then how do you setup the signature rule to be conditional on this SA score hit?<br>
&gt;&gt;<br>&gt;&gt; &gt;Dave Jones wrote:<br>&gt;&gt; &gt;&gt; Is there a way to make a rule conditional on a body content?&nbsp; Would an<br>&gt;&gt; &gt;&gt; SA rule be required to get a hit on that score then take different<br>
&gt;&gt; action?<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; What I am trying to do it only append the inline HTML signature only<br>&gt;&gt; &gt;&gt; on the first outbound email for a particular domain.&nbsp; Currently the<br>&gt;&gt; &gt;&gt; HTML signature is getting appended to the bottom of all outbound email<br>
&gt;&gt; &gt;&gt; (for my test email address) so if the email originates from the<br>&gt;&gt; &gt;&gt; outside and I reply, then _my signature_ is being appended to the<br>&gt;&gt; &gt;&gt; original bottom that _was not mine_.<br>
&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; So I need to find a way to detect and append the inline HTML signature<br>&gt;&gt; &gt;&gt; only to the first outbound email from my domain.&nbsp; Can this be done<br>&gt;&gt; &gt;&gt; with some advanced rules based on SA scoring?<br>
&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; I have searched with various keywords in the mailing list archive with<br>&gt;&gt; &gt;&gt; no success.<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; --<br>&gt;&gt; &gt;&gt; Dave Jones<br>
&gt;&gt;<br>&gt;&gt; &gt;Jules<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; Dave Jones<br><br>&gt;Jules<br clear="all"><br>-- <br>Dave Jones