LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-15-2008, 10:00 AM   #1
stalin.varanasi
LQ Newbie
 
Registered: Dec 2007
Posts: 7

Rep: Reputation: 0
"mail" program not working to mail a user working at other host.


there is a problem with the internet connection settings.

Last edited by stalin.varanasi; 09-28-2011 at 08:12 AM.
 
Old 09-15-2008, 10:10 AM   #2
david1941
Member
 
Registered: May 2005
Location: St. Louis, MO
Distribution: CentOS7
Posts: 267

Rep: Reputation: 58
As a test enter the following line at a command line in your user name: echo "Hello, I work" | mail your-user-name

Dave
 
Old 09-16-2008, 03:34 AM   #3
stalin.varanasi
LQ Newbie
 
Registered: Dec 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Hi Dave ,thanks for the reply.

Last edited by stalin.varanasi; 09-28-2011 at 08:11 AM.
 
Old 09-16-2008, 04:55 AM   #4
david1941
Member
 
Registered: May 2005
Location: St. Louis, MO
Distribution: CentOS7
Posts: 267

Rep: Reputation: 58
So it works locally but fails remotely? That indicates a transport problem, but you are posting to this list successfully and that indicates no transport problem. Are you sure user@hostname2 was actually the address you wanted? Perhaps it just went astray. or was delayed in transit?

Dave

Last edited by david1941; 09-16-2008 at 05:46 AM.
 
Old 09-16-2008, 08:54 AM   #5
stalin.varanasi
LQ Newbie
 
Registered: Dec 2007
Posts: 7

Original Poster
Rep: Reputation: 0
thanks for the reply

Last edited by stalin.varanasi; 09-28-2011 at 08:11 AM.
 
Old 09-16-2008, 10:12 AM   #6
david1941
Member
 
Registered: May 2005
Location: St. Louis, MO
Distribution: CentOS7
Posts: 267

Rep: Reputation: 58
I do not know what is happening. I thought "mail" was a local delivery agent that passes to a "mail transport agent" (I use sendmail - running as a daemon) to deliver to other machines. If you are able to use mail to deliver directly to other machines --- hummmmm..... Let's try using mail to send to me directly.

Try: echo "Hello Dave -- this works to you, thanks, stalin.varanasi" | mail m

and let's see if that works.

Are you using "mail" to make your posts to the linuxquestions list?

later, Dave

Last edited by david1941; 05-08-2009 at 10:52 AM. Reason: delete my e-mail address
 
  


Reply


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
[SOLVED] how to mail to gmail from unix "mail" program stalin.varanasi Linux - Networking 5 09-28-2011 09:56 AM
How to use "mail" program from System() call in C? minhsangniit Programming 2 08-19-2006 12:08 AM
script to count the mails in an users folder "/var/spool/mail/user" sharad Linux - Software 1 03-16-2006 10:58 PM
Shel script mail send ("/" in mail address) problem anaid Linux - Networking 3 08-23-2005 07:41 AM
Qmail problem: ISP mail and virtual mail, "sorry no mailbox, here by that user" barryw Linux - Networking 7 05-28-2005 12:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:48 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
Open Source Consulting | Domain Registration