i need to compare "From" domain with domains DB. there are entries in the signing.table, but the example from setup.lua.sample fails:
from = odkim.get_fromdomain(ctx)
domains = odkim.get_dbhandle(ctx, DB_DOMAINS)
if domains == nil or odkim.db_check(domains, from) == 0 then
odkim.verify(ctx)
return nil
end
domains == nil always match
is the example incomplete? unfortunately I can't find any further examples for odkim.get_dbhandle.
I also tried to find out more with milterdebug 5, but unfortunately no more outputs appear in the log.
regards
the lua script is executed as SetupPolicyScript