http://qs321.pair.com?node_id=797774


in reply to Re^3: Help with IO::Scalar and piping
in thread Help with IO::Scalar and piping

I am no longer getting an error, but the $result printed in the $body is always "none" regardless of whether the message is signed or not, and the foreach loop never adds anything to the $body at all, which leads me to believe that the data (message) is still not being loaded into the parser correctly. Thanks.

Replies are listed 'Best First'.
Re^5: Help with IO::Scalar and piping
by Corion (Patriarch) on Sep 27, 2009 at 15:13 UTC

    Your code is littered with parts not relevant to the problem. Please reduce it by removing all parts of your program that do not relate to Mail::DKIM and getting a result from it. Also, I would assume that the result of the DKIM verifier depends on the input message, which you haven't supplied. Note that Mail::DKIM::Verifier seems to want SMTP-style line endings (\r\n), which your raw reading of a file might or might not produce.

    A reply falls below the community's threshold of quality. You may see it by logging in.