[Mimedefang] Re: how to undo Verisigns mess

Michael Sims michaels at crye-leike.com
Tue Sep 16 11:30:02 EDT 2003


mimedefang-admin at lists.roaringpenguin.com wrote:
> On Tue, 16 Sep 2003, Jeremy Mates wrote:
>
>> Example Perl code can be found for Sendmail::Milter; should not be
>> too hard to port to MIMEDefang:
>
> Here's my attempt (not a port, a ground-up implementation.)
> It uses a regexp on Verisign's hostname, which should be more
> resistant to IP address changes.

Hi,

Is there any reason that you use the built in gethostby* functions instead
of Net::DNS?  I used to use gethostbyname to do some RBL checks in my
filter, but in the event of a DNS timeout my slaves would hang, since these
functions were using the system-wide default timeout.  I couldn't find a way
to set this specifically in my script, so I rewrote my filter to use
Net::DNS instead.  Do you know of a way to set a specific timeout when using
gethostby*?

___________________________________________
Michael Sims
Project Analyst - Information Technology
Crye-Leike Realtors
Office: (901)758-5648  Pager: (901)769-3722
___________________________________________




More information about the MIMEDefang mailing list