LinuxQuestions.org
Review your favorite Linux distribution.
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 07-19-2014, 04:18 AM   #1
thirstonlinux
Member
 
Registered: Jul 2011
Posts: 62

Rep: Reputation: Disabled
smtp issue


I would like to setup SMTP in such a way that it should accept mails from local and remote hosts.

I have two VMS
Number Name IP
1 server.learn.com 192.168.0.100
2 client.learn.com 192.168.0.200

both are pingable from the other side and their entry is made in /etc/hosts file on both machines.

From "server" root I am sending email to the local user "John" which I can read.

When I try to send from "client" root, I am not able to receive the same. when I check the /var/log/maillog, it says the status as deferred "Name service error for name = server.learn.com Host Not found"

This is the change I made in the configuration file
myhostname = server.learn.com
mydomain = learn.com
myorigin = $mydomain
inet_interfaces = all

commented line 164 and uncommented line 165.

Note: the postfix service has been restarted after this change.
 
Old 07-19-2014, 09:45 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,125
Blog Entries: 14

Rep: Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065
I'm puzzled. SMTP is for sending, not receiving. Receiving is commonly POP3 or IMAP.

Could you tell us a little more about what you are trying to do and what programs you are using?

I have recently been working on setting up Mutt on one of my computers, just for the experience. I found this link to be tremendously helpful in understanding the nuts-and-bolts of what goes on under the email hood. I offer it because it may help you clarify your question.
 
Old 07-21-2014, 04:01 AM   #3
thirstonlinux
Member
 
Registered: Jul 2011
Posts: 62

Original Poster
Rep: Reputation: Disabled
mutt to send and receive email
 
Old 07-21-2014, 07:48 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,125
Blog Entries: 14

Rep: Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065Reputation: 3065
I've been working with Mutt myself recently, just because I wanted to learn more about email under the hood; I also wanted to learn more about vim and I figured that using an email client that defaulted to the vim editor would be a great way to do that. It's not quite where I want it to be (I want to be able to handle multiple accounts with a single instance of Mutt and am still researching how best to do that).

This is the best tutorial I found: http://docs.huihoo.com/gentoo/resour...e-to-mutt.html
I pretty much followed the instructions verbatim, with fetchmail, formail, procmail, and msmtp, and was able to send and receive mail to my primary account.

This is the second-best tutorial I found, but not by much: http://www.calmar.ws/mutt/

I hope they help. If you get stuck, please post any error messages you receive, verbatim, if at all possible, along with the circumstances in which you received them. The more detail you provide, the easier it will be for us to help you.

Last edited by frankbell; 07-21-2014 at 07:51 PM.
 
  


Reply

Tags
postfix


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
smtp issue fernfrancis Linux - Newbie 4 09-15-2010 06:22 AM
Issue with POP3 and SMTP IPerera Linux - Newbie 3 10-20-2009 07:08 AM
smtp issue metallica1973 Linux - Networking 11 08-13-2006 11:09 AM
Postfix SMTP issue cbekannan06 Linux - Software 3 08-05-2006 12:15 AM
SMTP issue with iptables dragonleech Linux - Security 4 12-21-2005 10:46 AM


All times are GMT -5. The time now is 08:05 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration