How to authenticate using an external database
Hi,
I'm trying to place the Windows Server 2003 SMTP Service infront of our mail
server, I have done an event sink to check all incoming RCPT TO commands and
deny those that are not registered in our database, it is working perfectly,
but I need to be able to allow our customers to login using AUTH LOGIN before
being able to send outbound emails, currently this is done through the email
server, but I want to keep the email server completely behind the SMTP
service and need to authorize their credentials using our external database,
not the NT user database, I have tried catching the AUTH OnInboundCommand,
like what I have done with the RCPT command, but the problem is that the
event is fired before getting the user name and password.
Is there another event other than the AUTH command that I should register
for? Or there is a way to ask for the user name and password using my code?
Thanks and kind regards,
Zaher.
date: Sun, 12 Mar 2006 09:53:26 -0800
author: Zaher Al-Sibai Zaher