[Pkg-mailman-hackers] Bug#398684: mailman: Hostname settings are ignored when generating admin emails

Chris Adams cadams at salk.edu
Wed Nov 15 18:06:52 CET 2006


On 2006-11-15, at 1:05 AM, Lionel Elie Mamane wrote:
> Have you created the list before setting DEFAULT_EMAIL_HOST and/or
> DEFAULT_URL_HOST correctly? In this case, you need to call:
>
>  /var/lib/mailman/bin/withlist -l -r fix_url ${LISTNAME}

I'm sorry - I should have mentioned that I had already run fix_url.

> Else, please do the following:
>
> /var/lib/mailman/bin/withlist -i ${LISTNAME}
> m.getListAddress('request')
> m.GetListEmail()
> m.GetRequestEmail()
> m.internal_name()
> m.host_name
> m.GetConfirmEmail("foo")
>
> What are the answers?

Loading list test (unlocked)
The variable `m' is the test MailList instance
 >>> m.getListAddress('request')
'test-request at lists.example.edu'
 >>> m.GetListEmail()
'test at lists.example.edu'
 >>> m.GetRequestEmail()
'test-request at lists.example.edu'
 >>> m.internal_name()
'test'
 >>> m.host_name
'lists.example.edu'
 >>> m.GetConfirmEmail("foo")
'test-confirm+foo at lists.example.edu'






More information about the Pkg-mailman-hackers mailing list