Hi Mark Thanks for your replay!
Mark Sapiro skrev: >> We have two domains domain1.com and domain2.com. >> domain1.com is the primary domain and domain2.com is the virtual one. >> >> In my /etc/mailman/mm_cfg.py config I have the following: >> >> MTA='Postfix' >> POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain1.com', 'lists.domain2.com'] >> > > > You may or may not want the primary domain listed here. If it is truly > the primary domain in Postfix, you don't need virtual alias maps for > that domain. > > I suggest you want > > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain2.com'] > > or if I look at what you have below, I think you want > > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['domain2.com'] > > i.e., the domain you want there is the virtual email domain. > ok, will test it. >> In postfix: >> mydomain = domain1.com >> myhost = mail.domain1.com >> mydestination = $myhost, localhost.$mydomain >> recipient_delimiter = + >> recive_override_options = no_address_mappings >> > > I don't think you want the above line. > why? the mailman doc. says to add this line to main.cf. >> alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases >> alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases >> > > No. You want only > > alias_database = hash:/etc/aliases > > >> virtual_alias_maps = hash:/etc/postfix/virtual, >> hash:/var/lib/mailman/data/virtual-mailman >> > > > You also want > > virtual_alias_domains = domain2.com > > >> Files: >> /etc/postfix/virtual >> [EMAIL PROTECTED] list-tow >> > > You don't want the above here, you want it below. > >> ... >> >> /var/lib/mailman/data/virtual-mailman >> [EMAIL PROTECTED] list-one >> > > and you don't want the above here at all. You just want the 10 > addresses per list for the domain2 lists. Mailman will do this for you. > Ok, thanks. /hj ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp