[Mimedefang] HELP: filter_sender() not working

Yang Xiao yxiao2004 at gmail.com
Thu Oct 28 16:28:37 EDT 2004


Hi all,
I modified the filter_sender() function showed in the man page :

#
# Filter Sender who says they are OHPP.COM
#
sub filter_sender {
        my ($sender, $ip, $hostname, $helo) = @_;
                if ($helo =~ /ohpp\.com$/i) {
                        return (REJECT, "goaway.");
        }
        return (CONTINUE,"OK");
}


This is not working, can someone please help?

Many thanks!

Yang



More information about the MIMEDefang mailing list