{"action":"created","issue":{"url":"https://api.github.com/repos/vstakhov/rspamd/issues/520","repository_url":"https://api.github.com/repos/vstakhov/rspamd","labels_url":"https://api.github.com/repos/vstakhov/rspamd/issues/520/labels{/name}","comments_url":"https://api.github.com/repos/vstakhov/rspamd/issues/520/comments","events_url":"https://api.github.com/repos/vstakhov/rspamd/issues/520/events","html_url":"https://github.com/vstakhov/rspamd/issues/520","id":132512492,"number":520,"title":"How to scan mail coming from fetchmail","user":{"login":"Twilek-de","id":8283684,"avatar_url":"https://avatars.githubusercontent.com/u/8283684?v=3","gravatar_id":"","url":"https://api.github.com/users/Twilek-de","html_url":"https://github.com/Twilek-de","followers_url":"https://api.github.com/users/Twilek-de/followers","following_url":"https://api.github.com/users/Twilek-de/following{/other_user}","gists_url":"https://api.github.com/users/Twilek-de/gists{/gist_id}","starred_url":"https://api.github.com/users/Twilek-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Twilek-de/subscriptions","organizations_url":"https://api.github.com/users/Twilek-de/orgs","repos_url":"https://api.github.com/users/Twilek-de/repos","events_url":"https://api.github.com/users/Twilek-de/events{/privacy}","received_events_url":"https://api.github.com/users/Twilek-de/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-09T19:39:01Z","updated_at":"2016-02-09T20:09:55Z","closed_at":null,"body":"I am trying rspamd again (no connection resets until now). I use rspamd with exim. I poll multiple external IMAP accounts via fetchmail. With the default rspamd exim configuration with  \"accept hosts = +relay_from_hosts\" included rspamd will not scan those incoming messages at all as fetchmail is recognised as running on the local host (I guess). If I comment this out rspamd will scan those message but will put high Spam rankings on them.\r\n \r\nSymbol: HFILTER_HOSTNAME_UNKNOWN(2.50)\r\nSymbol: HFILTER_HELO_NORES_A_OR_MX(0.30)\r\nSymbol: FORGED_RECIPIENTS(1.00)\r\nSymbol: BROKEN_HEADERS(1.00)\r\nSymbol: BAYES_SPAM(3.79) (wondering about this one as the test mail included almost no text)\r\n\r\nI think that most of those come from the fact that the mail has the external mail as the recipient but then is pulled in to the local mailserver with the local mailadress via fetchmail which obviously doesn´t match.\r\nIs there any way to easily configure rspamd and exim to scan the messages but not flag them for being pulled by fetchmail?"},"comment":{"url":"https://api.github.com/repos/vstakhov/rspamd/issues/comments/182041273","html_url":"https://github.com/vstakhov/rspamd/issues/520#issuecomment-182041273","issue_url":"https://api.github.com/repos/vstakhov/rspamd/issues/520","id":182041273,"user":{"login":"fatalbanana","id":2176651,"avatar_url":"https://avatars.githubusercontent.com/u/2176651?v=3","gravatar_id":"","url":"https://api.github.com/users/fatalbanana","html_url":"https://github.com/fatalbanana","followers_url":"https://api.github.com/users/fatalbanana/followers","following_url":"https://api.github.com/users/fatalbanana/following{/other_user}","gists_url":"https://api.github.com/users/fatalbanana/gists{/gist_id}","starred_url":"https://api.github.com/users/fatalbanana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatalbanana/subscriptions","organizations_url":"https://api.github.com/users/fatalbanana/orgs","repos_url":"https://api.github.com/users/fatalbanana/repos","events_url":"https://api.github.com/users/fatalbanana/events{/privacy}","received_events_url":"https://api.github.com/users/fatalbanana/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T20:09:55Z","updated_at":"2016-02-09T20:09:55Z","body":"To disable this stuff selectively you could use settings module: https://rspamd.com/doc/configuration/settings.html\r\n\r\nRspamd is not a clone of SpamAssassin. ;)"}}