[Mimedefang] md_check_against_smtp_server and down server?

Gary McLean Gary.McLean at instinet.co.uk
Thu Jul 6 13:22:04 EDT 2006


How do you do the access db via ldap? I want to do this for our lotus domino infrastructure. 

Thanks
Gary
--------------------------
Sent from my BlackBerry Wireless Handheld



----- Original Message -----
From: mimedefang-bounces
Sent: 07/06/2006 06:08 PM
To: <mimedefang at lists.roaringpenguin.com>
Subject: Re: [Mimedefang] md_check_against_smtp_server and down server?

As with most things MIMEDefang related, the control is yours because MD is 
just a great framework for solving poroblems.

If the other server is down, your $answer is going to be a TEMPFAIL.

If you have a TEMPFAIL and you want to queue it up on the server, change the 
answer to CONTINUE like so:

 if ($recip =~ /\@anotherdomain.com>?$/i) {
    ($answer, $explanation) =  md_check_against_smtp_server($sender, $recip, 
"helo string", "the other server");
    if ($answer eq 'TEMPFAIL') {
      $answer = 'CONTINUE';
    }
    return ($answer, $explanation);
  }

However, if you are using exchange, I really do recomment the access db file 
via LDAP.  It works very well and with much lower resource usage.

Regards,
KAM

> Just a quick question, a quick search didnt render any hits.
>
> In the situation as described on:
> http://www.mimedefang.org/kwiki/index.cgi?RelayCheckAddresses
>
> What happens during this check if the remote smtp server is down?
>
> Would it tempfail the message or outright bounce?
>
> If it  tempfails, its an easy solution to a previously complicated ldap
> export and reformat.
>
> Im trying to determine if I should query our internal mail server for
> actual valid addresses live if this can tempfail, or just use a file
> based db and export out the address via ldap.

_______________________________________________
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 MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang




More information about the MIMEDefang mailing list