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


Groups > alt.os.linux.ubuntu > #197559

Re: mutt puzzle [solved]

From "Jonathan N. Little" <lws4art@gmail.com>
Newsgroups alt.os.linux.ubuntu
Subject Re: mutt puzzle [solved]
Date 2017-11-02 23:05 -0400
Organization LITTLE WORKS STUDIO
Message-ID <otgmdt$3v3$1@dont-email.me> (permalink)
References <otgbb7$4oh$1@dont-email.me> <slrnovnde6.5at.dan@xps-linux.djph.net>

Show all headers | View raw


Dan Purgert wrote:
> Jonathan N. Little wrote:
>> [...]
>> $ echo "This is a test " | mutt -s "Test Subject" sample@example.com
>> Could not send the message.
>>
>> Mutt only works as root:
>>
>> $ sudo sh -c 'echo "This is a test " | mutt -s "Test Subject"
>> sample@example.com'
>
> What happens when you try to fire up mutt without piping a message into
> it?  Perhaps you're missing some configuration (or because it was run as
> root at one point $HOME/.mutt got screwed up
>

Okay I figured out what the problem was. What was confusing is I did not 
have any ~/.mutt or ~/.muttrc on either server. What this issue was that 
mutt unlike mail or piping to sendmail stores a copy of all outgoing 
emails in  ~/sent by default. On the 16.04 server the file has the wrong 
ownership root:root!

I didn't want sent mail saved to begin with so the solution was to 
remove ~/sent and create a  ~/.muttrc  file with:

set copy=no


-- 
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Back to alt.os.linux.ubuntu | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

mutt puzzle "Jonathan N. Little" <lws4art@gmail.com> - 2017-11-02 19:56 -0400
  Re: mutt puzzle Dan Purgert <dan@djph.net> - 2017-11-03 00:18 +0000
    Re: mutt puzzle [solved] "Jonathan N. Little" <lws4art@gmail.com> - 2017-11-02 23:05 -0400
      Re: mutt puzzle [solved] Dan Purgert <dan@djph.net> - 2017-11-03 14:58 +0000
        Re: mutt puzzle [solved] "Jonathan N. Little" <lws4art@gmail.com> - 2017-11-03 12:38 -0400
          Re: mutt puzzle [solved] Dan Purgert <dan@djph.net> - 2017-11-06 10:22 +0000
            Re: mutt puzzle [solved] "Jonathan N. Little" <lws4art@gmail.com> - 2017-11-06 09:32 -0500
              Re: mutt puzzle [solved] Dan Purgert <dan@djph.net> - 2017-11-07 11:00 +0000
                Re: mutt puzzle [solved] "Jonathan N. Little" <lws4art@gmail.com> - 2017-11-07 08:40 -0500
                Re: mutt puzzle [solved] Caver1 <caver1@inthemud.org> - 2017-11-07 09:56 -0500

csiph-web