[Mimedefang] md_check_against_smtp_server

David F. Skoll dfs at roaringpenguin.com
Fri Oct 19 08:55:47 EDT 2007


Paul Houselander wrote:


> my $msgre = "5\.1\.1|No Such user|User unknown|unknown user account";
> my ($stat,$msg,$code) = md_check_against_server('<>',$recip,$helo,$server);

> if ( $stat == "REJECT" && $msg =~ /$msgre/i ) {
>   return("REJECT","No such user");
> }

Why are you doing the regex match?  Is that necessary?

> Any ideals on what else to check, it all looks like it should work but
> doesnt (it works fine for every other customer I have set up)

We'd probably need to see your entire filter.

Regards,

David.



More information about the MIMEDefang mailing list