reply to sonofjay
Here's an idea Close down open mail relays.
Thats a simple job. Just make the people with the open mail relay's responsible for anything which comes out of their relay, and I guarantee it will close. And if they dont take responsibility, close them to your network.
Is there a way I can set my main program to reject mail from a specific relay with a reply letter?
rchandraStargate Universe fanPremium
Maybe. That all depends on what you're talking about when you say "my main program."
The task you're talking about is exceptionally easy (comparatively) with Sendmail::Milter and Sendmail for instance, if you know Perl.
English is a difficult enough language to interpret correctly when its rules are followed, let alone when a writer doesn't follow those rules.