[Mimedefang] Mimedefang is only appending my text boilerplate

Brad Tarver btarver at idlemind.net
Mon Oct 13 10:53:22 EDT 2003


Mimedefang is only appending my text only boilerplate. I have two
boilerplates, one for plain text and one for HTML.

Here's my current boilerplate stuff:
### SNIP ###
my($text_boilerplate) = "\nImportant Confidentiality And Limited Liability 
Notice\n\n" .
...
"transmitted by this email. Thank you for your cooperation.\n";

my($html_boilerplate) = "\n<DIV ALIGN=left><FONT FACE=sans-serif 
SIZE=2>Important " .
...
"this email. Thank you for your cooperation.</FONT></DIV>\n";

if (($RelayAddr == "10\.1\.1\.102") || ($RelayAddr == "10\.2\.1\.100") && 
($Sender =~ /fpwk\.com/i )) {
	append_text_boilerplate($entity, $text_boilerplate, 0);
	append_html_boilerplate($entity, $html_boilerplate, 0);
}
### SNIP ###

I have a RH9 box running as smart host for my Exchange servers (10.1.1.102
and 10.2.1.100). I'm running sendmail 8.12.10, SpamAssassin 2.60,
spamass-milter 0.2.0, MIMEDefang 2.37 and RAV 8.4.2. I'll eventually
remove spamass-milter in favor for MIMEDefang.

Any ideas on how I can be sure that my HTML boilerplate gets appended?

This doesn't work:
### SNIP ###
if (($type == "Content-Type\: plain\/text" )) {
	append_text_boilerplate($entity, $text_boilerplate, 0);
} else {
	append_html_boilerplate($entity, $html_boilerplate, 0);
}
### SNIP ###


TIA!
BT

--
Brad Tarver, CCNA
Network Administrator
Forman Perry Watkins Krutz & Tardy LLP
188 East Capitol Street
Suite 200
Jackson, MS 39201
United States
Main: 601-960-8600
Direct: 601-960-3155
Fax: 601-960-3177
Cell: 601-668-8580



More information about the MIMEDefang mailing list