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


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

mutt puzzle

Started by"Jonathan N. Little" <lws4art@gmail.com>
First post2017-11-02 19:56 -0400
Last post2017-11-07 09:56 -0500
Articles 10 — 3 participants

Back to article view | Back to alt.os.linux.ubuntu


Contents

  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

#197556 — mutt puzzle

From"Jonathan N. Little" <lws4art@gmail.com>
Date2017-11-02 19:56 -0400
Subjectmutt puzzle
Message-ID<otgbb7$4oh$1@dont-email.me>
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

[toc] | [next] | [standalone]


#197557

FromDan Purgert <dan@djph.net>
Date2017-11-03 00:18 +0000
Message-ID<slrnovnde6.5at.dan@xps-linux.djph.net>
In reply to#197556
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



-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

[toc] | [prev] | [next] | [standalone]


#197559 — Re: mutt puzzle [solved]

From"Jonathan N. Little" <lws4art@gmail.com>
Date2017-11-02 23:05 -0400
SubjectRe: mutt puzzle [solved]
Message-ID<otgmdt$3v3$1@dont-email.me>
In reply to#197557
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

[toc] | [prev] | [next] | [standalone]


#197560 — Re: mutt puzzle [solved]

FromDan Purgert <dan@djph.net>
Date2017-11-03 14:58 +0000
SubjectRe: mutt puzzle [solved]
Message-ID<slrnovp107.5at.dan@xps-linux.djph.net>
In reply to#197559
Jonathan N. Little wrote:
> 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

Easy enough of a fix, once you knew what to look for :) good deal.

>
>


-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

[toc] | [prev] | [next] | [standalone]


#197561 — Re: mutt puzzle [solved]

From"Jonathan N. Little" <lws4art@gmail.com>
Date2017-11-03 12:38 -0400
SubjectRe: mutt puzzle [solved]
Message-ID<oti633$p9b$1@dont-email.me>
In reply to#197560
Dan Purgert wrote:
> Easy enough of a fix, once you knew what to look for :) good deal.

Ain't that always the way. Solutions are always easier to find once you 
find them.

-- 
Take care,

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

[toc] | [prev] | [next] | [standalone]


#197564 — Re: mutt puzzle [solved]

FromDan Purgert <dan@djph.net>
Date2017-11-06 10:22 +0000
SubjectRe: mutt puzzle [solved]
Message-ID<slrnp00dus.5co.dan@xps-linux.djph.net>
In reply to#197561
Jonathan N. Little wrote:
> Dan Purgert wrote:
>> Easy enough of a fix, once you knew what to look for :) good deal.
>
> Ain't that always the way. Solutions are always easier to find once you 
> find them.

Sometimes.  Other times I find the "solution(tm)" to be more arduous
than "format, reinstall, restore from backups".



-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

[toc] | [prev] | [next] | [standalone]


#197565 — Re: mutt puzzle [solved]

From"Jonathan N. Little" <lws4art@gmail.com>
Date2017-11-06 09:32 -0500
SubjectRe: mutt puzzle [solved]
Message-ID<otprqe$kt2$1@dont-email.me>
In reply to#197564
Dan Purgert wrote:
> Jonathan N. Little wrote:
>> Dan Purgert wrote:
>>> Easy enough of a fix, once you knew what to look for :) good deal.
>>
>> Ain't that always the way. Solutions are always easier to find once you
>> find them.
>
> Sometimes.  Other times I find the "solution(tm)" to be more arduous
> than "format, reinstall, restore from backups".

Only with Windows for me.


-- 
Take care,

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

[toc] | [prev] | [next] | [standalone]


#197567 — Re: mutt puzzle [solved]

FromDan Purgert <dan@djph.net>
Date2017-11-07 11:00 +0000
SubjectRe: mutt puzzle [solved]
Message-ID<slrnp034ij.4qf.dan@xps-linux.djph.net>
In reply to#197565
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonathan N. Little wrote:
> Dan Purgert wrote:
>> Jonathan N. Little wrote:
>>> Dan Purgert wrote:
>>>> Easy enough of a fix, once you knew what to look for :) good deal.
>>>
>>> Ain't that always the way. Solutions are always easier to find once you
>>> find them.
>>
>> Sometimes.  Other times I find the "solution(tm)" to be more arduous
>> than "format, reinstall, restore from backups".
>
> Only with Windows for me.

