Menu

#177 LUA script hould be able to prevent signing even when SigningTable is configured

2.0.0
closed
None
5
2014-03-16
2013-12-27
No

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.

Discussion

  • Murray S. Kucherawy

    Ticket moved from /p/opendkim/bugs/186/

     
  • Murray S. Kucherawy

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     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.
    
    • assigned_to: Murray S. Kucherawy
    • Group: 2.9.0 --> 2.0.0
     
  • Murray S. Kucherawy

    This asks for new functionality, so I've moved it to the feature requests tracker.

     
  • Murray S. Kucherawy

    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.

     
  • Murray S. Kucherawy

    Any luck with the patch?

     
  • Murray S. Kucherawy

    v2.9.1 released.

     
  • Murray S. Kucherawy

    • status: open --> closed
     

Log in to post a comment.

Auth0 Logo