[Mailman-Users] iterative loop

Mark Sapiro mark at msapiro.net
Fri Mar 22 12:14:01 EDT 2019

On 3/22/19 5:42 AM, Web Analysts via Mailman-Users wrote:
> Okay here's the output from 'postconf -n'
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases


> mydestination = mail.domainname.tld, mail1.domainname.tld,
> lists.domainname.tld, localhost.domainname.tld, localhost


> relay_domains = $mydestination, lists.domainname.tld

lists.domainname.tld is redundant here as it's in $mydestination, but I
think this in combination with

virtual_transport = lmtp:unix:private/dovecot-lmtp

is the issue. I suggest setting

relay_domains = mail.domainname.tld, mail1.domainname.tld,
 localhost.domainname.tld, localhost

I.e. everything in $mydestination except lists.domainname.tld.

> relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman

Then this will be unnecessary.

If that doesn't fix your issue, look at /var/lib/mailman/data/aliases
and ensure that the  aliases for each list that look like

> LISTNAME:             "|/var/lib/mailman/mail/mailman post LISTNAME"
> LISTNAME-admin:       "|/var/lib/mailman/mail/mailman admin LISTNAME"
> LISTNAME-bounces:     "|/var/lib/mailman/mail/mailman bounces LISTNAME"
> LISTNAME-confirm:     "|/var/lib/mailman/mail/mailman confirm LISTNAME"
> LISTNAME-join:        "|/var/lib/mailman/mail/mailman join LISTNAME"
> LISTNAME-leave:       "|/var/lib/mailman/mail/mailman leave LISTNAME"
> LISTNAME-owner:       "|/var/lib/mailman/mail/mailman owner LISTNAME"
> LISTNAME-request:     "|/var/lib/mailman/mail/mailman request LISTNAME"
> LISTNAME-subscribe:   "|/var/lib/mailman/mail/mailman subscribe LISTNAME"
> LISTNAME-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe LISTNAME"

In particular, that the quotes around the commands are not missing,
although I don't see how they could be unless you edited this by hand.
If there is an issue, running Mailman's bin/genaliases as the Mailman user

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list