On Mon, Jul 21, 2003 at 08:05:01AM -0400, Chris Barnhart wrote:
> I was reading TMDA filter specification and got to thinking - would it 
> possible to configure TMDA so that confirmations are only sent to mail 
> coming form a SMTP server listed in a DNS blacklists (such as 
> osirusoft.com)?

There is the 'pipe' filter rule that can be used with another program or
script.   There is an example in the filter specification that checks 
Vipul's Razor:

  pipe /usr/bin/razor-check drop

You could write a script to perform your blacklist checks, and return zero
if a match is found.  From http://tmda.net/filter-sources.html :

  pipe <command_string> 
      The pipe source expects a shell command string to which the full 
      contents of the incoming message will be piped to. A match is 
      found if command_string returns a zero exit status. Any non-zero 
      exit status is interpreted as a non-match. If command_string 
      contains whitespace, it should be quoted

Good luck,

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to