[Mimedefang] Filter Blocking Legitimate Mail

Jeff Grossman jeff at stikman.com
Mon Nov 25 11:51:01 EST 2002


I have the following rule set up in my mimedefang-filter file:

    $head = $entity->head;
    $charset = $head->mime_attr("content-type.charset");
    if (defined($charset)) {
        $charset =~ tr/A-Z/a-z/;
        if ($charset eq "ks_c_5601-1987" or
            $charset eq "euc-kr" or
            $charset eq "iso-2022-kr" or
            $charset eq "big5" or
            $charset eq "gb2312" or
            $charset eq "gb2312_charset") {
        action_notify_administrator("Foreign spam message rejected.\nFrom:
$Send
er.\nTo: @Recipients.\nSubject: $Subject");
        return action_bounce("Foreign spam not accepted. Please contact
Postmast
er for details.");
        }
    }


But, it is blocking a couple of mailing lists that I am subscribed to.  How
can I check the incoming server and whitelist some of them?

Thanks,
Jeff
-- 
Jeff Grossman (jeff at stikman.com)




More information about the MIMEDefang mailing list