Will wrote:
>
>so we have an automated setup between a CMS forum and mailman to create 
>lists, having a little confusion about what values to pass config_list
>
>trying to understand what these three values govern: listhost vs 
>hostname vs host_name


See the FAQ at <http://wiki.list.org/x/lYA9>.

I don't know what 'listhost' or 'hostname' are. They are not list
attributes. If you are referring to something specific in the
documentation, you'll have to tell me what, and I can then translate
it for you.

host_name is a list attribute that is described if the above referenced
FAQ and which is set directly from the -e option to bin/newlist.


>right now we set -e emailhost via newlist, this has resulted in some 
>incorrect data displaying in emails. this seems to set the listhost 
>value but not host_name or hostname.


Actually, it sets host_name, and as I said, I don't know what
'listhost' and 'hostname' are.


>we are attaching all lists to a subdomain. so like [EMAIL PROTECTED]
>
>emails from the lists setup however are coming from 
>[EMAIL PROTECTED] and in the emails the post to email address 
>is give as [EMAIL PROTECTED]


Both those domains come directly from the host_name attribute.


>postfix and mailman however are working find at accepting emails to 
>[EMAIL PROTECTED] and processing them through the lists.
>
>so I thought, hmm... maybe we need to set hostname to 'sub.domain.com'. 
>but I also see that the templates for emails have 2 different hostname 
>params: hostname and host_name.


What a template refers to as 'hostname' can be anything. For example,
the 'hostname' substitution in cronpass.txt (the monthly password
reminder) is either the list's host_name or it is DEFAULT_EMAIL_HOST
depending on the setting of VIRTUAL_HOST_OVERVIEW. In most other
cases, it is the list's host_name.


>can someone explain the differences between all there and how to get our 
>list configurations right using the commandline commands for our 
>subdomained lists?


First you have to get mm_cfg.py correct. See the initial part of the
FAQ at <http://wiki.list.org/x/gIA9>. Then you should be able to
create new lists with bin/newlist without specifying -u or -e, and the
defaults should be good.


>oh PS - is there a command also to patch our existing lists to set the 
>host name values correctly. thanks


 bin/withlist -l -a -r fix_url

run

 bin/fix_url.py

and/or search the FAQ for fix_url for more information.

-- 
Mark Sapiro <[EMAIL PROTECTED]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9

Reply via email to