[Mimedefang] OT: Validing email address in Exchange

Ray Parish rparish at digitalwebzone.com
Mon Nov 24 19:39:44 EST 2003

These are all great perl examples, but wouldn't it be more beneficial to
have sendmail do the ldap queries as oppossed to haveing the queries done in

----- Original Message ----- 
From: "David F. Skoll" <dfs at roaringpenguin.com>
To: <mimedefang at lists.roaringpenguin.com>
Sent: Monday, November 24, 2003 7:03 PM
Subject: Re: [Mimedefang] OT: Validing email address in Exchange

> On Mon, 24 Nov 2003, Graham Dunn wrote:
> > Here's a perl script that works in the shell, but I don't have the
> > time right now to integrate it into being run from mimedefang. If
> > anyone wants to help out by adjusting the "die" messages ( I vaguely
> > remember David saying something about how they were a no-no in
> > slaves), or telling me where my perl is brutally inefficient, please
> > do.
> To integrate into MIMEDefang, wrap it into a function you can call
> from filter_recipient, and replace the die() calls to:
> return ('TEMPFAIL', "Description of LDAP problem");
> Example:
> return ('TEMPFAIL', "Unable to bind to LDAP server: $!");
> (I'm not sure if "$!" is what's needed; maybe some kind of
> $ldap_result->error() thing instead.)
> Regards,
> David.
> _______________________________________________
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

More information about the MIMEDefang mailing list