Here is a sendmail configuration that uses the sendmail mailertable file to redirect mailing list messages to the Mailman LMTP runner.
Here are some references I used for this method:
Enable the mailertable feature by adding this line to sendmail.mc:
FEATURE(`mailertable')dnl
Create a LMTP mailer that is used to direct mail received by sendmail to Mailman's LMTP runner; add this to the end of sendmail.mc:
MAILER_DEFINITIONS
Mmm3lmtp, P=[IPC], F=PSXmnz9, S=EnvFromSMTP/HdrFromSMTP,
E=\r\n, L=1024, A=TCP $h 8024
Important: Replace 2 or more blanks with tabs.
Transfer mailing list messages to Mailman:
example.com.private mm3lmtp:[127.0.0.1]
Important: Use tabs for whitespace.
Add list aliases to the virtusertable file:
test@example.com test@example.com.private test-request@example.com test-request@example.com.private test-owner@example.com test-owner@example.com.private test-join@example.com test-join@example.com.private test-leave@example.com test-leave@example.com.private test-bounces@example.com test-bounces@example.com.private
We need an entry in the hosts file:
127.0.0.25 example.com.private
Otherwise sendmail will fail to resolve the hostname and the message will get stuck in the sendmail mail queue.
For each Mailman configured domain use the web GUI to add an "Alias Domain" for the .default version.
Domains → Edit → Alias Domain
For example:
Copyright © 2026
Craig Leres