External config question

Hello,
I am trying to set up a mastodon instance.
it needs to me able to send email.

i am not sure what settings to enter, I tried several, it always fails to send email.

any idea ?

this is par of the config file :
MTP_SERVER=box.domain.aa
SMTP_PORT=465
SMTP_LOGIN=feydreva@domain.aa
SMTP_PASSWORD=mypassword
SMTP_AUTH_METHOD=plain
SMTP_OPENSSL_VERIFY_MODE=peer
SMTP_ENABLE_STARTTLS=auto
SMTP_FROM_ADDRESS=notifications_mastodon@domain.aa

It fails for timeout it seems

I tried this command :

openssl s_client -connect box.domain.aa:465

and it worked without any issue
Any idea ?
Thank you

Is the second address allowed to send from the first in MiaB?

Simplify your life and make both the same.