Conditional rule based on content information
MailScanner at ecs.soton.ac.uk
Tue May 6 19:49:49 IST 2008
It's in the latest releases. Here's the relevant chunk from
# This option can be used to stop any duplication of en email signature
# appearing in the HTML of an email message. It looks for the "alt"
# attribute in the <img> tag specifying the image to be inserted int the
# HTML signature. If you want to use this option without inserting an image
# into the signature, simply specify an <img> tag without a "src" attribute.
# If the "alt" tag appears, and contains the word "MailScanner" and the
# word "Signature" and the %org-name% you specified at the top of this file,
# then the message is considered to already be signed. If this option is
# also set to "yes", then it will not be signed again. Multiple image
# signatures at the bottom of a message can make the message very large and
# ugly once it has been replied to a couple of times.
# This can also be the filename of a ruleset.
Allow Multiple HTML Signatures = no
This should do exactly what you're looking for. If it doesn't then let
me know and I'll see what adjustments can be made.
Dave Jones wrote:
> Is there a way to make a rule conditional on a body content? Would an
> SA rule be required to get a hit on that score then take different action?
> What I am trying to do it only append the inline HTML signature only
> on the first outbound email for a particular domain. Currently the
> HTML signature is getting appended to the bottom of all outbound email
> (for my test email address) so if the email originates from the
> outside and I reply, then _my signature_ is being appended to the
> original bottom that _was not mine_.
> So I need to find a way to detect and append the inline HTML signature
> only to the first outbound email from my domain. Can this be done
> with some advanced rules based on SA scoring?
> I have searched with various keywords in the mailing list archive with
> no success.
> Dave Jones
Julian Field MEng CITP CEng
Buy the MailScanner book at www.MailScanner.info/store
MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner