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


Groups > linux.debian.user > #194291

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 06:10 +0200
Message-ID <vyTwt-1TI-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> <vyTwt-1TI-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Mar 29, 2018 at 9:02 PM, David Wright <deblis@lionunicorn.co.uk> wrote:
> On Thu 29 Mar 2018 at 13:50:54 (-0700), Dan Hitt wrote:
>> On Thu, Mar 29, 2018 at 1:32 PM, David Wright <deblis@lionunicorn.co.uk> wrote:
>> > On Wed 28 Mar 2018 at 22:42:43 (-0700), Dan Hitt wrote:
>> ...
>> >> I thought i'd just do what used to be the usual thing on a unix box:
>> >> i compose-mail in emacs (control-x m), and drafted the text, and put
>> >> in the other user's name in the To: line.
>> ...
>> > I just write username@localhost instead of username on its own.
>> > That should be enough to stop it leaving the system.
>>
>> Thanks David for your reply.
>>
>> That doesn't seem to work for me, although maybe i'm not doing it
>> exactly the way you are --- were you using emacs to manage it?
>
> I just tested it and it worked fine, including the "bogus" message.
> It also puts a jokey aside into Message-ID because I have no name
> for my domain.
>
>> In emacs, i tried the address otheruser@host, otheruser,
>> otheruser@localhost, otheruser@host.local
>
> The third one, otheruser@localhost. There should be a line in
> /etc/hosts reading
>
> 127.0.0.1       localhost
>
>> 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.)
>
> If I type (in emacs) ^H v send-mail-function
> it tells me that that variable is set to sendmail-send-it which
> probably explains why emacs hands the email off to exim.
> Perhaps yours is set to mailclient-send-it? See
> https://www.gnu.org/software/emacs/manual/html_node/emacs/Mail-Sending.html#Mail-Sending
>
>> emacs also warned me that the addresses i was using 'might be bogus'.
>
> Yep.
>
>> However, invoking the 'mail' program directly does work for me, so i
>> have a solution (although if i could work it through emacs, without
>> having to do any serious configuration, it would be much better).
>
> I haven't looked into how/whether Debian configures emacs according to
> which other packages you install (and in what order).
>
> Cheers,
> David.
>

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