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.
> www.simplimobile.com
>
> 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.
>
Fajar,
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: domain1.com %report-dir%/inline.sig.domain1.html
From: domain2.com %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.
Denis
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 jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list