Conditional rule based on content information

Julian Field MailScanner at
Thu May 8 15:05:37 IST 2008

Hash: SHA1

Dave Jones wrote:
> >> 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?
> That sounds perfect.  I should be able to find some unique header 
> names to key on.
> (Sorry I sent the last email before seeing this reply from you.)
> This might be a useful feature for other circumstances if admins had a 
> variable like _ISORIGINAL_ to use in rules if there is a reliable way 
> to detect the first email in a series so you could add or remove 
> processing on first emails.
Give 4.70.1-1 a try and let me know what you think.


- -- 
Julian Field MEng CITP CEng
Buy the MailScanner book at

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

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


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