[Mimedefang] Starting all over to kill invalid users

David F. Skoll dfs at roaringpenguin.com
Fri Jul 7 11:57:44 EDT 2006


Steve Campbell wrote:

> Anyway, based on my previous example of how I am using this subroutine,
> what should I put into my $relay variable to make it use the address?

Whatever you want!

If you want md_check_against_smtp_server to check against
"foobar.cnpapers.com", do this:

sub filter_recipient {
    my($recip, $sender, $hostip, $hostname, $rest_of_the_junk) = @_;
    return md_check_against_smtp_server($sender, $recip, 'my.host.name',
				        'foobar.cnpapers.com');
}

--
David.



More information about the MIMEDefang mailing list