Gentoo Archives: gentoo-user

From: Frank Steinmetzger <Warp_7@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Local mail delivery agent (MDA) wanted
Date: Mon, 20 Dec 2021 22:09:46
Message-Id: YcD/DMXMxWH21fKq@kern
In Reply to: Re: [gentoo-user] Local mail delivery agent (MDA) wanted by Grant Taylor
1 Am Mon, Dec 20, 2021 at 01:00:13PM -0700 schrieb Grant Taylor:
2 > On 12/20/21 12:08 PM, Frank Steinmetzger wrote:
3 > > There is one last niggle: after I read a message with the mail tool, it
4 > > saves those messages in /root/mbox. It does not do this on Arch, but
5 > > keeps them in /var/spool/mail/root instead.
6 >
7 > This sounds like the doing of your mail user agent.
8 >
9 > The MTA+LDA receive and deliver the mail (respectively) to the user's
10 > mailbox.
11
12 Delivery works on both systems (with a little caveat, see second-last
13 paragraph).
14
15 > The MUA is what reads / modifies the mailbox.
16 > So ... compare the email client that you're using between the two systems.
17
18 At first I believed that both systems used mail from GNU mailutils.
19 But I erred:
20
21 My Gentoo NAS only has mailutils installed. But while I have that also
22 installed on Arch, I was in fact using s-nail’s mail program there.
23 Mailutils installs its mail as /usr/bin/gnu-mail instead, which allows both
24 packages to co-exist (which Gentoo does not). So I tried gnu-mail on Arch,
25 but this does not move read mail away upon exit like its Gentoo cousin.
26
27 I did more trials, wrote a lengthy description of it into this message and
28 threw them away again, so I wouldn’t bore you. In the end I gave up, removed
29 Gentoo’s mailutils and went with s-nail. And now it works. ¯\_(ツ)_/¯
30
31
32 Maybe building dma from source broke some stuff, because it installed into
33 /usr/local. `echo foo | mail root` (mail from mailutils) produces mail that
34 remains in dma’s queue, whereas `echo bar | sendmail root` (/usr/local/sbin/
35 sendmail from dma) gets the mail delivered to the spool file. But the latter
36 mails were missing vital headers and thus mail had a problem displaying
37 them properly.
38
39 It’s all a bit voodoo-esque to my simple-minded user’s point of view;
40 confusion over many implementations of the same standard; they should
41 interoperate, but maybe don’t, or maybe I did not configure them properly.
42 plus the overly complex configs and info documentation on GNU’s side which
43 keeps me away. It must have been great days back in the 80s. I wish I had
44 experienced those times and machines.
45
46 --
47 Grüße | Greetings | Qapla’
48 Please do not share anything from, with or about me on any social network.
49
50 What lies on the bottom of the ocean and shivers? - A nervours wreck.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Local mail delivery agent (MDA) wanted Grant Taylor <gtaylor@×××××××××××××××××××××.net>