Chris,

Thursday, November 21, 2002 you wrote:
CH> That is it but what can you use to open this binary file? Any
CH> programmer out there want to make a Imail tool that will do a
CH> reverse DNS check on the IPs in the control access list?

I did a lot of work on this early on this year and there was extensive
discussion so you may want to search the archives.

In current versions of IMAIL you can manipulate this file from the
IMAIL Monitor Web Interface (normally port 8181).  However, it does
not do a reverse dns lookup.

I wrote my own programs for manipulating this file. Here is the file
layout I used. There is no documentation from IMAIL and obviously it
might change at any time. However, my programs are working using this
format with no IMAIL problems so far.

  byte: 000 - 00B  unknown
  byte: 00C        on/off indicator deny or permit
  byte: 00D - 00F  unknown
  byte: 010 - 013  length of combined arrays (big endian)
  byte: 014        begin array:
                   xx xx xx xx mm mm mm mm
                   where xx is 4 bytes for IP addreess
                         mm is 4 bytes for mask

                         you double this to get the
                         counter in 010-013

                   array ends with "0 0 0 0 FF FF FF FF"
                   and deleted entries may appear after this
                   marker

                   There may be an end marker, too.

                   markers are included in the array lengths.

Inserts should occur at the first marker.

The array is read into memory by IMAIL so changes have to be followed
by an SMTP toggle.

HTH -

Terry Fritts


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to