LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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


Closed Thread
  Search this Thread
Old 08-18-2015, 08:28 PM   #1
luofeiyu
Member
 
Registered: Aug 2015
Posts: 138

Rep: Reputation: Disabled
How to send mails between two users in the same local net?


Both root and debian8 are users in my local machine.
I want to send mail between them with mail command.

debian8@pengsir:~$ echo "hello" | mail -v -s test root@pengsir.hfi
LOG: MAIN
<= debian8@pengsir.hfi U=debian8 P=local S=336
debian8@pengsir:~$ delivering 1ZRKBw-00023L-JP
R: system_aliases for root@pengsir.hfi
R: system_aliases for debian8@pengsir.hfi
R: userforward for debian8@pengsir.hfi
R: procmail for debian8@pengsir.hfi
R: maildrop for debian8@pengsir.hfi
R: lowuid_aliases for debian8@pengsir.hfi (UID 1000)
R: local_user for debian8@pengsir.hfi
T: appendfile for debian8@pengsir.hfi
LOG: MAIN
=> debian8 <root@pengsir.hfi> R=local_user T=mail_spool
LOG: MAIN
Completed
^C
debian8@pengsir:~$ su root
Password:
root@pengsir:/home/debian8# mail
No mail for root

Why can't send mail when logining in as debian8 user to root user?
 
Old 08-19-2015, 11:32 AM   #2
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,164
Blog Entries: 10

Rep: Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979
https://www.linuxquestions.org/quest...5/#post5407946
 
  


Closed Thread


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
Relay local users mails to gmail accounts emmanu71 Linux - Server 1 12-07-2012 05:10 AM
Enable ldap users to send mails in postfix sarajevo Linux - Server 1 11-07-2010 08:59 PM
local postfix server not able to send mails to other domain subramanyabs1984 Linux - Server 1 03-13-2009 06:27 AM
Cant not send e-mails for authentican on my web server (users cant be authenticated) Virtuality Linux - Server 2 06-01-2007 09:29 PM
Users can't send mails hobz Linux - General 3 12-13-2004 10:44 AM


All times are GMT -5. The time now is 02:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration