Hey Jan, 

[email protected] (Jan Eden), 2026.01.18 (Sun) 18:56 (CET):
> On 2026-01-18 18:36, Marcus MERIGHI wrote:
> 
> > as far as I'm concerned there is no configuration of OpenSMTPd for
> > mlmmj.
> > 
> > The mlmmj-mailinglist is just another user on the (OpenBSD-) system.
> > 
> > I have something like this in my aliases(5), with
> > - example-info as a system user with a $HOME in which mlmmj is set up.
> > - example-admin is a mailbox read by a real person.
> > 
> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > [email protected]             example-admin
> > [email protected]      example-info
> > [email protected] example-info
> > [email protected] example-info

The last two are in vain, mlmmj wouldn't handle mails to this addresses.
(See further down...)
Mea culpa, thanks for pointing these out!

> > [email protected]             example-admin
> > [email protected]        example-admin
> > [email protected]      example-admin
> > [email protected]       example-admin
> > [email protected]             example-admin
> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > 
> > The system user example-info has a passwd(5) entry like this:
> > 
> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > example-info:*************:4068:3002:mlists:0:0:\
> >         mailinglist:/home/mlist/example-info:/sbin/nologin
> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > 
> > The $HOME directory /home/mlist/example-info is owned by example-info
> > and has a .forward(5) with this content:
> > 
> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > |/usr/local/bin/mlmmj-recieve -L /home/mlists/example-info
> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > 
> > Hope that helps a bit... 
> 
> Thank you! I found similar setups, but I was looking for a more
> integrated approach with messages for the lists getting handled via a
> match directive. From what I learned, each message is processed my mlmmj
> via the list name, so I was under the impression that I did not need a
> dedicated system user.

I think you need it because mlmmj needs a user to run as, anyways?

> Also: The mlmmj documentation advises against using "-" as a delimiter,
> and against using the same character in your list name and as delimiter:
> 
> > NOTE: Using ‘-’ as a delimiter is unlikely to work. Mlmmj uses ‘-’ as
> > its own kind of minor delimiter. Of course, you also cannot use the
> > delimiter in your list names or you will encounter problems.

mlmmj/README is having this paragraph talking about the delimiter that
seperates the listname ("example-info") from the command ("subscribe",
"unsubscribe").
 
> You seem to do both – did you experience any issues?
 
No. And I think I shouldn't...

smtpd.conf(5) says:
smtp sub-addr-delim character
  When resolving the local part of a local email address, ignore the
  ASCII character and all characters following it. The default is ‘+’.

This way, a subscriber sending an e-mail to
        <[email protected]>
ends up being handled by 
        "|/usr/local/bin/mlmmj-recieve -L /home/mlists/example-info"

mlmmj's TUNABLES says:
delimiter                     (normal)
  This specifies what to use as recipient delimiter for the list.
  Default is "+".

So in both cases, "+" being the default delimiter and me not changing
it, should fit the bill.

Marcus

Reply via email to