Am Mon, Dec 13, 2021 at 08:40:05PM +0100 schrieb tastytea:
> On 2021-12-12 14:25+0100 Frank Steinmetzger <war...@gmx.de> wrote:
> 
> > Hey list,
> > 
> > I am looking for an as-simple-as-possible setup for local mail
> > delivery. What I mean by that is: the mail shall go into
> > /var/spool/mail locally, which is why I deem it overkill to set up
> > and run a complicated smtpd daemon with its own config file language.
> 
> mail-client/mailx provides /usr/bin/mail which can be used for looking
> at mail in /var/spool/mail/ and for sending it to local users. No
> configuration necessary. cron and other software will automatically use
> it.

OK, it looks promising -- very neatly small and tiny. But:

lcars ~ # echo hello | mail root
lcars ~ # mail
No mail for root
lcars ~ #

Using strace, I found out that mail from mailx puts those mail into
/var/spool/clientmqueue/, one file per mail, but not in a maildir structure.
I had similar issues with mailutils’ mda. The ebuild installs no manpage and
the package’s website simply points to debian.org. -_-

In many places I read that system mail—by default—goes into
/var/spool/mail/<user>, but until now I’ve yet to observe this behavior.
It’s becoming a little frustrating by now. This is also not my first attempt
at this; I tried this before in the past years but never reached the goal.

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

“Hodor.”

Attachment: signature.asc
Description: PGP signature

Reply via email to