?
Solved

SMTP sink to act on NDR email

Posted on 2004-10-20
3
Medium Priority
?
903 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
1 Comment
 
LVL 9

Accepted Solution

by:
IvaSoft earned 2000 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

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

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

This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

862 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