LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2020, 08:25 PM   #1
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Rep: Reputation: 3
Can you send email to a linux server?


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:
mail
at 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?
 
Old 03-19-2020, 08:30 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Yes.

A web search for "aws linux email" will turn up a number of articles and tutorials.
 
1 members found this post helpful.
Old 03-19-2020, 09:51 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Postfix has excellent "how to get started" documentation for several scenarios. What you probably want is Postfix on a stand-alone Internet host, but read the examples and select the one that comes closest to your requirement.
 
1 members found this post helpful.
  


Reply

Tags
mail;, postfix



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [Email] I can't send email from my server thomas2004ch Linux - Software 10 04-08-2015 04:57 AM
can not send email but can receive email Tamilan Linux - Server 6 07-16-2012 11:46 PM
Mail Server with : Postfix,dovecot. (Can send email, but can't receive email from internet mail) cparapat Linux - Server 1 08-16-2010 12:57 AM
Perl email::send.. how to send the email? hawk__0 Programming 6 12-24-2009 01:53 PM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 10:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration