Solved

SMTP sink to act on NDR email

Posted on 2004-10-20
3
895 Views
Last Modified: 2008-02-01
We have a genuine non-spam maillist (in Australia where spam is now thankfully illegal)
Bad email addresses and domains are crushing the smtp server
I need to unsubscribe or notify the list owners of NDR email
We send from IIS5 virtual smtp server (no exchange installed)
I need an event sink to

check 'from' field on NDR generation (on arrival? does an NDR 'arrive' in virtual smtp server from virtual smtp server)
check body for matches (user invalid, user unknown, unknown domain etc)
edit database (I can do this bit)
drop delivery if first two conditions met, otherwise deliver

I would love it to be vbscript registered into the onarrival event sink for smtp for iis without exchange.

Will this work (does the NDR get sent back again via virtual smtp server)?
Can anyone provide code for the non-database bits?
0
Comment
Question by:yusufmuraben
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Accepted Solution

by:
IvaSoft earned 500 total points
ID: 12381080
As you want to drop message delivery, you need to create a OnPostCategorize event sink. It means you can not use vbscript, only C/C++.

Regards,
Victor
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question