mutiple Signature Image Filenames
Markus Nilsson
markus at markusoft.se
Fri Mar 11 07:41:15 GMT 2011
Hi Scott
I would guess your problem is using a rule file called .conf and not .rules
%rules-dir%/inline-html.conf
should be
%rules-dir%/inline-html.rules
/M
----- Original Message -----
From: "Scott B. Anderson" <sbanderson at impromed.com>
To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
Sent: torsdag, 10 mar 2011 20:42:58
Subject: RE: mutiple Signature Image Filenames
Actually, I'm running into a different issue now.
When I changed:
Inline HTML Signature = %report-dir%/inline.sig.html
to
Inline HTML Signature = %rules-dir%/inline-html.conf
And set %rules-dir%/inline-html.conf
to
From: *@domain1.com %report-dir%/domain1-inline.sig.html
From: *@domain2.com %report-dir%/domain2-inline.sig.html
I got the following on the outbound email:
From: *@domain1.com /etc/MailScanner/reports/en/domain1-inline.sig.html From: *@domain2.com /etc/MailScanner/reports/en/domain2-inline.sig.html
So it didn't expand that part at all. Domain2-inline.sig.html is a copy of domain1, and since Signature Image Filename doesn't appear to support rulesets, I overloaded it in MailScanner.conf - eg
Signature Image Filename = %report-dir%/domain1.gif %report-dir%/domain2.gif
and
Signature Image <img> Filename = domain1.gif domain2.gif
So I'm now back to my original configuration where I'm just using a ruleset on scan clean messages by domain and that is working fine for one image, one or more domains.
Scott
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Martin Hepworth
Sent: Thursday, March 10, 2011 1:12 PM
To: MailScanner discussion
Subject: Re: mutiple Signature Image Filenames
Have a look for overloading in the wiki, and see if this works for this feature
Martin
On Thursday, 10 March 2011, Scott B. Anderson <sbanderson at impromed.com> wrote:
> I've been using inline signatures, both html and txt for a long time, based on ruleset by domain (multiple inline signatures) but until now have not been asked to use a picture in the signature. I realize I could use an a href in the html signature -- but want to avoid doing that for reasons that should be obvious to all of us here. I started by using the Signature Image Filename, and that works great as long as only one of the domans are assigned an image, or all domains use the same image. Is there a way to specify multiple Signature Image Filenames? I'm using 4.81.4 at the moment, but could upgrade if necessary. If I missed this when RTFM'ing I'm sorry in advance.
>
> Scott Anderson
> sbanderson at impromed.com
>
>
>
> --
> ImproMed, LLC.
> --
>
> --
> 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!
>
--
--
Martin Hepworth
Oxford, UK
--
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!
--
ImproMed, LLC.
--
--
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!
--
CronLab scanned this message. We don't think it was spam. If it was,
please report by copying this link into your browser: http://gothenburg.cronlab.com/mail/index.php?id=15E82ADE034.9FB67-&learn=spam&host=212.91.140.36
--
This message has been scanned for viruses and dangerous content by CronLab
(www.cronlab.com), and is believed to be clean.
More information about the MailScanner
mailing list