On Fri, 2009-05-15 at 16:29 +0200, Jakob Schlyter wrote: > hi, > > is there any way to block a list of From: from using the > incomingproxy? I have a list of regexp:s that are never allowed to > contact our proxy (i.e. appear in From:).
Yes, by implementing whatever access control you want in the hook local:new_request/3. Probably something along the lines of new_request(AppModule, Request, YxaCtx) -> case is_bad(Request) of true -> transactionlayer:send_response_handler (YxaCtx#yxa_ctx.thandler, 403, "Forbidden"); ignore; false -> undefined end. (untested) /Fredrik _______________________________________________ Yxa-devel mailing list Yxafirstname.lastname@example.org https://lists.su.se/mailman/listinfo/yxa-devel