On Sunday, September 21, 2003, at 10:55 am, Jan Theofel wrote:
Hello,
I have a problem adding a new list to mailman:
--- snip ---
mailgate:/usr/lib/mailman/Mailman # ../bin/newlist [EMAIL PROTECTED] [EMAIL PROTECTED] test
Traceback (most recent call last):
File "../bin/newlist", line 219, in ?
main()
File "../bin/newlist", line 160, in main
mlist.Create(listname, owner_mail, pw)
File "/var/tmp/mailman-2.1.1-build/usr/lib/mailman/Mailman/MailList.py", line 431, in Create
File "/var/tmp/mailman-2.1.1-build/usr/lib/mailman/Mailman/Utils.py", line 203, in ValidateEmail
Mailman.Errors.MMHostileAddress: ks-liste@(unused)
--- snap ---
Can some please tell me how I can solve this problem?
In my mm_cfg.py I use the follwoing settings: --- snip --- DEFAULT_HOST_NAME = 'mailman.etes.de' DEFAULT_EMAIL_NAME = 'mailman.etes.de' DEFAULT_URL = 'http://mailman.etes.de/mailman/' MAILMAN_OWNER = '[EMAIL PROTECTED]' DELIVERY_MODULE = 'SMTPDirect' SMTPHOST = 'localhost' SMTPPORT = 25 --- snap ---
Assuming you are running MM 2.1.x (because your are defining DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST), then in mm_cfg.py say only this:
DEFAULT_EMAIL_HOST = 'mailman.etes.de' DEFAULT_URL_HOST = 'mailman.etes.de' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
Do not define DEFAULT_URL, leaving it to its default value of None set in Defaults.py; see the explanation in $prefix/Mailman/Defaults.py.
The MAILMAN_OWNER config variable is no longer used in MM 2.1.x; it was used in MM 2.0.13
Your SMTPHOST and SMTPPORT definitions are redundant but doing no harm
For more information see under the heading "Changing hostnames" in the FAQ entry:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.029.htp
Let us know if the suggested changes fix your problem or not.
Bye, Jan
-- Jan Theofel Fon: +49 (7 11) 48 90 83 - 0
ETES - EDV-Systemhaus GbR Fax: +49 (7 11) 48 90 83 - 50
Libanonstrasse 58 A * D-70184 Stuttgart Web: http://www.etes.de
------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
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/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/ r.barrett%40openinfo.co.uk
----------------------------------------------------------------------- Richard Barrett http://www.openinfo.co.uk
------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] 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/
This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org