[Mimedefang] Problems with append_boilerplate()
Richardson M.
M.Richardson at tk.parlement.nl
Mon Jan 6 10:06:01 EST 2003
Thanks this was indeed the problem !!
Sorry for not reading the updated documentation as it clearly describes what
to do...
The server i am configuring is a gateway for exchange so i would like to add
the boilerplate only to outgoing mails. Is it safe to use this?:
if ( ($RelayAddr =~ "^192\.168\.10") && ($Sender =~
/your\.domain\.com/i )) {
# Do boilerplate
append_text_boilerplate($entity,$boilerplate, "0")
I found this in the mailinglist archive but i am not sure if it will work
for me...
Does $RelayAddr resemble the originating mailserver or should i use another
in the if{} statement ?
Thank you for your time!
Mark Richardson.
David F. Skoll wrote:
On Mon, 6 Jan 2003, Mark Richardson wrote:
I also tried append_text_boilerplate and append_html_boilerplate, i
was also wondering how to append to both HTML and text messages but
one of the two would be a nice start !!
Call both of them. append_text_boilerplate only appends to plain-text
parts, and append_html_boilerplate only appends to HTML parts.
--
David.
_______________________________________________
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
More information about the MIMEDefang
mailing list