root/alternc-mailman/trunk/patches/mailman-true-virtual-2.1.1.patch

Revision 2208, 3.8 kB (checked in by anarcat, 4 months ago)

first attempt at integrating the VirtualMailman patches

  • ./bin/newlist

    old new  
    133133    host_name = None 
    134134    web_page_url = None 
    135135    if '@' in listname: 
    136         listname, domain = listname.split('@', 1) 
     136        firstname, domain = listname.split('@', 1) 
    137137        host_name = mm_cfg.VIRTUAL_HOSTS.get(domain, domain) 
    138138        web_page_url = mm_cfg.DEFAULT_URL_PATTERN % domain 
    139139 
  • Mailman/Handlers/CookHeaders.py

    old new  
    165165    if msgdata.get('_nolist') or not mlist.include_rfc2369_headers: 
    166166        return 
    167167    # Pre-calculate 
    168     listid = '<%s.%s>' % (mlist.internal_name(), mlist.host_name
     168    listid = '<%s>' % (mlist.internal_name()
    169169    if mlist.description: 
    170170        # Make sure description is properly i18n'd 
    171171        listid_h = uheader(mlist, mlist.description, 'List-Id') 
Note: See TracBrowser for help on using the browser.