Web lists-archives.com

Re: how do you send mail to another user on a local debian machine

On Wed, Mar 28, 2018 at 11:42 PM, Dominik George <nik@xxxxxxxxxxxxx> wrote:
> Hi,
>>So . . . if you want to send mail to another user on your box, and
>>you do not want it to get bounced around on the internet but only
>>to go into some spool queue somewhere strictly on your local machine,
>>how do you do it?
> Sounds very much like an emacs anti-feature.
> $ mail -s Spammedyspam jdoe <<<"Bacon eggs without the spam"
> works perfectly on stretch and buster/sid.
> Can you try that and also mutt?
> -nik

Thanks Dominick!

Your command works (using 'mail' without any arguments to receive).

I did have to install mailutils first (thanks Liam for pointing out
the package: i discovered that 'mail' is not a package! :) ).

Thanks Tomas also, for the information about setting up a mail
transport (and the suggestion to use write).  Although i did not do
that explicitly, i imagine that apt-get did it somehow.  (That would
confirm what Curt (thanks for replying!) was saying about no setup
being required.)

And thanks songbird for replying: you are right, i specified next to
nothing about my setup.  (My excuse is that i was still in a state of
shock.  :)  But i guess in that case i should have waited 24 hours to
post.)    I haven't decided yet whether to configure emacs to use
local mail though, because the vast majority of my mail is over the
internet, and it is very, very convenient to manage mail inside emacs
(although i have not done that for probably 20 years).  I do kind of
wonder how emacs learned about my gmail account though, surely Google
hasn't penetrated the space to the extent that it would be a heuristic
to guess.  My debian is stretch, btw, and i guess maybe i specified my
gmail address to it at setup time or something?  My email address
certainly does not appear anywhere in my .emacs.d/init.el that i can
see . . .

Thanks again everybody for all your help!!