Can you send email to a linux server?
by OtagoHarbour from LinuxQuestions.org on (#50ZR9)
I am running a website on two AWS EC2 instances running Ubuntu 16.04.4 LTS
I would like to be able to send mail to this server from, say, gmail or Yahoo! mail so that I can see it when I type
Code:mailat the command prompt.
I have installed postfix on my server looked at the documentation for postfix here. It said that the myorigin parameter specifies specifies the domain that appears in mail that is posted on this machine and that mydestination parameter specifies what domains this machine will deliver locally, instead of forwarding to another machine. However, it does not discuss the domain for receiving email from a remote mail source. Is it possible to send mail to a server to be read by linux mail?


I would like to be able to send mail to this server from, say, gmail or Yahoo! mail so that I can see it when I type
Code:mailat the command prompt.
I have installed postfix on my server looked at the documentation for postfix here. It said that the myorigin parameter specifies specifies the domain that appears in mail that is posted on this machine and that mydestination parameter specifies what domains this machine will deliver locally, instead of forwarding to another machine. However, it does not discuss the domain for receiving email from a remote mail source. Is it possible to send mail to a server to be read by linux mail?