YunoHost / issues

General issue tracker for the YunoHost project
72 stars 8 forks source link

Email not received due to email.smtp.smtp_allow_ipv6 to false and unproper DNS config #2410

Open zamentur opened 3 months ago

zamentur commented 3 months ago

Describe the bug

If we disable email.smtp.smtp_allow_ipv6 the DNS suggestion still keep @ 3600 IN MX 10 DOMAIN. as recommendation. So external mail server could try to send email on ipv6.

Context

To reproduce

  1. set email.smtp.smtp_allow_ipv6 to false
  2. yunohost domain dns suggest DOMAIN

Expected behavior

Mx still redirect onto IPv6 and IPv4 but it should be only IPv4.

So the suggestion should be:

@ 3600 IN MX 10 PUBLIC_IPv4.

Logs

-