Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rspamd] DNS query blocked on multi.uribl.com #554

Closed
sam2kb opened this issue Aug 6, 2018 · 6 comments
Closed

[rspamd] DNS query blocked on multi.uribl.com #554

sam2kb opened this issue Aug 6, 2018 · 6 comments
Milestone

Comments

@sam2kb
Copy link

sam2kb commented Aug 6, 2018

(controller) <3nxzfe>; monitored; rspamd_monitored_dns_cb: DNS query blocked on multi.uribl.com (127.0.0.1 returned), possibly due to high volume
(rspamd_proxy) <f69f64>; surbl; surbl_test_url: disable surbl multi.uribl.com as it is reported to be offline

I understand that requests are blocked because of the use of public DNS resolvers like 8.8.8.8 or 1.1.1.1 If that's so, is there a way to use my own DNS nameserver across all MailU services or just in the antispam container?

@sam2kb
Copy link
Author

sam2kb commented Aug 6, 2018

The number of emails/day is under 100 so there's no way I'm hitting a rate-limit

@ofthesun9
Copy link
Contributor

You can use a specific dns server for rspamd. Another PR was proposing how to setup an unbound container and I have reused it at:
https://github.com/ofthesun9/unbound-mailu
Feel to comment or suggest improvement :-)

@sam2kb
Copy link
Author

sam2kb commented Aug 9, 2018

The above mentioned unbound image didn't want to resolve any DNS requests, so I just hooked up a different image and it works well now

surbl; process_dns_results: <0.0.0.A3.1D42F4BFB3ABFB4.32F383@mail.ketodiet808.us> domain [ketodiet808.us.multi.uribl.com] is in surbl multi.uribl.com(2)

@sam2kb
Copy link
Author

sam2kb commented Aug 9, 2018

version: '3.6'
services:
  unbound:
    container_name: unbound
    #image: ofthesun9/unbound-mailu:1.1
    image: mvance/unbound:latest
    restart: unless-stopped
    ports:
    - 0.0.0.0:53:53/tcp
    - 0.0.0.0:53:53/udp
networks:
  default:
    external: true
    name: mail_default

overrides/rspamd/option.inc

dns {
  nameserver = ["unbound:53:1"];
}

@sam2kb sam2kb closed this as completed Aug 9, 2018
@ofthesun9
Copy link
Contributor

Hi,

Sorry to hear that it was'nt working for you...
Could you please provide the logs of you attempt to use it ?

@muhlemmer
Copy link
Member

@muhlemmer (For own reference)

@muhlemmer muhlemmer added this to the 1.6 milestone Dec 18, 2018
@muhlemmer muhlemmer reopened this Dec 18, 2018
@muhlemmer muhlemmer modified the milestone: 1.6 Dec 18, 2018
@muhlemmer muhlemmer added status/wip Work in progress. This will block mergify until the label is removed. faq/done and removed faq/include status/wip Work in progress. This will block mergify until the label is removed. labels Dec 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants