Issue with dkimpy and Gmail

Asked by Sukhbir Singh

Hi. We are using `dkimpy' for the GetTor service and have run into a weird issue.

The issue is that `dkimpy' returns a non-zero exit code for Gmail when called from `procmail', but when it is called from the command line, it works and returns a `signature ok'. This issue is only for Gmail; there is no problem when dealing with Yahoo! emails.

This may not be a `dkimpy' issue at all, but I just thought it would be a good idea to ask here. Do you have any idea what can be wrong?

[The reference for this is:]

Question information

English Edit question
dkimpy Edit question
No assignee Edit question
Solved by:
Sukhbir Singh
Last query:
Last reply:
Revision history for this message
Scott Kitterman (kitterman) said :

It is likely that something, procmail perhaps, is making a subtle change to the message so that it fails verification. If you can, instead of feeding the message into dkimverify, redirect it into a file and send me both the one that verified and the one that went through procmail, gzipped so they don't get further modified in transit, I'll see if I can figure it out. You should be able to see my email address when logged into Launchpad.

Revision history for this message
Sukhbir Singh (sukhbir-in) said :

Hi Scott,

Thanks for your help in diagnosing this problem.

Curious onlookers: please see Debian Bug #711751 for more information.