[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Mar 29, 2018 at 08:42:34AM +0200, Dominik George 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.

It's not. You just have to customize that (start with the variable
"mail-user-agent" and work from there).

Hint: at the end, it's not Emacs sending the mail but passing it
to whatever mail transfer agent you told it to use...

> $ mail -s Spammedyspam jdoe <<<"Bacon eggs without the spam"
> 
> works perfectly on stretch and buster/sid.

...as mutt or mail or all the other civilized mail user agents
will do.

So if you want to send mail to someone in the same box (or in
your local network or...), you'll have to set up a mail transport
which knows how to do that (exim, postfix, whatever).

If you just want to send a message to a local user (and this
user has some console open), try "write".

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlq8kkQACgkQBcgs9XrR2kbJCACfThyeLNGiBeJfkYcqyR9+Za8L
IAgAnREF0sBhbfXOCdGDB+1VE1E1DfdO
=Shrr
-----END PGP SIGNATURE-----


Reply to: