LinuxQuestions.org
Help answer threads with 0 replies.
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


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

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, 10:32 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

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


Closed Thread



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

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

All times are GMT -5. The time now is 05:51 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