Solved

SMTP sink to act on NDR email

Posted on 2004-10-20
3
877 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now