Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #194295

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

From Dan Hitt <dan.hitt@gmail.com>
Newsgroups linux.debian.user
Subject Re: how do you send mail to another user on a local debian machine
Date 2018-03-30 07:30 +0200
Message-ID <vyULT-2CK-1@gated-at.bofh.it> (permalink)
References <vyyBH-4Xm-3@gated-at.bofh.it> <vyMv0-5EN-9@gated-at.bofh.it> <vyMOl-5Lq-1@gated-at.bofh.it> <vyU9b-2a8-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Mar 29, 2018 at 9:05 PM, Teemu Likonen <tlikonen@iki.fi> wrote:
> Dan Hitt [2018-03-29 13:50:54-07] wrote:
>
>> In emacs, i tried the address otheruser@host, otheruser,
>> otheruser@localhost, otheruser@host.local
>>
>> Here, 'host' is to stand for the hostname of my box, stripped of any
>> domain information.
>>
>> In all four cases, it opened a new tab in my firefox browser, showing
>> gmail, with the message loaded, and the 'To' field populated.  (In the
>> case of otheruser, it was underlined in red.)
>
> (Sorry for not having read previous messages the the thread.)
>
> Emacs has different ways to send mail and that's configured with
> variable send-mail-function or message-send-mail-function (if you use
> message-mode for composing mail).
>
> It seems to me that you want to use locally installed sendmail program
> (or compatible) for sending mail so you would configure Emacs like this:
>
>     (setq message-send-mail-function 'message-send-mail-with-sendmail)
>
> --
> /// Teemu Likonen   - .-..   <https://keybase.io/tlikonen> //
> // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

Thanks Teemu.

That actually works.

The variable name message-send-mail-function is similar to
send-mail-function, which David had suggested i investigate and deal
with.  However, send-mail-function seems to be set up in some part of
my .emacs.d/init.el that i did not write (part of
custom-set-variables, and it has a warning to be careful when
modifying it by hand).  So i didn't pursue send-mail-function.

However, message-send-mail-function is not mentioned in my
.emacs.d/init.el, so i suppose i should be more relaxed about it (??).

Anyhow, it works, and this seems to be a complete solution to my problem.

Thanks again!

(And thanks everybody else for all the ideas and suggestions, which
are all educational and useful.)

dan

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how do you send mail to another user on a local debian machine Dan Hitt <dan.hitt@gmail.com> - 2018-03-29 07:50 +0200
  Re: how do you send mail to another user on a local debian machine Dominik George <nik@naturalnet.de> - 2018-03-29 09:10 +0200
    Re: how do you send mail to another user on a local debian machine <tomas@tuxteam.de> - 2018-03-29 09:20 +0200
      Re: how do you send mail to another user on a local debian machine Curt <curty@free.fr> - 2018-03-29 11:50 +0200
    Re: how do you send mail to another user on a local debian machine Dan Hitt <dan.hitt@gmail.com> - 2018-03-29 19:40 +0200
  Re: how do you send mail to another user on a local debian machine Liam O'Toole <liam.p.otoole@gmail.com> - 2018-03-29 09:10 +0200
  Re: how do you send mail to another user on a local debian machine songbird <songbird@anthive.com> - 2018-03-29 13:40 +0200
  Re: how do you send mail to another user on a local debian machine David Wright <deblis@lionunicorn.co.uk> - 2018-03-29 22:40 +0200
    Re: how do you send mail to another user on a local debian machine Dan Hitt <dan.hitt@gmail.com> - 2018-03-29 23:00 +0200
      Re: how do you send mail to another user on a local debian machine Dan Hitt <dan.hitt@gmail.com> - 2018-03-30 06:10 +0200
      Re: how do you send mail to another user on a local debian machine David Wright <deblis@lionunicorn.co.uk> - 2018-03-30 06:10 +0200
        Re: how do you send mail to another user on a local debian machine Dan Hitt <dan.hitt@gmail.com> - 2018-03-30 06:20 +0200
      Re: how do you send mail to another user on a local debian machine Teemu Likonen <tlikonen@iki.fi> - 2018-03-30 06:50 +0200
        Re: how do you send mail to another user on a local debian machine Dan Hitt <dan.hitt@gmail.com> - 2018-03-30 07:30 +0200
        Re: how do you send mail to another user on a local debian machine Teemu Likonen <tlikonen@iki.fi> - 2018-03-30 07:40 +0200
          Re: how do you send mail to another user on a local debian machine Teemu Likonen <tlikonen@iki.fi> - 2018-03-30 09:40 +0200

csiph-web