Re: [SOLVED] Re: [gentoo-user] msmtp vs. nullmailer

2015-07-23 Thread Marc Joliet
Am Mon, 20 Jul 2015 10:23:30 -0400 schrieb Walter Dnes waltd...@waltdnes.org: On Mon, Jul 20, 2015 at 01:21:56PM +0200, Marc Joliet wrote This choice came about because I switched from fcron to systemd-cron, which runs its mail_on_failure script as user nobody, which caused my current

[SOLVED] Re: [gentoo-user] msmtp vs. nullmailer

2015-07-20 Thread Marc Joliet
OK, I finally solved this, albeit a bit differently... by switching to nullmailer. The TL/DR summary is: use the right tool for the job. Some more details follow below. Nullmailer was very easy to set up (the deceptively short HOWTO is pretty much all that is needed). The only problem is that

Re: [SOLVED] Re: [gentoo-user] msmtp vs. nullmailer

2015-07-20 Thread Walter Dnes
On Mon, Jul 20, 2015 at 01:21:56PM +0200, Marc Joliet wrote This choice came about because I switched from fcron to systemd-cron, which runs its mail_on_failure script as user nobody, which caused my current passwordeval command (cat somefile, somefile having a mode mask of 0600) That is

Re: [SOLVED] Re: [gentoo-user] msmtp vs. nullmailer

2015-07-20 Thread Mick
On Monday 20 Jul 2015 15:23:30 Walter Dnes wrote: On Mon, Jul 20, 2015 at 01:21:56PM +0200, Marc Joliet wrote This choice came about because I switched from fcron to systemd-cron, which runs its mail_on_failure script as user nobody, which caused my current passwordeval command (cat

Re: [SOLVED] Re: [gentoo-user] msmtp vs. nullmailer

2015-07-20 Thread Walter Dnes
On Mon, Jul 20, 2015 at 06:49:00PM +0100, Mick wrote This is all good and dandy, but letting user nobody read your mail accoutn passwd may not be the safest approach to sending email messages from your machine. I think you missed the point. The NOPASSWD: option means that this one

Re: [SOLVED] Re: [gentoo-user] msmtp vs. nullmailer

2015-07-20 Thread Alan McKinnon
On 21/07/2015 00:24, Mick wrote: On Monday 20 Jul 2015 22:50:31 Walter Dnes wrote: On Mon, Jul 20, 2015 at 06:49:00PM +0100, Mick wrote This is all good and dandy, but letting user nobody read your mail accoutn passwd may not be the safest approach to sending email messages from your

Re: [SOLVED] Re: [gentoo-user] msmtp vs. nullmailer

2015-07-20 Thread Mick
On Monday 20 Jul 2015 22:50:31 Walter Dnes wrote: On Mon, Jul 20, 2015 at 06:49:00PM +0100, Mick wrote This is all good and dandy, but letting user nobody read your mail accoutn passwd may not be the safest approach to sending email messages from your machine. I think you missed the

Re: [SOLVED] Re: [gentoo-user] msmtp vs. nullmailer

2015-07-20 Thread Alan McKinnon
On 20/07/2015 23:50, Walter Dnes wrote: On Mon, Jul 20, 2015 at 06:49:00PM +0100, Mick wrote [snip] You can tell it to run a script that contains that command. Having passwords floating around on disk in clear text is a *BAD* idea. Some user friendly distros, like Ubuntu, let you run