-   Linux - Networking (
-   -   "mail" program not working to mail a user working at other host. (

stalin.varanasi 09-15-2008 10:00 AM

"mail" program not working to mail a user working at other host.
there is a problem with the internet connection settings.

david1941 09-15-2008 10:10 AM

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


stalin.varanasi 09-16-2008 03:34 AM

Hi Dave ,thanks for the reply.

david1941 09-16-2008 04:55 AM

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?


stalin.varanasi 09-16-2008 08:54 AM

thanks for the reply

david1941 09-16-2008 10:12 AM

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

All times are GMT -5. The time now is 06:37 AM.