{"action":"closed","issue":{"url":"https://api.github.com/repos/baudehlo/Haraka/issues/598","labels_url":"https://api.github.com/repos/baudehlo/Haraka/issues/598/labels{/name}","comments_url":"https://api.github.com/repos/baudehlo/Haraka/issues/598/comments","events_url":"https://api.github.com/repos/baudehlo/Haraka/issues/598/events","html_url":"https://github.com/baudehlo/Haraka/issues/598","id":34726762,"number":598,"title":"ENOENT on dotfile","user":{"login":"awesomepop3","id":7759900,"avatar_url":"https://avatars.githubusercontent.com/u/7759900?v=3","gravatar_id":"","url":"https://api.github.com/users/awesomepop3","html_url":"https://github.com/awesomepop3","followers_url":"https://api.github.com/users/awesomepop3/followers","following_url":"https://api.github.com/users/awesomepop3/following{/other_user}","gists_url":"https://api.github.com/users/awesomepop3/gists{/gist_id}","starred_url":"https://api.github.com/users/awesomepop3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awesomepop3/subscriptions","organizations_url":"https://api.github.com/users/awesomepop3/orgs","repos_url":"https://api.github.com/users/awesomepop3/repos","events_url":"https://api.github.com/users/awesomepop3/events{/privacy}","received_events_url":"https://api.github.com/users/awesomepop3/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2014-06-01T11:34:07Z","updated_at":"2015-09-07T15:08:59Z","closed_at":"2015-09-07T15:08:59Z","body":"I'm getting ENOENT errors when haraka tries to rename queue files with dotnames.\r\n\r\n```\r\nos: windows 8.1\r\nnodejs: 0.10.28\r\nharaka: 2.5.0\r\n\r\nfile: outbound.js\r\nfunction: process_domain\r\nline: 436\r\n```\r\n\r\nWhat i can see, is that the queue file will be removed after outbound.js#456:\r\n\r\n```\r\ntodo.message_stream.pipe(ws, { line_endings: '\\r\\n', dot_stuffing: true, ending_dot: false });\r\n```\r\nwhen i remove the dot from outbound.js#431:\r\n\r\n```\r\nvar tmp_path = path.join(queue_dir, '.' + fname);\r\n```\r\n\r\nit works fine (temp file is still there on close event and will be renamed). "}}