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


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

mutt puzzle

From "Jonathan N. Little" <lws4art@gmail.com>
Newsgroups alt.os.linux.ubuntu
Subject mutt puzzle
Date 2017-11-02 19:56 -0400
Organization LITTLE WORKS STUDIO
Message-ID <otgbb7$4oh$1@dont-email.me> (permalink)

Show all headers | View raw


Many scripts that I run on my servers send email reports and notices. I 
have one script that I am using mutt because it makes making attachments 
easy. The only problem is that it fails on server running Ubuntu 16.04 
but works on ones with 14.04

What I notice when running command line tests is 14.04 using mutt or 
mail works:

$ echo "This is a test " | mail -s "Test Subject" sample@example.com
$ echo "This is a test " | mutt -s "Test Subject" sample@example.com

On 16.04 mail works:
$ echo "This is a test " | mail -s "Test Subject" sample@example.com

but fails with mutt:
$ 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'

Both servers are similarly configured as dovecot/postfix mailservers. 
What as I missing?

-- 
Take care,

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

Back to alt.os.linux.ubuntu | Previous | Next — 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