[Mimedefang] Boilerplate Vanished
Richard Cooper
ric at digital-animations.com
Thu Oct 3 10:58:01 EDT 2002
Thanks for the reply - and the same goes to Barry for his mail. This is
exactly what I was looking for, especially the bit about HTML::Parser as
I did realise there was a problem with append_boilerplate and HTML but I
just figured I would live with it (HTML mail is not top of _my_ agenda
but working for a technology _and_ design company means that common
sense only goes so far).
Cheers
Ric
> -----Original Message-----
> From: mimedefang-admin at lists.roaringpenguin.com
> [mailto:mimedefang-admin at lists.roaringpenguin.com]On Behalf
> Of David F.
> Skoll
> Sent: 03 October 2002 15:20
> To: mimedefang at lists.roaringpenguin.com
> Subject: RE: [Mimedefang] Boilerplate Vanished
>
>
> On Thu, 3 Oct 2002, Richard Cooper wrote:
>
> > The machine mimedefang runs on is a
> > simple mail relay (it relays to and from an Exchange Server sitting
> > the other side of a Firewall). It seems the best way to
> check for mail
> > going out from our domain would be to check the envelope
> 'from' header
>
> No, actually; the most reliable way is to check the IP address of the
> relay. If outgoing mail *always* comes from the Exchange server, then
> it's a piece of cake:
>
> if ($RelayAddr eq "ip.of.exchange.box") {
> append_boilerplate(....)
> }
>
> Just a note: The append_boilerplate function is deprecated because it
> can misbehave on HTML mail. You should really install the
> HTML::Parser
> Perl module (and its dependencies) and use append_text_boilerplate and
> append_html_boilerplate (see the mimedefang-filter man page.)
>
> Regards,
>
> David.
>
> _______________________________________________
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
>
>
More information about the MIMEDefang
mailing list