outgoing mail issue and unbound?
-
Hello, so i run my cloudron server in my house, now i have done this before and had no issue with using an external smpt service for email delivery, i used mailgun and have never had an issue.
i used cloudflare for the domain (my dashboard is the only one that is proxyed)
mailgun for the smpt serverSo, tested day i setup my SMPT outbound part and nothing seemed to be working. after sending 3 test emails mailgun says they sent. i check my inbox and they in fact send. so, a few hours later i send another test email and nothing........ i went into cloudflare removed all my TXT files ect and re did it , still nothing. i noticed after looking that unbound was yellow and not working might be the problem???
i also have the logs of my email that do have the 3 that confirmed and the rest that were rejected
-
Unbound is not resolving, maybe try forwarding all DNS requests. You can do this by running 'cloudron-support --unbound-use-external-dns' option
Using domain server:
Name: 127.0.0.150
Address: 127.0.0.150#53
Aliases:i get this when i run the command and the i run the suggested command this pops up for me
/usr/bin/cloudron-support: line 803: unbound_use_external_dns: command not found
for further context, heres what the unbound logs say
Aug 03 16:51:18 bigd unbound[883]: [883:0] info: generate keytag query _ta-4f66. NULL IN Aug 03 16:51:18 bigd unbound[883]: [883:0] info: failed to prime trust anchor -- could not fetch DNSKEY rrset . DNSKEY IN Aug 03 16:51:18 bigd unbound[883]: [883:0] info: generate keytag query _ta-4f66. NULL IN Aug 03 16:51:18 bigd unbound[883]: [883:0] info: failed to prime trust anchor -- could not fetch DNSKEY rrset . DNSKEY IN Aug 03 16:51:18 bigd unbound[883]: [883:0] info: generate keytag query _ta-4f66. NULL IN Aug 03 16:51:18 bigd unbound[883]: [883:0] info: failed to prime trust anchor -- could not fetch DNSKEY rrset . DNSKEY IN Aug 03 16:51:18 bigd unbound[883]: [883:0] info: generate keytag query _ta-4f66. NULL IN Aug 03 16:51:18 bigd unbound[883]: [883:0] info: failed to prime trust anchor -- could not fetch DNSKEY rrset . DNSKEY IN Aug 03 16:51:18 bigd unbound[883]: [883:0] info: generate keytag query _ta-4f66. NULL IN Aug 03 16:51:18 bigd unbound[883]: [883:0] info: failed to prime trust anchor -- could not fetch DNSKEY rrset . DNSKEY IN Aug 03 17:18:36 bigd unbound[883]: [883:0] info: generate keytag query _ta-4f66. NULL IN Aug 03 17:24:50 bigd systemd[1]: Stopping unbound.service - Unbound DNS Resolver... Aug 03 17:24:50 bigd unbound[883]: [883:0] info: service stopped (unbound 1.19.2). Aug 03 17:24:50 bigd unbound[883]: [883:0] info: server stats for thread 0: 515 queries, 13 answers from cache, 502 recursions, 0 prefetch, 0 rejected by ip ratelimiting Aug 03 17:24:50 bigd unbound[883]: [883:0] info: server stats for thread 0: requestlist max 5 avg 0.727092 exceeded 0 jostled 0 Aug 03 17:24:50 bigd unbound[883]: [883:0] info: average recursion processing time 0.037127 sec Aug 03 17:24:50 bigd unbound[883]: [883:0] info: histogram of recursion processing times Aug 03 17:24:50 bigd unbound[883]: [883:0] info: [25%]=0.000719698 median[50%]=0.00137284 [75%]=0.0316995 Aug 03 17:24:50 bigd unbound[883]: [883:0] info: lower(secs) upper(secs) recursions Aug 03 17:24:50 bigd unbound[883]: [883:0] info: 0.000032 0.000064 1 Aug 03 17:24:50 bigd unbound[883]: [883:0] info: 0.000064 0.000128 1 Aug 03 17:24:50 bigd unbound[883]: [883:0] info: 0.000128 0.000256 1 Aug 03 17:24:50 bigd unbound[883]: [883:0] info: 0.000256 0.000512 58 Aug 03 17:24:50 bigd unbound[883]: [883:0] info: 0.000512 0.001024 159 Aug 03 17:24:50 bigd unbound[883]: [883:0] info: 0.001024 0.002048 91 Aug 03 17:24:50 bigd unbound[883]: [883:0] info: 0.002048 0.004096 22 Aug 03 17:24:50 bigd unbound[883]: [883:0] info: 0.004096 0.008192 2 Aug 03 17:24:50 bigd unbound[883]: [883:0] info: 0.008192 0.016384 20 Aug 03 17:24:50 bigd unbound[883]: [883:0] info: 0.016384 0.032768 23 Aug 03 17:24:50 bigd unbound[883]: [883:0] info: 0.032768 0.065536 25 Aug 03 17:24:50 bigd unbound[883]: [883:0] info: 0.065536 0.131072 49 Aug 03 17:24:50 bigd unbound[883]: [883:0] info: 0.131072 0.262144 35 Aug 03 17:24:50 bigd unbound[883]: [883:0] info: 0.262144 0.524288 15 Aug 03 17:24:50 bigd systemd[1]: unbound.service: Deactivated successfully. Aug 03 17:24:50 bigd systemd[1]: Stopped unbound.service - Unbound DNS Resolver. Aug 03 17:24:50 bigd systemd[1]: Starting unbound.service - Unbound DNS Resolver... Aug 03 17:24:50 bigd unbound[48589]: [48589:0] notice: init module 0: subnetcache Aug 03 17:24:50 bigd unbound[48589]: [48589:0] notice: init module 1: validator Aug 03 17:24:50 bigd unbound[48589]: [48589:0] notice: init module 2: iterator Aug 03 17:24:50 bigd unbound[48589]: [48589:0] info: start of service (unbound 1.19.2). Aug 03 17:24:50 bigd systemd[1]: Started unbound.service - Unbound DNS Resolver. Aug 03 17:24:54 bigd unbound[48589]: [48589:0] info: generate keytag query _ta-4f66. NULL IN -
@kyleholster this is a bug in the script. You can do this manually though (see https://git.cloudron.io/platform/box/-/blob/master/scripts/cloudron-support?ref_type=heads#L576).
Add this into
/etc/unbound/unbound.conf.d/forward-everything.conf:forward-zone: name: "." forward-addr: 1.1.1.1 forward-addr: 8.8.8.8And then,
systemctl restart unbound -
Thank you all! the issue was the unbound service not working and also my email delivery issue too.
-
J james has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login