Issue with dkimpy and Gmail

Asked by Sukhbir Singh on 2013-05-31

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: https://trac.torproject.org/projects/tor/ticket/8888#comment:6]

Question information

Language:
English Edit question
Status:
Solved
For:
dkimpy Edit question
Assignee:
No assignee Edit question
Solved by:
Sukhbir Singh
Solved:
2013-06-10
Last query:
2013-06-10
Last reply:
2013-05-31
Scott Kitterman (kitterman) said : #1

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.

Sukhbir Singh (sukhbir-in) said : #2

Hi Scott,

Thanks for your help in diagnosing this problem.

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