sig - per domain

Garry garry at glendown.de
Thu Feb 18 20:05:03 GMT 2010


On 18.02.2010 12:15, Simon Jones wrote:
> has anyone configured mailscanner to send out different sigs
> (/etc/MailScanner/reports/en) for different domain names handled by
> the system?  i.e. could I use sig-1 for domain.com and use a different
> sig for anotherdomain.com?  or even switch the sigs off for particular
> domains that don't need it.
>   
Not much too it - just use a file-rule in the Mailscanner.conf:

Inline HTML Signature = %rules-dir%/sig-html.rules
Inline Text Signature = %rules-dir%/sig-txt.rules

then in the rules file do something like this:

From:   *@domain1.com                   %report-dir%/inline.sig.domain1.txt
From:   *@domain2.com                   %report-dir%/inline.sig.domain2.txt

-garry



More information about the MailScanner mailing list