[Mailman-Users] can i hide an internal host that hosts mailing lists?
jamie at silverdream.org
Wed Feb 11 14:01:59 CET 2004
On Wed, 2004-02-11 at 12:11, Robert P. J. Day wrote:
> (i'm new to mailman, and still working my way through the FAQ and docs,
> so if there's a simple URL that addresses this, that would be just ducky.)
Read through Defaults.py, under Debian it resides at
/usr/lib/mailman/Mailman/Defaults.py but if you are using another
distribution YMMV. It's very liberally commented, so you shouldn't have
any trouble with it. It says it in their, but I'll repeat it anyway,
don't make changes to Defaults.py, because it'll be overwritten whenever
you upgrade Mailman to a new version, instead make the changes in your
mm_cfg.py file (on Debian that's in /etc/mailman).
> if you subscribe to a list, the confirmation message asks you to reply
> to "internal.yoyodyne.com".
> is it possible to *completely* conceal the internal name of a mailing
> list host? during configuration, i did my best to avoid using the
> internal name and used only the "lists" name, but i'm assuming that
> mailman is invoking "hostname" or something to that effect somewhere
> along the way.
The DEFAULT_URL, DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST all control the
hostname which Mailman uses for its web interface, and on the emails
that it sends.
DEFAULT_URL = 'http://lists.yoyodyne.com'
DEFAULT_EMAIL_HOST = 'lists.yoyodyne.com'
DEFAULT_URL_HOST = 'lists.yoyodyne.com'
"Mailman needs to know about (at least) two fully-qualified domain names
(fqdn); 1) the hostname used in your urls, and 2) the hostname used in
email addresses for your domain. For example, if people visit your
Mailman system with "http://www.dom.ain/mailman" then your url fqdn is
"www.dom.ain", and if people send mail to your system via
"yourlist at dom.ain" then your email fqdn is "dom.ain". DEFAULT_URL_HOST
controls the former, and DEFAULT_EMAIL_HOST controls the latter.
Mailman also needs to know how to map from one to the other (this is
especially important if you're running with virtual domains). You use
"add_virtualhost(urlfqdn, emailfqdn)" to add new mappings."
-jamie <jamie at silverdream.org>
w: http://silverdream.org | p: sms at silverdream.org
pgp key @ http://silverdream.org/~jps/pub.key
12:30:01 up 1 day, 15:57, 6 users, load average: 0.34, 0.32, 0.26
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/mailman-users/attachments/20040211/aa946935/attachment.pgp
More information about the Mailman-Users