[Mimedefang] Mimedefang Adding Footer

Terry Rogers terry.rogers at williams.uk.com
Fri Nov 3 06:21:12 EST 2006


I currently have the following setup in my mimedefang-filter file in
/etc/mail ...

 # Add footer to outgoing emails
    if ($Sender =~ /mydomain4.com/) {
        $text_footer = " ";
        $html_footer = " ";
    }

    if ($Sender =~ /mydomain3.com/) {
        $text_footer = " ";
        $html_footer = " ";
    }

    if ($Sender =~ /mydomain2.com/) {
        $text_footer = " ";
        $html_footer = " ";
    }

    if ($Sender =~ /mydomain.com/) {
        $text_footer = ".";
        $html_footer = "<b>.</b>";
    }

    append_text_boilerplate($entity,$text_footer,0);
    append_html_boilerplate($entity,$html_footer,0);

I need this to be modified so that any mail going from @mydomain.com to
@mydomain2.com, @mydomain3.com, @mydomain4.com or @mydomain.com does not
have the filter added. This also needs to be the case for @mydomain2.com,
@mydomain3.com and @mydomain4.com.

I also need to specify some email address's that wont have a footer added,
namely any outgoing mail from bob at mydomain.com will not have a footer added.

This is urgent and requires implementing ASAP.

Any help much appreciated.

Terry Rogers



.



More information about the MIMEDefang mailing list