Lloyd Zusman <[EMAIL PROTECTED]> writes: > ... and it works.
Great :) > And I found out that exit code 99 does indeed trigger an exception in > maildrop under Courier. The docs on xfilter say anything other than 0 will cause the exception. Obviously I haven't tried all possible 255 values, but both 75 and 99 worked as expected for me. Per your previous email, yes, you want to return the 99, just like with qmail. I somehow had it in my head you were running Postfix. I have no idea why. > So I give this the Lloyd Zusman Seal of Approval, pending the addition > of logging information. :) I think the same things will get logged, with the addition of a note of some kind that clues you in to the fact that, although the filter match may say 'deliver' in the Actn: line, tmda-filter really sent the message to stdout. I just have to figure out how best to do this. > Ah ... and so with this -p/--print option, I no longer need to set > DELIVERY="_qok_", like I did in my hacked-up wrapper, correct? Right. DELIVERY is automatically set to "_qok_" if you do nothing. That's true for both qmail and Courier. When the '-p' option is seen, tmda-rfilter just resets DELIVERY to "_filter_" for that message, and then does the right thing during "delivery". Tim _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
