multiple domains - mailman-bounces@subdomain.example.com not

Hi,
maybe some one will be able to support me here.
In our Mailman configuration we are using two sender domains:
example.com subdomain.example.com
In the file /etc/mailman/virtual-mailman I have found only this addresses
# STANZA START: mailman # CREATED: Thu Jun 22 10:43:16 2017 mailman@example.com mailman mailman-admin@example.com mailman-admin mailman-bounces@example.com mailman-bounces mailman-confirm@example.com mailman-confirm mailman-join@example.com mailman-join mailman-leave@example.com mailman-leave mailman-owner@example.com mailman-owner mailman-request@example.com mailman-request mailman-subscribe@example.com mailman-subscribe mailman-unsubscribe@example.com mailman-unsubscribe
but there are no entries for subdomain.example.com.
When system sending messages with sender domain - subdomain.example.com out - then we have a problem with e-mail loop because e-mail address
mailman-owner@subdomain.example.com is not known for the mailman and server pushing it to the relay.
I would like to understand how its working with multiple domains. Does mailman and mailman-*@* addresses are reserverd only for root domain ? What about subdomain ?
Do I have to create separate entry like this one to resolve my e-mail loop issue ?
mailman@subdomain.example.com mailman mailman-admin@subdomain.example.com mailman-admin mailman-bounces@subdomain.example.com mailman-bounces mailman-confirm@subdomain.example.com mailman-confirm mailman-join@subdomain.example.com mailman-join mailman-leave@subdomain.example.com mailman-leave mailman-owner@subdomain.example.com mailman-owner mailman-request@subdomain.example.com mailman-request mailman-subscribe@subdomain.example.com mailman-subscribe mailman-unsubscribe@subdomain.example.com mailman-unsubscribe
In the postfix mail_log I see that instead of to deliver this message to local mailman accounts
From: mailman-bounces@subdomain.example.com To: mailman-owner@subdomain.example.com
postfix is forwarding that messages to the next relay.
Do I need to configure for all sender subdomains aliases where each alias will point default account mailman, mailman-*@example.com or each subdomain should use its own aliases mailman, mailman-*@subdomain.example.com ?
Thanks in advance for Your support.
Cheers Konrad
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

On 2/4/19 2:46 AM, Konrad Wawryn wrote:
In our Mailman configuration we are using two sender domains:
example.com subdomain.example.com
In the file /etc/mailman/virtual-mailman I have found only this addresses
# STANZA START: mailman # CREATED: Thu Jun 22 10:43:16 2017 mailman@example.com mailman mailman-admin@example.com mailman-admin mailman-bounces@example.com mailman-bounces mailman-confirm@example.com mailman-confirm mailman-join@example.com mailman-join mailman-leave@example.com mailman-leave mailman-owner@example.com mailman-owner mailman-request@example.com mailman-request mailman-subscribe@example.com mailman-subscribe mailman-unsubscribe@example.com mailman-unsubscribe
but there are no entries for subdomain.example.com.
Mailman 2.1 does not support two lists with the same listname. This you cannot configure Mailman as distributed to generate virtual mappings for both domains.
I would like to understand how its working with multiple domains. Does mailman and mailman-*@* addresses are reserverd only for root domain ? What about subdomain ?
Do I have to create separate entry like this one to resolve my e-mail loop issue ?
mailman@subdomain.example.com mailman mailman-admin@subdomain.example.com mailman-admin mailman-bounces@subdomain.example.com mailman-bounces mailman-confirm@subdomain.example.com mailman-confirm mailman-join@subdomain.example.com mailman-join mailman-leave@subdomain.example.com mailman-leave mailman-owner@subdomain.example.com mailman-owner mailman-request@subdomain.example.com mailman-request mailman-subscribe@subdomain.example.com mailman-subscribe mailman-unsubscribe@subdomain.example.com mailman-unsubscribe
Yes. It is possible to patch Mailman/MTA/Postfix.py to write those mappings as well. Here in context is a patch I use to create mappings for the grizzlypeakcyclists.org domain as well as grizz.org.
# Now add all the standard alias entries for k, v in makealiases(listname): fqdnaddr = '%s@%s' % (k, hostname) if mm_cfg.VIRTUAL_MAILMAN_LOCAL_DOMAIN: localaddr = '%s@%s' % (k, mm_cfg.VIRTUAL_MAILMAN_LOCAL_DOMAIN) else: localaddr = k # Format the text file nicely print >> fp, fqdnaddr, ((fieldsz - len(k)) * ' '), localaddr # Major Kludge alert! if hostname == 'grizz.org': for k, v in makealiases(listname): fqdnaddr = '%s@%s' % (k, 'grizzlypeakcyclists.org') if mm_cfg.VIRTUAL_MAILMAN_LOCAL_DOMAIN: localaddr = '%s@%s' % (k, mm_cfg.VIRTUAL_MAILMAN_LOCAL_DOMAIN) else: localaddr = k # Format the text file nicely print >> fp, fqdnaddr, ((fieldsz - len(k)) * ' '), localaddr # Finish the text file stanza
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Konrad Wawryn
-
Mark Sapiro