{"action":"created","issue":{"url":"https://api.github.com/repos/tomav/docker-mailserver/issues/1037","repository_url":"https://api.github.com/repos/tomav/docker-mailserver","labels_url":"https://api.github.com/repos/tomav/docker-mailserver/issues/1037/labels{/name}","comments_url":"https://api.github.com/repos/tomav/docker-mailserver/issues/1037/comments","events_url":"https://api.github.com/repos/tomav/docker-mailserver/issues/1037/events","html_url":"https://github.com/tomav/docker-mailserver/issues/1037","id":362135310,"node_id":"MDU6SXNzdWUzNjIxMzUzMTA=","number":1037,"title":"receiving SPAM (apparently) from inside","user":{"login":"devel0","id":13405008,"node_id":"MDQ6VXNlcjEzNDA1MDA4","avatar_url":"https://avatars1.githubusercontent.com/u/13405008?v=4","gravatar_id":"","url":"https://api.github.com/users/devel0","html_url":"https://github.com/devel0","followers_url":"https://api.github.com/users/devel0/followers","following_url":"https://api.github.com/users/devel0/following{/other_user}","gists_url":"https://api.github.com/users/devel0/gists{/gist_id}","starred_url":"https://api.github.com/users/devel0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devel0/subscriptions","organizations_url":"https://api.github.com/users/devel0/orgs","repos_url":"https://api.github.com/users/devel0/repos","events_url":"https://api.github.com/users/devel0/events{/privacy}","received_events_url":"https://api.github.com/users/devel0/received_events","type":"User","site_admin":false},"labels":[{"id":193095227,"node_id":"MDU6TGFiZWwxOTMwOTUyMjc=","url":"https://api.github.com/repos/tomav/docker-mailserver/labels/bug","name":"bug","color":"fc2929","default":true},{"id":193095230,"node_id":"MDU6TGFiZWwxOTMwOTUyMzA=","url":"https://api.github.com/repos/tomav/docker-mailserver/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-20T11:03:34Z","updated_at":"2018-11-24T13:09:01Z","closed_at":null,"author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n## Context\r\n\r\nFrom external ip address I can send email (through port 25) declaring from and to as internal domain without any authentication.\r\n\r\n## Expected Behavior\r\nWhen user declare an inside domain address on port 25 it should return error 553 5.7.1 to prevent spam from externals.\r\n\r\n## Actual Behavior\r\nEmail from external ip can send internal-to-internal user without authentication on port 25.\r\n\r\n## Possible Fix\r\nforce smtp auth on port 25 when user in domain\r\n\r\n## Steps to Reproduce\r\n\r\nIf you try a simple telnet to your email server ( port 25 ) with follow\r\n\r\nHELO example.com\r\nMAIL FROM: user@example.com\r\nRCPT TO: user@example.com\r\nDATA\r\n\r\nspam email\r\n\r\n.\r\n\r\n## Your Environment\r\n\r\n```\r\ntvial/docker-mailserver   latest              dac8816ec078        5 weeks ago         517MB\r\n```"},"comment":{"url":"https://api.github.com/repos/tomav/docker-mailserver/issues/comments/441366808","html_url":"https://github.com/tomav/docker-mailserver/issues/1037#issuecomment-441366808","issue_url":"https://api.github.com/repos/tomav/docker-mailserver/issues/1037","id":441366808,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTM2NjgwOA==","user":{"login":"devel0","id":13405008,"node_id":"MDQ6VXNlcjEzNDA1MDA4","avatar_url":"https://avatars1.githubusercontent.com/u/13405008?v=4","gravatar_id":"","url":"https://api.github.com/users/devel0","html_url":"https://github.com/devel0","followers_url":"https://api.github.com/users/devel0/followers","following_url":"https://api.github.com/users/devel0/following{/other_user}","gists_url":"https://api.github.com/users/devel0/gists{/gist_id}","starred_url":"https://api.github.com/users/devel0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devel0/subscriptions","organizations_url":"https://api.github.com/users/devel0/orgs","repos_url":"https://api.github.com/users/devel0/repos","events_url":"https://api.github.com/users/devel0/events{/privacy}","received_events_url":"https://api.github.com/users/devel0/received_events","type":"User","site_admin":false},"created_at":"2018-11-24T13:09:01Z","updated_at":"2018-11-24T13:09:01Z","author_association":"NONE","body":"negative, it doesn't block email.\r\nI tried\r\n\r\n```\r\n2018-11-24 13:02:11,684 INFO spawned: 'postsrsd' with pid 198\r\n2018-11-24 13:02:11,685 INFO success: postsrsd entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)\r\npostsrsd: started\r\n```\r\n\r\nbut trying sending from outside using telnet SMTP approach\r\n\r\n```\r\n250 2.1.5 Ok\r\nDATA\r\n354 End data with <CR><LF>.<CR><LF>\r\n\r\nthis is stest\r\n\r\n.\r\n250 2.0.0 Ok: queued as 934A1300079B\r\nquit\r\n221 2.0.0 Bye\r\n```\r\n\r\nmail frmo inside to inside user still arrive without sender authentication."}}
{"actor":{"display_login":"devel0"}}