My friend and I have configured two Postfix mail servers on our laptops. We succeeded in sending mail to a real network (to some Gmail accounts) from our computers; that was the easy part.
We now want to send an email from one laptop to the other; both laptops are on the same network (they're using the same WIFI) and they both have Postfix installed on them (OSes of laptops are Ubuntu).
We tried to send email like this:
rcpt to: postmaster@[IP Address]
Yet, we have the same IP (when we check on sites like this), since we are on same network. We aren't network veterans, either.
Here is the question: is it possible to send email from one laptop to the other, on the same network? If it is so, how could it be done?
Moreover:
- my computer's local IP: 192.168.174.128
- friends local IP: 192.168.200.128
When I try to send an email via Postfix this command does it right:
rcpt to: username@[192.168.174.128]
But, it isn't working when I try to send email to my friend's Postfix:
rcpt to: username@[192.168.200.128]
He can't receive the mail that I've sent.
/etc/hosts
file ?