Re: Badly formed return address causes TMDA exception

"Todd A. Jacobs" <[email protected]> Fri, 8 May 2009 17:08:34 -0700
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
On Sat, May 02, 2009 at 02:05:21PM -0400, Lloyd Zusman wrote:

> Ideally, I'd like to catch the exception in the appropriate place
> within the TMDA code, because there are a number of ways to send bogus
> return addresses, and I don't want to try to come up with a pattern
> that matches every possible form of a bad address.

I responded to your coding question in tmda-workers, but I think there's
another solution that you might look at: getting your MTA to reject or
rewrite invalid addresses. Postfix can do this, I think; see
trivial-rewrite(8) and cleanup(8) for the specifics.

There may be other ways to handle this, too, but I think that stopping
such mail at the MTA definitely makes sense. Why accept the DATA segment
at all when the MAIL segment is obviously fraudulent?

-- 
"Oh, look: rocks!"
	-- Doctor Who, "Destiny of the Daleks"


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
tmda-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmda-users