Am Mon, Dec 20, 2021 at 01:00:13PM -0700 schrieb Grant Taylor:
> On 12/20/21 12:08 PM, Frank Steinmetzger wrote:
> > There is one last niggle: after I read a message with the mail tool, it
> > saves those messages in /root/mbox. It does not do this on Arch, but
> > keeps them in /var/spool/mail/root instead.
> 
> This sounds like the doing of your mail user agent.
> 
> The MTA+LDA receive and deliver the mail (respectively) to the user's
> mailbox.

Delivery works on both systems (with a little caveat, see second-last
paragraph).

> The MUA is what reads / modifies the mailbox.
> So ... compare the email client that you're using between the two systems.

At first I believed that both systems used mail from GNU mailutils.
But I erred:

My Gentoo NAS only has mailutils installed. But while I have that also
installed on Arch, I was in fact using s-nail’s mail program there.
Mailutils installs its mail as /usr/bin/gnu-mail instead, which allows both
packages to co-exist (which Gentoo does not). So I tried gnu-mail on Arch,
but this does not move read mail away upon exit like its Gentoo cousin.

I did more trials, wrote a lengthy description of it into this message and
threw them away again, so I wouldn’t bore you. In the end I gave up, removed
Gentoo’s mailutils and went with s-nail. And now it works. ¯\_(ツ)_/¯


Maybe building dma from source broke some stuff, because it installed into
/usr/local. `echo foo | mail root` (mail from mailutils) produces mail that
remains in dma’s queue, whereas `echo bar | sendmail root` (/usr/local/sbin/
sendmail from dma) gets the mail delivered to the spool file. But the latter
mails were missing vital headers and thus mail had a problem displaying
them properly.

It’s all a bit voodoo-esque to my simple-minded user’s point of view;
confusion over many implementations of the same standard; they should
interoperate, but maybe don’t, or maybe I did not configure them properly.
plus the overly complex configs and info documentation on GNU’s side which
keeps me away. It must have been great days back in the 80s. I wish I had
experienced those times and machines.

-- 
Grüße | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

What lies on the bottom of the ocean and shivers? - A nervours wreck.

Attachment: signature.asc
Description: PGP signature

Reply via email to