I'm messing around with a mail server on a VPS. I can send and receive mail between my local account using exim [email protected]
. I can also send mail remotely to [email protected]
(of course I get a bounce back message because I don't have PTR, SPF, DKIM, etc. but gmail is receiving it at least).
However, I'm having trouble sending mail from gmail to my mailserver. So, my question is:
Is there any way I can send mail using exim, such that I force the mail to leave my machine and use DNS, instead of just being delivered locally. By this, I mean that I want to send mail between [email protected]
and [email protected]
. I want to do this so that I can see the logs on both ends.
(I'm new here, so please let me know if this is not on topic.)