Re: Reply to broke

Jon <[email protected]> Tue, 04 Nov 2003 17:55:03 -0800
Newsgroups gmane.org.ballistichelmet.devel
Message-ID <[email protected]>
OK, so that's all much better now.  The replys and everything should be
set.  I know there was an easier way to do it, but i think we got it ok.
 Probably could've modified the Defaults.py in ~mailman/Mailman/Cfg/ and
it would automatically redirect to :4000, but i'd rather see all the
clean URLS need to be th eonly ones referenced.  If only we could
somehow mask the actual url within the your. subdomains.  That would be
nice.

anyway...so the only part that still isn't working, which i have no
fucking clue about (only spent like 4 hrs trying to fix it).

http://ballistichelmet.org/mailmain/listinfo

that page has references to the your. for the email address there.  why
the fuck is it doing that?

in the Defaults.py DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST are both set
to 'ballistichelmet.org' which i would think would take care of it.  I
found some references to virtualhosts which might be necessary, but I
even put that call in the mm_cfg.py file.

add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

thinking this would cover the last part of it.  no luck.  So... i'd
rather not hardcode this shit into the Utils.py and instead use their
function get_site_email()

def get_site_email(hostname=None, extra=None):
    if hostname is None:
        hostname = mm_cfg.VIRTUAL_HOSTS.get(get_domain(), get_domain())
    if extra is None:
        return '%s@%s' % (mm_cfg.MAILMAN_SITE_LIST, hostname)
    return '%s-%s@%s' % (mm_cfg.MAILMAN_SITE_LIST, extra, hostname)

so, the quesiton I would say is, where is the get_domain() getting it's
info, and how are these hosts set up?

-j


Jon wrote:
> done
> 
> 
>>Neat.  Works for me.  Might want to do the same for the pipermail folder.
>>
>>-d
> 
> 
> _______________________________________________
> devel mailing list
> [email protected]
> http://ballistichelmet.org/mailman/listinfo/devel