Sign clean messages rule

Martin.Hepworth martinh at solidstatelogic.com
Thu Jul 12 14:04:58 IST 2007


Steve

From the EXAMPLES file in the etc/rules dir..

4. Use different signatures for different domains

   Set "Inline Text Signature =
/opt/MailScanner/etc/rules/sig.text.rules" &
   set "Inline HTML Signature =
/opt/MailScanner/etc/rules/sig.html.rules".
   Use rules for each file that look like this:
   From:        *@domain1.com
/opt/MailScanner/etc/reports/domain1.sig.txt
   From:        *@domain2.com
/opt/MailScanner/etc/reports/domain2.sig.txt
   with equivalent rules in the "sig.html.rules" file.



--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of Steven Andrews
> Sent: 12 July 2007 13:54
> To: MailScanner discussion
> Subject: Sign clean messages rule
>
> I'm using the Sign Clean Messages as a bit of a hack to add a standard
> legal disclaimer to all messages leaving the system.
>
> Well, wouldn't you know it, they've decided to throw another domain at
> this box and now I've got to give it a different disclaimer for that
> domain.
>
> I think I'm on the right path that I need to make a rule here....
> Inline HTML Signature = %report-dir%/inline.sig.html
> Inline Text Signature = %report-dir%/inline.sig.txt
>
> How do I write that rule so that domain1.com gets inline.sig1.html and
> domain2.com gets inline.sig2.html?
>
> Thanks!
>
> Steve
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!




**********************************************************************
Confidentiality : This e-mail and any attachments are intended for the 
addressee only and may be confidential. If they come to you in error 
you must take no action based on them, nor must you copy or show them 
to anyone. Please advise the sender by replying to this e-mail 
immediately and then delete the original from your computer.
Opinion : Any opinions expressed in this e-mail are entirely those of 
the author and unless specifically stated to the contrary, are not 
necessarily those of the author's employer.
Security Warning : Internet e-mail is not necessarily a secure 
communications medium and can be subject to data corruption. We advise 
that you consider this fact when e-mailing us. 
Viruses : We have taken steps to ensure that this e-mail and any 
attachments are free from known viruses but in keeping with good 
computing practice, you should ensure that they are virus free.

Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales 
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU, 
United Kingdom
**********************************************************************



More information about the MailScanner mailing list