{"action":"created","issue":{"url":"https://api.github.com/repos/Flolagale/mailin/issues/47","labels_url":"https://api.github.com/repos/Flolagale/mailin/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/Flolagale/mailin/issues/47/comments","events_url":"https://api.github.com/repos/Flolagale/mailin/issues/47/events","html_url":"https://github.com/Flolagale/mailin/issues/47","id":98530462,"number":47,"title":"Cannot receive email from gmail","user":{"login":"aashidham","id":782153,"avatar_url":"https://avatars.githubusercontent.com/u/782153?v=3","gravatar_id":"","url":"https://api.github.com/users/aashidham","html_url":"https://github.com/aashidham","followers_url":"https://api.github.com/users/aashidham/followers","following_url":"https://api.github.com/users/aashidham/following{/other_user}","gists_url":"https://api.github.com/users/aashidham/gists{/gist_id}","starred_url":"https://api.github.com/users/aashidham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aashidham/subscriptions","organizations_url":"https://api.github.com/users/aashidham/orgs","repos_url":"https://api.github.com/users/aashidham/repos","events_url":"https://api.github.com/users/aashidham/events{/privacy}","received_events_url":"https://api.github.com/users/aashidham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-01T11:19:39Z","updated_at":"2015-09-03T14:33:30Z","closed_at":null,"body":"I can telnet to my server and successfully communicate with my mailin instance. I can also see console printouts from these communications on the server side. However, when I send an email from gmail or some other professional client, the mailin server is silent. It doesn't report errors or success. (I have tried multiple log levels, but to no avail.) I know this is not a problem with my server, since I created a simple SMTP server in Python and gmail can send messages to it. The only problem is likely some setup problem with mailin. Has anybody else encountered this problem? \r\n\r\nI am using the no-webhook option, and embedding mailin in a node application, as set up in the bottom part of the README. Thanks in advance."},"comment":{"url":"https://api.github.com/repos/Flolagale/mailin/issues/comments/137467479","html_url":"https://github.com/Flolagale/mailin/issues/47#issuecomment-137467479","issue_url":"https://api.github.com/repos/Flolagale/mailin/issues/47","id":137467479,"user":{"login":"rogerthealien","id":2500192,"avatar_url":"https://avatars.githubusercontent.com/u/2500192?v=3","gravatar_id":"","url":"https://api.github.com/users/rogerthealien","html_url":"https://github.com/rogerthealien","followers_url":"https://api.github.com/users/rogerthealien/followers","following_url":"https://api.github.com/users/rogerthealien/following{/other_user}","gists_url":"https://api.github.com/users/rogerthealien/gists{/gist_id}","starred_url":"https://api.github.com/users/rogerthealien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogerthealien/subscriptions","organizations_url":"https://api.github.com/users/rogerthealien/orgs","repos_url":"https://api.github.com/users/rogerthealien/repos","events_url":"https://api.github.com/users/rogerthealien/events{/privacy}","received_events_url":"https://api.github.com/users/rogerthealien/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T14:33:30Z","updated_at":"2015-09-03T14:33:30Z","body":"Ok, found it. There's some inconsistency with the `disableDNSValidation` flag. In `lib/mailin.js' on line 39 it's called `disableDnsValidation`, in the docs it's part of `smtpOptions: { disableDNSValidation }`, and in `cli.js`, on line 59, it's `disableDNSValidation`. \r\n\r\nWhat seems to work is:\r\n```javascript\r\nmailin.start({\r\n    disableDNSValidation: true // NOT as part of smtpOptions\r\n})\r\n```\r\n\r\n"}}