This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: Back to the drawing board ~Umberto Nongeroson 15.Jan.03 03:43 AM a Web browser Domino Administrator 6.0All Platforms
i've just started playing around with the api and noticed that there are some smtp extension manager functions that might be able to provide an answer if someone more adept at this sort of thing wanted to write it. i haven't looked into it very far but with the function below presumably you could add a whitelist field on the server config doc, do a check against that and then forcibly accept the message bypassing the rbl's?
Description :
EM_SMTPCONNECT is called when an inbound SMTP connection has been detected.
The Extension Manager EM_BEFORE notification type for the EM_SMTPCONNECT event occurs when an inbound SMTP connection has been detected and prior to the execution of the internal Domino SMTP restriction controls. The callback routine can implement its own anti-relay checks and/or bypass Domino related checks through the use of PossibleRelay BOOL and return status of value NOERROR. Return STATUS other than ERR_EM_CONTINUE or NOERROR sets AccessDenied flag which causes subsequent commands to be rejected.
The Extension Manager EM_AFTER notification type for the EM_SMTPCONNECT event occurs after the SMTP listener task has accepted the connection but prior to sending the SMTP greeting to the connecting host.
Parameters :
Input :
SessionID - Unique session identifier for the current process.
RemoteIP - NULL terminated string containing IP address of connecting host.
RemoteHost - NULL terminated string containing host name of connecting host if reverse DNS lookup was successful. If lookup was unsuccessful, the string length will be zero.
PossibleRelay - Indicator whether connecting host should be treated as possible relay or not.
MaxGreetingLength - Size of buffer allocated to modify Greeting.
Output :
(routine) - Return status from the call
EM_BEFORE event: NOERROR indicates to skip configured relay and RBL checks; Value other than ERR_EM_CONTINUE indicates further commands should be rejected from host.
EM_AFTER event: Value other than ERR_EM_CONTINUE is ignored.
Greeting - EM_BEFORE event: NULL; EM_AFTER event: Greeting that will be returned to the connecting host. Callback routine can modify the string.