Email sending broken after updating to 8.2.x (due to IPv6 issues)
-
@Gengar Which ubuntu version are you on ? Unbound behavior slighly varies based on Ubuntu 22.04 and 24.04
Can you please try this:
-
Edit
/home/yellowtent/box/src/mail.js
. You will find a line at around line 86 likeconst DNS_OPTIONS = { timeout: 10000 };
. -
Change it to
const DNS_OPTIONS = { timeout: 30000, tries: 4 };
. -
systemctl restart box
-
-
@Gengar Which ubuntu version are you on ? Unbound behavior slighly varies based on Ubuntu 22.04 and 24.04
Can you please try this:
-
Edit
/home/yellowtent/box/src/mail.js
. You will find a line at around line 86 likeconst DNS_OPTIONS = { timeout: 10000 };
. -
Change it to
const DNS_OPTIONS = { timeout: 30000, tries: 4 };
. -
systemctl restart box
@girish Thank you for your help .
I am using Ubuntu 24.04.
I've edited what you told me to edit.
If I understand correctly , it could happen simply because there was no retry and a time out after 10 seconds.
And now that we changed it to 4 retries and 30 seconds, so if it was a time out issue, it should solve it now by giving it more opportunities to do it if it's a bit slow.Is this setting override by each cloudron update ?
I will monitor and let you know if it solved my issue or not.
-
-
@girish Thank you for your help .
I am using Ubuntu 24.04.
I've edited what you told me to edit.
If I understand correctly , it could happen simply because there was no retry and a time out after 10 seconds.
And now that we changed it to 4 retries and 30 seconds, so if it was a time out issue, it should solve it now by giving it more opportunities to do it if it's a bit slow.Is this setting override by each cloudron update ?
I will monitor and let you know if it solved my issue or not.
@Gengar yeah, just guessing here that maybe it is taking more than 10s for the initial resolution. There is a default retry of 2 times . Don't know if changing it to more helps . I have been looking into the unbound docs on increasing the timeout in general but haven't found a good config variable yet.
-
@Gengar yeah, just guessing here that maybe it is taking more than 10s for the initial resolution. There is a default retry of 2 times . Don't know if changing it to more helps . I have been looking into the unbound docs on increasing the timeout in general but haven't found a good config variable yet.
-
@girish Yeah makes sense. I will monitor and update in this post with the final result. Thx again for your help.
Would I have to set this after each cloudron update ? Or is this setting never overriden ?