I think i found why my filters are working.
I have the creating the socket in the /usr/lib/courier/var/filters and not in the /usr/lib/courier/var/allfilters directory.
after many debugging statements and stops/restarts, its looking like when the system is calling run_filter from the submit subsystem, its also sending in a iswhitelisted flag. This is causing it to skip my /var/filters directory all together.
What I can't figure out is how the heck to unset the white list flag or how the heck its getting white listed. I tried to backtrace it, but it gets pretty hairy and there aren't many comments in the code to understand the logic.
Is anybody familiar with that process that would be willing to help out?
See the courierfilter man page, second to the last paragraph in the "DESCRIPTION" section.
pgp00000.pgp
Description: PGP signature
