[Mimedefang] Problem with filter_end

Giovanni Romanenghi gromanenghi at sorint.it
Fri Dec 11 04:09:55 EST 2009


Hi all,
I configure my sun java messaging server with mimedefang to add the disclaimer to all mail. Working properly.

You can also add the disclaimer html file as an attachment?

I attach my filter:
sub filter_end {
        my($entity) = @_;

        # If we have both plain-text and HTML, nuke HTML

        my $text_footer = "------------------------\n" .
                                "Disclaimer TXT";

        my $html_footer = "------------------------<br/>" .
        "<img src=/iwc/disclaimer/MAIL_html_2fa713aa.png name=immagini2 width=27 height=28>
        Disclaimer HTML";

        ## Uncomment the following line to append the standard-disclaimer to the first plain-text part

        append_text_boilerplate($entity, $text_footer, 0);

        ## Uncomment the following line to append the standard-disclaimer to the first html-text part of the email
        ## Note: You must install HTML::Parser from CPAN before using append_html_boilerplate
        append_html_boilerplate($entity, $html_footer, 0);
}

I tried with html ( img src )  but not the image file is attached but it will be the mail client to download the image from url.

How do I proceed ?

Thanks in advance

Giovanni Romanenghi 



More information about the MIMEDefang mailing list