bijayant kumar wrote: > >I have postfix configure for virtual domain. Whenever >i add a new list for a new domain, it takes the >[EMAIL PROTECTED] as a email address for >newly created list and all the aliases being generated >on the basis of previousdomain.com. When i change the >default host this list prefers setting from the >interface, then mails are started to bounce saying >user unknown in virtual mailbox table. I will explain >my problem with the example... >I have three virtual domain dom1.com, >dom2.com,dom3.com >in mm_cfg.py i have >POSTFIX_STYLE_VIRTUAL_DOMAINS = ['dom1.com'] >add_virtualhost('lists.bijayant.com', 'dom1.com') > >It works fine. lists created takes the address >[EMAIL PROTECTED] > >But when i add a new list say list2 like > >POSTFIX_STYLE_VIRTUAL_DOMAINS = >['dom1.com','dom2.com'] >add_virtualhost('lists.bijayant.com', 'dom1.com') >add_virtualhost('lists.bijayant.com', 'dom2.com') > >The newly created list2 takes the address >[EMAIL PROTECTED]
Are you sure it isn't the other way around? When you have add_virtualhost('lists.bijayant.com', 'dom1.com') add_virtualhost('lists.bijayant.com', 'dom2.com') The second entry effectively replaces the first because what they do is add entries to a Python dictionary (a hash table). The first argument is the key and the second is the value. So the first above makes an entry with key 'lists.bijayant.com' and value 'dom1.com' and the second replaces the value for key 'lists.bijayant.com' with 'dom2.com' >when i update hostname setting from the list2 >Administrative interface, mail start bouncing. If you run Mailman's bin/genaliases after editing the list's host_name, that should fix the virtual maps. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ 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