lua trouble

From: Todd Lyons <>
Date: Wed, 10 Oct 2012 18:28:37 -0700

In the following code fragment of the setup script, I have:

        for n = 1, nrcpts do
            envrcpt = odkim.get_rcpt(ctx, n-1)
            odkim.log(ctx, "DMARC considering email from "..envrcpt)

I get this error for every email:

Oct 10 17:14:24 lunar opendkim[22755]: q9B0ECGe022798:
dkimf_lua_setup_hook() failed: [string
"/usr/local/etc/dkim/setup.lua"]:33: attempt to concatenate global
'envrcpt' (a nil value)

I even tried changing the index to n instead of n-1.

Is there anything obvious that I am doing wrong aside from not
checking the return value? It should be a string of the envelope

The total budget at all receivers for solving senders' problems is $0.
 If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine
Received on Thu Oct 11 2012 - 01:28:56 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:20:44 PST