Conditional rule based on content information

Julian Field MailScanner at ecs.soton.ac.uk
Thu May 8 10:26:34 IST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Dave Jones wrote:
> >It's in the latest releases. Here's the relevant chunk from
> >MailScanner.conf:
>
> ># 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.
> You added this feature for me and it is working great.  We are only 
> getting one signature.  If we send the first email out, then 
> everything looks great -- our logo/slogan is appended to the bottom of 
> our email.  The situation I am trying to prevent is when the first 
> email is sent inbound and we reply/forward causing our logo/slogan to 
> be added to the bottom of the original external person's email.  It 
> makes things appear that xyz.com <http://xyz.com> (external company) 
> has our abc.com <http://abc.com> logo/slogan.
>
> All I need now it to be able to detect an original email based on 
> something in the headers or body so I can make the signature rule 
> conditional on this.
I've done this for you. You give it a list of header names. If it finds 
any of them in the headers of the message, it decides it's actually a 
reply and won't attach the HTML signature to it. Is that okay?
>
> >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
>
> >Jules
>
> -- 
> Dave Jones 

Jules

- -- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.8.2 (Build 3005)
Comment: Use Enigmail to decrypt or check this message is legitimate
Charset: ISO-8859-1

wj8DBQFIIsdLEfZZRxQVtlQRAuYTAKD8McOaXald/DIz55Zu4N/jQ9QsTwCffdKs
r1bbaJXusO4sFn7TfEh40pA=
=E4vm
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list