Hi,
I do not quite understand what you are trying to achieve.
You said, you want to send an email from machine-1 to machine-2 and get a reply.
From what I know SMTP does not work like that. Basically is w way to relay mail from where it is towards its final destination.
There is no concept of machine-1 o machine-2 and backward.
Generally the mail origin is a mail client (yes, running on a machine that can be considered as your machine-1) having as recipient or destination the mail address you put in the to field.
And yes the recipient mail address as the format
recipient.username@fullly.qualified.name.com.
The SMTP work starts when the mail client program gives its local SMTP (gateway) the mail for delivery. The local SMTP will interrogate its DNS in order to find out the MX record of fullly.qualified.name.com, giving the IP address of the final destination for the mail recipient. From that IP address the mail will be sent towards it through the various relays on Internet.
When the mail reaches it final destination (the IP address of the final recipient, not the inbox of the recipient), the process is complete. The mail retrieval is another process dealt by other protocols (IMAP for example).
Sorry, if that explanation was lengthy, and maybe useless, but I thought it was important so I clarify the context in which am I in.
So to clarify few things, it will be good if you confirm to us that your sending mail client is running on machine-1. Also machine-1 has an local SMTP gateway doing the job of accepting the local mails and try to deliver them to their final destinations. Please confirm, give the name and version of your mail client, the origin email address, the name and version of the SMTP gateway. Apparently it seems as if you are using postfix as SMTP.
Then for the recipient side, you will also so need to confirm that the final destination SMTP is also postfix, share with the DNS entry that maps to its IP address, confirm that the recipient mail address domain is among the domains the machine-2 considers itself as final destination, and the machine-2 delivery mechanism is able to finally deliver the mail in an inbox.
It is only when those roles will be understood, clarified and accepted that it will worth looking in their postfix configuration.
I am afraid that what you have shared so far, is speechless to us until you clarify which role is play by which part.
Regards,