[Mimedefang] sub filter_relay question
Thomas Jackson
jackson at salk.edu
Fri Sep 3 16:00:54 EDT 2004
I've setup filter_relay with something like whats listed below...
sub filter_relay ($$) {
my ($ip, $name) = @_;
if ($name =~ /(test\.com$)/) {
return (REJECT, "Sorry; your domain $1 is blacklisted");
}
return (CONTINUE, "ok");
}
This is pretty much a cut and paste from the man page. I've also
changed the init script...
MX_RELAY_CHECK=yes
However when I send mail from the test.com domain the mail passes
through mimedefang without being rejected.
What am I doing wrong? What else do I need to configure?
More information about the MIMEDefang
mailing list