Skip to main content
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:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  


RE: Back to the drawing board
~Umberto Nongeroson 15.Jan.03 03:43 AM a Web browser
Domino Administrator 6.0 All 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.





RBL usage: Please share your experi... (~Isaac Optoober... 7.Jan.03)
. . RE: RBL usage: Please share your ex... (~Sven Cistumiko... 8.Jan.03)
. . RE: RBL usage: Please share your ex... (~Lily Elgerotex... 8.Jan.03)
. . RBL usage: No experience yet, but w... (~Rebecca Cisfre... 18.Jan.03)
. . . . RE: RBL usage: No experience yet, b... (~Rebecca Dwovel... 8.Feb.03)
. . . . Been here? (WAS: RBL usage: No expe... (~Delores Dwonic... 18.Jan.03)
. . . . RE: RBL usage: No experience yet, b... (~Kelly Zekwebur... 20.Jan.03)
. . . . . . RBL usage: This is what I've seen s... (~Isaac Optoober... 20.Jan.03)
. . . . . . . . a partial workaround via the api (~Hal Prekroster... 22.Jan.03)
. . . . . . . . . . This will be great! (~Isaac Optoober... 23.Jan.03)
. . . . . . . . . . Nice job :-) (~Karl Eknuplopo... 22.Jan.03)
. . . . . . . . . . source code for intercept 1.4 (~Hal Prekroster... 22.Jan.03)
. . RE: RBL usage: Please share your ex... (~Dana Kiveluste... 27.Jan.03)
. . RBL usage: some shared experience (... (~Kelly Zekwebur... 8.Jan.03)
. . . . RE: RBL usage: some shared experien... (~Isaac Optoober... 8.Jan.03)
. . . . . . * ignore (~Tanita Eknizen... 8.Jan.03)
. . . . Yes you can "Whitelist" (~Yoshi Lopkiche... 8.Jan.03)
. . . . . . Forgive my frustation, but... (~Kelly Zekwebur... 8.Jan.03)
. . . . . . . . RE: Forgive my frustation, but... (~Yoshi Lopkiche... 8.Jan.03)
. . . . . . . . . . Interesting thought - I may just tr... (~Kelly Zekwebur... 9.Jan.03)
. . . . . . . . . . . . Back to the drawing board (~Kelly Zekwebur... 9.Jan.03)
. . . . . . . . . . . . . . RE: Back to the drawing board (~Naomi Deskrote... 9.Jan.03)
. . . . . . . . . . . . . . . . Thanks for your kind words (~Karl Eknuplopo... 10.Jan.03)
. . . . . . . . . . . . . . RE: Back to the drawing board (~Hal Prekroster... 15.Jan.03)
. . . . RE: RBL usage: some shared experien... (~Tanita Eknizen... 8.Jan.03)
. . . . . . Go ahead (~Karl Eknuplopo... 9.Jan.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS