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.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to