The filter works fine (the routines I have put in the file /etc/system_filter work), though in the logs I find messages saying that there is no transport.
Note that I've put the transport_filter in the director section because the driver forwardfile is not accepted in the transport section.