In general, there is a server on Debian, there is PHP and sendmail, sending mail from PHP through sendmail is somehow configured. Letters from the server are sent as root@domain.com by default, unless you specify the From header in mail (). If you specify an additional From header, for example, info@domain.com, then the letters come from either root@domain.com or from info @, but with a completely left domain after @ (and naturally falls into spam).
You do not need to receive mail on the server; you only need to send it normally. Actually 2 questions in the end:
How can I change the user (box) by default (so that letters are sent not from root@domain.com, but from a mailbox more decently on the same domain)?
How to set up sending letters from any mailbox on this domain (*@domain.com), that is, so that they come from the corresponding mailbox (info@domain.com, admin@domain.com)?