There should be a way in a LUA script to completely determine wether to sign or not even when SigningTable is configured.
In my setup the LUA script signs based on SASL credentials. My SASL credentials are in <account>@<domain> format.</domain></account>
My goal would be to call signfor with the SASL username instead of the sender and not sign if the session is not SASL-authenticated.
Ticket moved from /p/opendkim/bugs/186/
Diff:
This asks for new functionality, so I've moved it to the feature requests tracker.
Try the attached patch. You may have to edit out the "#ifdef" and "#endif" lines, if you want to just try it and skip the autoconf steps. Then set LuaOnlySigning to "true" in your configuration file.
Any luck with the patch?
v2.9.1 released.