On 5/2/2010 1:21 PM, Tanstaafl wrote: > The second question I have is about the DEFAULT_EMAIL_HOST setting... > > Currently, people send to my lists using listn...@example.com and > everything is working fine. But, while prepping for this change I found > this commented section from someone's mm_cfg.py (these comments aren't > in mine for some reason): > > # 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 "yourl...@dom.ain" then > # your email fqdn is "dom.ain". DEFAULT_URL_HOST controls the former, > # and DEFAULT_EMAIL_HOST controls the latter.
The comments are in some downstream package. They aren't in the default GNU Mailman distribution. > According to this, my DEFAULT_EMAIL_HOST should just be 'example.com', > but it isn't, it is myhost.example.com - so why is mine working ok? If you go to the list's listinfo page, what does it say the list posting address is? If it says listn...@example.com, then either you had different settings when you created the list, or you changed the list's host_name attribute on the General Options admin page from myhost.example.com to example.com. On the other hand, if the listinfo page says listn...@myhost.example.com then all the email addresses Mailman generates for this list are @myhost.example.com. Now they probably work because >> POSTFIX_STYLE_VIRTUAL_DOMAINS = ['myhost.example.com'] says generate virtual alias maps for Postfix for any list that has host_name myhost.example.com, so if Postfix is configured to use Mailman's data/virtual-mailman, mail sent to list addresses @myhost.example.com will be properly delivered. Note that all DEFAULT_EMAIL_HOST does is set the default host_name attribute for new lists. Once a list is created, it has no effect. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org