Then you've never had to fight with nvidia optimus on a laptop.  Lucky
you :).



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJaAZJTAAoJEI4R3fMSeaKBj5MH/j2jkO9FVPobT0t3/gSSJyRb
/Ndpjw/xJIx3TjqcWHFFWfvsP9ziRUYbtnDedv+T+AATiK0UUFmEyMF4Kec45DWt
sFMN3/8ul5fTAS19jzSjcm9MWjb4+bonAyJ6Ihl0YfReI9jCIC5gGO26KbUOBHSI
+tOI5k2iQF/9XIlg9t5P5FWovUxd9rjJweHqMcDCS/QgJNyman47wK/LFct2qf2G
GZgjZkokZmYhyiYGjKy75BsQVW6AM06LnGIcldLH0eMMjeWG0U+1ovUg74i14BZ/
xWDmb0lUIUv0vOZF19yI9vrJU/GGCl1rAhPWGur/BKOz3Maxz407vlnQP9iRnH8=
=q5wU
-----END PGP SIGNATURE-----

-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

[toc] | [prev] | [next] | [standalone]


#197568 — Re: mutt puzzle [solved]

From"Jonathan N. Little" <lws4art@gmail.com>
Date2017-11-07 08:40 -0500
SubjectRe: mutt puzzle [solved]
Message-ID<otsd49$lo6$1@dont-email.me>
In reply to#197567
Dan Purgert wrote:
> Jonathan N. Little wrote:
>> Dan Purgert wrote:
>>> Jonathan N. Little wrote:
>>>> Dan Purgert wrote:
>>>>> Easy enough of a fix, once you knew what to look for :) good deal.
>>>>
>>>> Ain't that always the way. Solutions are always easier to find once you
>>>> find them.
>>>
>>> Sometimes.  Other times I find the "solution(tm)" to be more arduous
>>> than "format, reinstall, restore from backups".
>
>> Only with Windows for me.
>
> Then you've never had to fight with nvidia optimus on a laptop.  Lucky
> you :).
>
Well actually on a dare I upgraded to 16.04 my old Dell Latitude D820 
with a problematic GeForce Go7300 GPU. The first time with an LTS I had 
304 legacy driver royally foobar the system. Spent a considerable time 
fixing it. It is the first time the nouveau driver worked better than 
the nVidia. Actually it is compiz that is the real issue. Had to freeze 
the version when running 14.04.

I had 15.04 on it, which was the last version of Ubuntu where I could 
get the nVidia driver working on the D820. Using the proprietary driver 
greatly enhances the performance and allow all kinds of eye candy even 
on ancient 13+ year-old hardware, first generation dual core (32-bit 
limited too).

Tried 17.10 on it too. Gnome desktop was also a no-go. Compiz issue I 
assume. 17.10 Mint worked, but I have gotten so use to Unity I have no 
desire to regress back to a WinXP UI. I have hopes that when 18.04 rolls 
around that the Unity forks will be ready, otherwise I will be sticking 
with 16.04 until EOL.


-- 
Take care,

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

[toc] | [prev] | [next] | [standalone]


#197569 — Re: mutt puzzle [solved]

FromCaver1 <caver1@inthemud.org>
Date2017-11-07 09:56 -0500
SubjectRe: mutt puzzle [solved]
Message-ID<otshik$o94$1@dont-email.me>
In reply to#197568
On 11/7/17 8:40 AM, Jonathan N. Little wrote:
> Dan Purgert wrote:
>> Jonathan N. Little wrote:
>>> Dan Purgert wrote:
>>>> Jonathan N. Little wrote:
>>>>> Dan Purgert wrote:
>>>>>> Easy enough of a fix, once you knew what to look for :) good deal.
>>>>>
>>>>> Ain't that always the way. Solutions are always easier to find once you
>>>>> find them.
>>>>
>>>> Sometimes.  Other times I find the "solution(tm)" to be more arduous
>>>> than "format, reinstall, restore from backups".
>>
>>> Only with Windows for me.
>>
>> Then you've never had to fight with nvidia optimus on a laptop.  Lucky
>> you :).
>>
> Well actually on a dare I upgraded to 16.04 my old Dell Latitude D820
> with a problematic GeForce Go7300 GPU. The first time with an LTS I had
> 304 legacy driver royally foobar the system. Spent a considerable time
> fixing it. It is the first time the nouveau driver worked better than
> the nVidia. Actually it is compiz that is the real issue. Had to freeze
> the version when running 14.04.
> 
> I had 15.04 on it, which was the last version of Ubuntu where I could
> get the nVidia driver working on the D820. Using the proprietary driver
> greatly enhances the performance and allow all kinds of eye candy even
> on ancient 13+ year-old hardware, first generation dual core (32-bit
> limited too).
> 
> Tried 17.10 on it too. Gnome desktop was also a no-go. Compiz issue I
> assume. 17.10 Mint worked, but I have gotten so use to Unity I have no
> desire to regress back to a WinXP UI. I have hopes that when 18.04 rolls
> around that the Unity forks will be ready, otherwise I will be sticking
> with 16.04 until EOL.
> 
> 

Take a look here for the Unity version of 17.10;
https://sourceforge.net/projects/unity7sl/
I have it running in a VM, so far so good.
-- 
Caver1

[toc] | [prev] | [standalone]


Back to top | Article view | alt.os.linux.ubuntu


csiph-web