As per my earlier email, I've finally got something spamgourmet-like working in
Exim which works adequately for me.
It's a redirection router with an Exim filter script and a SQLite database. It
was much harder to implement than I anticipated because of the limitations
imposed by Exim. I didn't want to "overcomplicate" it by shelling out or write
C extensions and then not be able to use the SQLite lookup easily and/or without
loading some library. The problem is: no variables to speak of! I abused regex
captures instead, and I am not proud of this, but by this point I'd made a
number of failed attempts (system filters, ACLs, etc.) and it was getting a bit
personal.
Details here, if anyone else cares to try it. I am not an Exim expert, so
feedback and constructive comments are very welcome. There could well be a
better way to do it.
https://github.com/wu-lee/exim-disposable-aliases
Cheers,
N