On May 4, 2018, at 16:07, Benny Pedersen <me at junc.eu> wrote:> > outgoing mail should not be stored into root uid 0And yet it is.> root: some-other-unix-loginRoot has been aliased for decades. This has no impact on where and how mutt stores the mail it sends as root out of root?s crontab. -- My main job is trying to come up with new and innovative and effective ways to reject even more mail. I'm up to about 97% now.
Can you use a set record= for root? -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx at gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 ?On 5/4/18, 8:50 PM, "dovecot on behalf of LuKreme" <dovecot-bounces at dovecot.org on behalf of kremels at kreme.com> wrote: On May 4, 2018, at 16:07, Benny Pedersen <me at junc.eu> wrote: > > outgoing mail should not be stored into root uid 0 And yet it is. > root: some-other-unix-login Root has been aliased for decades. This has no impact on where and how mutt stores the mail it sends as root out of root?s crontab. -- My main job is trying to come up with new and innovative and effective ways to reject even more mail. I'm up to about 97% now.
> And yet it is.in muttrc you miss ~ or $(HOME)/something>> root: some-other-unix-login> Root has been aliased for decades. This has no impact on where and how > mutt stores the mail it sends as root out of root?s crontab.root user can read mail files for all unix users, thats your fail, maybe crontab miss $(HOME) where it matters, but if it have and you start mutt as root it does not help, and you see the problem in allow root to do too much i dont know mutt in detail, but its a fail to start mutt as root mutt must be started as some-other-unix-login the remaining fail is then in that users muttrc
On 2018-05-05 (06:52 MDT), Benny Pedersen <me at junc.eu> wrote:> >> And yet it is. > > in muttrc you miss ~ or $(HOME)/somethingNo.>> Root has been aliased for decades. This has no impact on where and how >> mutt stores the mail it sends as root out of root?s crontab. > > root user can read mail files for all unix users, thats your fail, maybe crontab miss $(HOME) where it matters, but if it have and you start mutt as root it does not help, and you see the problem in allow root to do too muchThere seems to be a basic misunderstanding here. root has a crontab. Part of that crontab parses some system log files (that only root has access to) for user data and generates an email in HTML. That email is sent via mutt because the basic mail commands could not send an HTML email properly. Mutt stores that email in ~root, and the email comes from the root user because that is who wins the crontab. The $HOME fro the user is /root/> i dont know mutt in detail, but its a fail to start mutt as rootSince the mail is generated out of root's cron, however the mail is sent, that process is going to be started by root.> mutt must be started as some-other-unix-loginSee above.> the remaining fail is then in that users muttrcThere is nothing wrong in the root muttrc. -- U is for UNA who slipped down a drain V is for VICTOR squashed by a train