replace automx with autodiscover
this MR implement the automx replacement for https://gitlab.e.foundation/e/infra/backlog/-/issues/2289
cf. this comment : https://gitlab.e.foundation/e/infra/backlog/-/issues/2289#note_469084
Edited by Florent VINCENT