[Mimedefang] Boilerplate Vanished
David F. Skoll
dfs at roaringpenguin.com
Thu Oct 3 10:21:01 EDT 2002
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.
More information about the MIMEDefang
mailing list