Mailman Multidomain

Gelpi Andrea liste at gelpi.it
Tue Aug 5 08:59:52 CEST 2014


Il 04/08/2014 22:11, Tobias Brunner ha scritto:
> Hi,
> 
> Thanks for your input.
> 
>> I had the same problem.
>> I solved with:
>>
>> In /etc/postfix/main.cf I added at the end of virtual_alias_maps
>> hash:/var/lib/mailman/data/virtual-mailman
>>
>> Virtual-mailman is:
>>
>> # LOOP ADDRESSES START
>> mailman-loop a example.com       mailman-loop a example.com
>> # LOOP ADDRESSES END
>>
>> # STANZA START: mailman
>> # CREATED: Fri Jul  5 13:13:00 2014 by Gelpi
>> mailman a example.com            mailman a gelpi.it
>> mailman-admin a gexample.com      mailman-admin a example.com
>> mailman-bounces a example.com      mailman-bounces a example.com
>> mailman-confirm a example.com      mailman-confirm a example.com
>> mailman-join a example.com         mailman-join a example.com
>> mailman-leave a example.com        mailman-leave a example.com
>> mailman-owner a example.com        mailman-owner a example.com
>> mailman-request a example.com      mailman-request a example.com
>> mailman-subscribe a example.com    mailman-subscribe a example.com
>> mailman-unsubscribe a example.com  mailman-unsubscribe a example.com
>> # STANZA END: mailman
>>
>> and so on ...
>>
>>
>> I don't know why I had to add domain in the right part.
>> With kolab 2.x it is not necessary.
> 
> I'm still facing the same issue, the external piped command is not
> executed but treated as mail user:
> 
> Aug  4 22:05:59 james postfix/smtp[9921]: 4B87259F52:
> to=<|/var/lib/mailmen/lists.myproject.org/mail/mailman post
> mailman a mydomain.ch>, orig_to=<mailman a lists.myproject.org>,
> relay=127.0.0.1[127.0.0.1]:10024, delay=3.3, delays=2.9/0.01/0/0.35,
> dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250
> 2.0.0 Ok: queued as AD2DF59F1B)
> 
> Other ideas?
> 
> Cheers,
> Tobias

To have mailman with more than one domain working I also have this in
/etc/aliases

## mailman mailing list
mailman:              "|/var/lib/mailman/mail/mailman post mailman"
mailman-admin:        "|/var/lib/mailman/mail/mailman admin mailman"
mailman-bounces:      "|/var/lib/mailman/mail/mailman bounces mailman"
mailman-confirm:      "|/var/lib/mailman/mail/mailman confirm mailman"
mailman-join:         "|/var/lib/mailman/mail/mailman join mailman"
mailman-leave:        "|/var/lib/mailman/mail/mailman leave mailman"
mailman-owner:        "|/var/lib/mailman/mail/mailman owner mailman"
mailman-request:      "|/var/lib/mailman/mail/mailman request mailman"
mailman-subscribe:    "|/var/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe:  "|/var/lib/mailman/mail/mailman unsubscribe mailman"
#

And so on for every list.

Then create the dbs with
newalias
postmap /var/lib/mailman/data/virtual-mailman

Before configure mailman you must be sure multi domain is working in kolab.
I found documentation on docs.kolab.org not up to date.


-- 
ing. Andrea Gelpi
***************************************************
La Terra non la abbiamo ereditata dai nostri avi,
ma la abbiamo presa in prestito dai nostri bambini.
***************************************************
We do not inherit the Earth from our parents,
but borrow it from our children.
***************************************************


More information about the users mailing list