root/alternc-mailman/trunk/patches/mailman-true-virtual-2.1.5.patch
| Revision 2208, 5.2 kB (checked in by anarcat, 5 months ago) |
|---|
-
mailman/bin/newlist
old new 133 133 host_name = None 134 134 web_page_url = None 135 135 if '@' in listname: 136 listname, domain = listname.split('@', 1)136 firstname, domain = listname.split('@', 1) 137 137 host_name = mm_cfg.VIRTUAL_HOSTS.get(domain, domain) 138 138 web_page_url = mm_cfg.DEFAULT_URL_PATTERN % domain 139 139 -
mailman/Mailman/Handlers/CookHeaders.py
old new 164 164 if msgdata.get('_nolist') or not mlist.include_rfc2369_headers: 165 165 return 166 166 # This will act like an email address for purposes of formataddr() 167 listid = '%s.%s' % (mlist.internal_name(), mlist.host_name) 167 #listid = '%s.%s' % (mlist.internal_name(), mlist.host_name) 168 # internal_name already contains the hostname with the vhost patch 169 listid = mlist.internal_name() 168 170 if mlist.description: 169 171 # Don't wrap the header since here we just want to get it properly RFC 170 172 # 2047 encoded.
Note: See TracBrowser for help on using the browser.
