[EMAIL PROTECTED] wrote: >Well, I *thought* I had it fixed, but not. It worked for the domain >that actually matches the machine name, but not for the virtual domain >I just tested. The list address is something like "[EMAIL PROTECTED]", >and my mm-cfg.py is as follows:
See comments below, although virtual hosts shouldn't have anything to do with this issue. >################################################## ># Put YOUR site-specific settings below this line. >DEFAULT_URL_PATTERN = 'http://%s/mailman/' >DEFAULT_NNTP_HOST = 'amd64.csd-bes.net' >DEFAULT_EMAIL_HOST = 'amd64.csd-bes.net' >DEFAULT_URL_HOST = 'amd64.csd-bes.net' >MTA = 'Postfix' >POSTFIX_ALIAS_CMD = '/usr/sbin/postalias' >POSTFIX_MAP_CMD = '/usr/sbin/postmap' >POSTFIX_STYLE_VIRTUAL_DOMAINS = >['amd64.csd-bes.net','mail.csd-bes.net','lists.csd-bes.net','sbypc.org','eagles81.org','ez-realty.net','maccounting.net','re-techtalk.com','hoopscout.com'] >DELIVERY_MODULE = 'SMTPDirect' >SMTPHOST = 'localhost' It is best to add VIRTUAL_HOSTS.clear() here to remove the entry from Defaults.py although this usually isn't strictly necessary. >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >add_virtualhost('amd64.csd-bes.net', 'amd64.csd-bes.net') The line above essentially duplicates the one above it and is redundant. >add_virtualhost('mail.csd-bes.net', 'amd64.csd-bes.net') >add_virtualhost('lists.csd-bes.net', 'amd64.csd-bes.net') >add_virtualhost('sbypc.org', 'amd64.csd-bes.net') It seems from your reference to [EMAIL PROTECTED] that this should probably be add_virtualhost('sbypc.org', 'sbypc.org') and maybe similarly for all the others. >add_virtualhost('eagles81.org', 'amd64.csd-bes.net') >add_virtualhost('ez-realty.net', 'amd64.csd-bes.net') >add_virtualhost('maccounting.net', 'amd64.csd-bes.net') >add_virtualhost('re-techtalk.com', 'amd64.csd-bes.net') >add_virtualhost('hoopscout.com', 'amd64.csd-bes.net') Also, the Mailman.Archiver.Archiver.GetBaseArchiveURL() method inverts the VIRTUAL_HOSTS dictionary to get the URL host name corresponding to a particular email host. This doesn't work well if there are entries with duplicate email host values. >IMAGE_LOGOS = '/mailmanicons/' > >The error message is the same as below. Since the add virtualhost item >above sets that to amd64.csd-bes.net, and amd64.csd-bes.net is the name >of the machine in the dns settings, that should take care of it, right? > But it doesn't. The VIRTUAL_HOSTS dictionary is not involved in this at all. See http://mail.python.org/pipermail/mailman-users/2005-May/044742.html for a Python script that does exactly what SMTPDirect does to send mail. Also see thread starting at http://mail.python.org/pipermail/mailman-users/2005-June/045157.html -- Mark Sapiro <[EMAIL PROTECTED]> 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://www.python.org/cgi-bin/faqw-mm.py 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://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp