From: Jan Eden <tech@eden.one>
To: mlmmj@mlmmj.org
Subject: Configuration of mlmmj with OpenSMTPD
Date: Mon, 19 Jan 2026 14:32:56 +0100 [thread overview]
Message-ID: <aW4yiHFIdqe5YIxO@client.eden.one> (raw)
Hi,
after using Mailman3 (with Postfix) for a couple of years, I was looking
for a (much) simpler solution and found mlmmj. What a great tool. I plan
to use it with OpenSMTPD and in my initial testing, I struggled to
create an elegant, integrated configuration. The following configuration
does work –
--------------------------------------------------
table mailing_lists file:/usr/local/etc/mail/lists
action "mlmmj" expand-only virtual <mailing_lists>
match from any for rcpt-to <mailing_lists> action "mlmmj"
--------------------------------------------------
with a lists file containing entries like
--------------------------------------------------
testing@example.com "|/usr/local/bin/mlmmj-receive -L /var/spool/mlmmj/testing/"
--------------------------------------------------
But when I try to reference the mlmmj-receive binary in smtpd.conf
directly like this:
--------------------------------------------------
table mailing_lists file:/usr/local/etc/mail/lists
action "mlmmj" mda "/usr/local/bin/mlmmj-receive -L /var/spool/mlmmj/%{rcpt.user}/"
match from any for rcpt-to <mailing_lists> action "mlmmj"
--------------------------------------------------
with list entries like
--------------------------------------------------
testing@example.com testing
--------------------------------------------------
The server always returns an error message:
--------------------------------------------------
msmtp: recipient address testing@example.com not accepted by the server
msmtp: server message: 550 Invalid recipient: <testing@example.com>
--------------------------------------------------
I know that the "mda" action should work in this scenario, but I cannot
get it to work, neither in the form quoted above nor with the addition
of "virtual <mailing_lists>". I asked my question on the OpenSMTPD
mailing list, too, but no one could point me to my error (which must be
somewhere).
Thanks in advance for any hint,
Jan
reply other threads:[~2026-01-19 13:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aW4yiHFIdqe5YIxO@client.eden.one \
--to=tech@eden.one \
--cc=mlmmj@mlmmj.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox