How do I add different Footer per domain?

Denis Beauchemin Denis.Beauchemin at USHERBROOKE.CA
Mon Dec 19 18:54:24 GMT 2005

    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Fajar wrote:

> Hello All,
> All my incoming and outgoing emails add this footer :
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> My mail server host multiple domains, how do I make MailScanner add 
> different domain address based on sender or reception domain that mail 
> server host.

I believe you have to create different signature files and use them 
through a ruleset in:
# Set where to find the HTML and text versions that will be added to the
# end of all clean messages, if "Sign Clean Messages" is set.
# These can also be the filenames of rulesets.
Inline HTML Signature = %report-dir%/inline.sig.html
Inline Text Signature = %report-dir%/inline.sig.txt

For example, define:
Inline HTML Signature = %rules-dir%/signature.html.rules
Inline Text Signature = %rules-dir%/signature.txt.rules

and in rules/signature.html.rules:
From:   %report-dir%/inline.sig.domain1.html
From:   %report-dir%/inline.sig.domain2.html
FromOrTo:   default   %report-dir%/inline.sig.html

You do the same for %rules-dir%/signature.txt.rules and create all sig 
files and should be just fine.

PS: don't forget to restart/reload MailScanner...

  °v°   Denis Beauchemin, analyste
 /(_)\  Université de Sherbrooke, S.T.I.
  ^ ^   T: 819.821.8000x2252 F: 819.821.8045

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list