[Mimedefang] Re : HTML Boilerplates Disclaimers and image files e.g. jpeg/tiff
Gibson Moses
gibson at omniholdings.co.za
Wed Feb 4 09:36:13 EST 2009
Dear All,
I am trying to implement html boilerplate disclaimers using mimedefang
but for some reason I can’t seem to get it working.
First question: Is it possible to do this with mimedefang.
Second Question : If so could some body show me how the configured
mimedefang-filter to implement this.
My current setup is as follows:
I have centos 5.1 installed and I have installed mimedefang +scalix
+clamav and I can send plain html boiler plates with no problems. However
When I try to customize for image files mimedefang fails to start up.
In mimedefang-filter file I have the following entries:
sub filter_end {
my($entity) = @_;
#my($text_boilerplate) = "All information contained in this email is
confidential and may be used by the intended recipient only.";
my($html_boilerplate) = "<BR>All information contained in this email is
confidential and may be used by the intended recipient only.\n
<img src="/var/html/www/logo/Opener_318x204.jpg"</BR>";
if ($RelayAddr =~ "^192\.168\.150" or $RelayAddr eq "127.0.0.1") {
append_text_boilerplate($entity, $text_boilerplate, 0);
append_html_boilerplate($entity, $html_boilerplate, 0);
}
Is this how I should insert images or not? I had looked at from the HTML
images insertion but this does not seem to work for me in this case.
Any help or pointers will be greatly appreciated.
Thanks and regards,
Gibson
More information about the MIMEDefang
mailing list