I'm trying to figure out the exact algorithm for the BOFHCHECKHELO test,
when it's performed.
Here's what I think it might be, but I'm not sure:
LET remoteip = IP of connecting host
IF HELO/EHLO domain can be resolved to an IP address THEN
LET heloip = IP of HELO/EHLO domain
IF remoteip == heloip THEN
SUCCESS!
ELSE
IF HELO/EHLO domain has MX records THEN
FOREACH MX record DO
IF remoteip == MX record's IP THEN
SUCCESS!
ENDIF
DONE
ENDIF
ENDIF
ENDIF
FAIL!
Is this correct? If not, could someone tell me the exact algorithm?
Thanks in advance.
--
Lloyd Zusman 01234567 <-- The world famous Indent-o-Meter
[EMAIL PROTECTED] ^
God bless you.
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users