{"action":"opened","issue":{"url":"https://api.github.com/repos/haraka/Haraka/issues/1250","labels_url":"https://api.github.com/repos/haraka/Haraka/issues/1250/labels{/name}","comments_url":"https://api.github.com/repos/haraka/Haraka/issues/1250/comments","events_url":"https://api.github.com/repos/haraka/Haraka/issues/1250/events","html_url":"https://github.com/haraka/Haraka/issues/1250","id":118227137,"number":1250,"title":"dkim_sign and case sensitiveness in From: Header","user":{"login":"canau","id":9632242,"avatar_url":"https://avatars.githubusercontent.com/u/9632242?v=3","gravatar_id":"","url":"https://api.github.com/users/canau","html_url":"https://github.com/canau","followers_url":"https://api.github.com/users/canau/followers","following_url":"https://api.github.com/users/canau/following{/other_user}","gists_url":"https://api.github.com/users/canau/gists{/gist_id}","starred_url":"https://api.github.com/users/canau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canau/subscriptions","organizations_url":"https://api.github.com/users/canau/orgs","repos_url":"https://api.github.com/users/canau/repos","events_url":"https://api.github.com/users/canau/events{/privacy}","received_events_url":"https://api.github.com/users/canau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-21T23:21:57Z","updated_at":"2015-11-21T23:21:57Z","closed_at":null,"body":"\r\nThe manual says to create the dir \"example.org\" to setup the dkim files for the domain.\r\nIf the user domain in the From: header doesn't match the same case of the directory name I get the error:\r\n\r\n[dkim_sign] skipped: missing dkim private key\r\n\r\nThe strace output (domain dir is \"canau.eu\"):\r\n\r\n[pid 11602] stat(\"/opt/haraka-outbound/config/dkim/Canau.EU\", 0x2563988) = -1 ENOENT (No such file or directory)\r\n[pid 11599] stat(\"/opt/haraka-outbound/config/dkim/EU\",  <unfinished ...>\r\n\r\n(follows the logic in dkim_sign.js).\r\n\r\nEven if following/forcing some RFC in case usage, I think that the user From: must be protected and dealt with -or- the manual page should reflect the case logic.\r\n\r\nThank you.\r\nCanau\r\n\r\n"}}