{"action":"created","issue":{"url":"https://api.github.com/repos/hmailserver/hmailserver/issues/108","labels_url":"https://api.github.com/repos/hmailserver/hmailserver/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/hmailserver/hmailserver/issues/108/comments","events_url":"https://api.github.com/repos/hmailserver/hmailserver/issues/108/events","html_url":"https://github.com/hmailserver/hmailserver/issues/108","id":90066849,"number":108,"title":"SURBL problems","user":{"login":"paologroppo","id":6460823,"avatar_url":"https://avatars.githubusercontent.com/u/6460823?v=3","gravatar_id":"","url":"https://api.github.com/users/paologroppo","html_url":"https://github.com/paologroppo","followers_url":"https://api.github.com/users/paologroppo/followers","following_url":"https://api.github.com/users/paologroppo/following{/other_user}","gists_url":"https://api.github.com/users/paologroppo/gists{/gist_id}","starred_url":"https://api.github.com/users/paologroppo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paologroppo/subscriptions","organizations_url":"https://api.github.com/users/paologroppo/orgs","repos_url":"https://api.github.com/users/paologroppo/repos","events_url":"https://api.github.com/users/paologroppo/events{/privacy}","received_events_url":"https://api.github.com/users/paologroppo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-22T10:46:38Z","updated_at":"2015-07-29T08:32:12Z","closed_at":null,"body":"I use hMailserver 5.6.3-B2249, and experienced some problems with antispam features.\r\n\r\n1- I receive \"SURBL: DNS query failed.\" for every domain, if I restart hMailserver the problem goes away but return after some time (dns settings are ok)\r\n\r\n2- the urls submitted to URIBL servers are not correctly formatted, look at these log examples:\r\n\r\n \"DEBUG\" 5888 \"2015-06-21 10:10:01.894\"\t\"SURBL: Found URL: groupon.it?nlp=&cid=it_crm_1_0_0_172&a=242&utm_source=newsletter&utm_medium=email&sid=ff9a7e25-3cv1-4bbe-8762-51fdbf178f15&division=verona&uh=2f91dc31-940a-6da1-b472-3cc617b1eb54&date=20152106&sender=rm&s=footer&c=link&d=contact\"\r\n\"DEBUG\"\t 5888 \"2015-06-21 14:27:23.597\"\t\"SURBL: Found URL: grosso@veroca.com\"\r\n\r\nIn the first case everything after \"?\" must be deleted to get correct domain name.\r\nIn the second case the original url was \"http://jdjj.ozrust.link?email=poalo.grosso@veroca.com\"\r\n\r\n3- \"multi.uribl.com\", that usually stops thousands of spam emails every day (and I don't know a valid alternative), stopped working with hmailserver because does no more respond \"NXDOMAIN\" but 127.0.0.1 (blocked) or 127.0.0.2 (black) or 127.0.0.4 (grey) or 127.0.0.8 (red), and there is no way to configure this on hmailserver. hmailserver configured with multi.uribl.com now marks every email with a link inside as spam.\r\n\r\n4- A  \"SURBL: DNS query failed.\" on a domain will abort all checks for that SURBL server.\r\n"},"comment":{"url":"https://api.github.com/repos/hmailserver/hmailserver/issues/comments/125880441","html_url":"https://github.com/hmailserver/hmailserver/issues/108#issuecomment-125880441","issue_url":"https://api.github.com/repos/hmailserver/hmailserver/issues/108","id":125880441,"user":{"login":"paologroppo","id":6460823,"avatar_url":"https://avatars.githubusercontent.com/u/6460823?v=3","gravatar_id":"","url":"https://api.github.com/users/paologroppo","html_url":"https://github.com/paologroppo","followers_url":"https://api.github.com/users/paologroppo/followers","following_url":"https://api.github.com/users/paologroppo/following{/other_user}","gists_url":"https://api.github.com/users/paologroppo/gists{/gist_id}","starred_url":"https://api.github.com/users/paologroppo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paologroppo/subscriptions","organizations_url":"https://api.github.com/users/paologroppo/orgs","repos_url":"https://api.github.com/users/paologroppo/repos","events_url":"https://api.github.com/users/paologroppo/events{/privacy}","received_events_url":"https://api.github.com/users/paologroppo/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T08:32:11Z","updated_at":"2015-07-29T08:32:11Z","body":"In some conditions hMailserver does not translate URI >>> DOMAIN NAME correctly. Every URI with a query string produce a \"DNS query failed\". In fact URI with query string is submitted to SURBL:\r\n\r\n\"DEBUG\"\t8944\t\"2015-07-29 10:17:01.606\"\t\"SURBL: Found URL: spartoo.it?track_id=news_a_36993_145970&utm_source=news_autre&utm_medium=newsletter&utm_campaign=news_a_36993_148970&email_crm=9c5c2cea19682823cf09b541abe9e033&link=6808777\"\r\n\"DEBUG\"\t8944\t\"2015-07-29 10:17:01.763\"\t\"SURBL: DNS query failed.\"\r\n\"DEBUG\"\t8944\t\"2015-07-29 10:17:01.763\"\t\"Spam test: SpamTestSURBL, Score: 0\"\r\n\r\nAfter that no score is assigned to message even if one of the multiple URI matched.\r\n"}}