S
Sterling Anderson
I have a customer who has a virus/spam application that registers a couple
event sinks with SMTP to check for virus infected or spam email. Right now
all the email that meets the "bad" criteria gets relayed to a catchall mail
account. Any email that passes the tests gets relayed to the real SMTP
server. The problem is, the "bad" email includes email to nonexistant
accounts at the company.
What I am in need of is an event sink that does a directory lookup with each
email and if the user is not in the domain or active directory user list
then the mail should be sent back to the sender with the standard "relaying
not allowed" error.
Can anyone help me out with this? I think I understand the whole event sink
idea but I cannot find resources on doing the user lookup.
Thanks in advnace.
event sinks with SMTP to check for virus infected or spam email. Right now
all the email that meets the "bad" criteria gets relayed to a catchall mail
account. Any email that passes the tests gets relayed to the real SMTP
server. The problem is, the "bad" email includes email to nonexistant
accounts at the company.
What I am in need of is an event sink that does a directory lookup with each
email and if the user is not in the domain or active directory user list
then the mail should be sent back to the sender with the standard "relaying
not allowed" error.
Can anyone help me out with this? I think I understand the whole event sink
idea but I cannot find resources on doing the user lookup.
Thanks in advnace.