Link to home
Start Free TrialLog in
Avatar of glebn
glebn

asked on

Automatically Delete Dead Messages

How do I set Domino to automatically delete dead messages caused by the return address being invalid--hence no NDR can be sent? A typical situation is a spam/worm generated email to some generic name like john@domain.com and Domino accepts the mail because there is a John in the address book, but doesn't deliver because the name is not unique. Domino then tries to send an NDR to the sender's return address which of course fails. With most other email servers I've used this was just a configuration option (i.e. "Delete undeliverable mail with a bad return address"), but I can't find any such setting in Domino.

Note that I would accept an answer that explains how to automatically delete ALL dead messages regardless of reason.
SOLUTION
Avatar of Bozzie4
Bozzie4
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of glebn
glebn

ASKER

Thanks, Bozzie4 was correct but the code from madheeswar will save me a lot of time!