[Mimedefang] Help With Filter

David F. Skoll dfs at roaringpenguin.com
Fri Nov 28 15:46:35 EST 2003


On Fri, 28 Nov 2003, Mark Penkower wrote:

> I want to use Mimedefang for one thing only.  To add a text disclaimer to
> all messages that are going out of Our MTA.  I don't need to do any virus
> or spam checking.

> Are there any example `/etc/mail/mimedefang-filter' files that have exactly
> what I need.

The following filter will do it.  (Yes, this is the whole file; you
don't need anything else.)

sub filter_end {
   my($e) = @_;
   append_text_boilerplate($e, "Lame plain-text boilerplate", 0);
   append_html_boilerplate($e, "Lame <em>HTML</em> boilerplate", 0);
}

1;

Regards,

David.



More information about the MIMEDefang mailing list