[Mimedefang] HELP: filter_sender() not working

Keith Patton kpatton at dallas.photronics.com
Thu Oct 28 17:02:42 EDT 2004


Did you  turn on sender checking?


MX_SENDER_CHECK=yes

or on the command line?

-Keith


Yang Xiao wrote:

>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
>_______________________________________________
>Visit http://www.mimedefang.org and http://www.canit.ca
>MIMEDefang mailing list
>MIMEDefang at lists.roaringpenguin.com
>http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
>  
>





More information about the MIMEDefang mailing list