[Mailman-Users] Incredibly Frustrated with inability to post

DJ Freak djfreak at beathustler.com
Wed Dec 8 11:09:06 CET 2004


Hi LIst

I am beyond frustrated now.  I have lists.  I can add members but I  
still cannot post.  I have tried every combination under the SUN and I  
still cannot post.

I think the problem stems from the following.  By the way I am using  
Postfix and Mailman 2.1.5 and Python 2.3 in OS X Server 10.2.8.  When I  
follow these instructions:

To map support for your virtual domains, you need to add a line to  
/usr/local/mailman/Mailman/mm_cfg.py for each domain. The format is:
add_virtualhost(url_host, e-mail_host)

where url_host is the fully-qualified domain name used in the URL to  
Mailman on that virtual host (e.g., for http://www.baz.com/mailman/,  
the url_host would be www.baz.com) and e-mail_host is the MX record for  
the domain.

First of all, there is no /usr/local/mailman/Mailman/mm_cfg.py

There is however /Users/mailman/Mailman/mm_cfg.py so I'm assuming  
that's where they mean not /usr/local..... which is a completely  
different location.

However, when I add the add_virtualhost(www.beathustler.com,  
mail.beathustler.com) I am able to restart Postfix with no problem BUT  
when I cd /Users/mailman and then run bin/mailmanctl restart I get the  
following:

File "bin/mailmanctl", line 105, in ?
     from Mailman import mm_cfg
   File "/Users/mailman/Mailman/mm_cfg.py", line 46, in ?
     add_virtualhost(www.beathustler.com, mail.beathustler.com)
NameError: name 'www' is not defined

Important to note:

I have the lines:

virtual_alias_domains = beathustler.com, jessicamartin.org,  
nathanielmiller.com, wigglemusic.com
virtual_alias_maps = hash:/etc/postfix/virtual,  
hash:/Users/mailman/data/aliases

in my /etc/postfix/main.cf file.

Now when I try to the Mailman web interface I get Bug in Mailman  
Version 2.1.5 followed by:

Traceback (most recent call last):
   File "/Users/mailman/scripts/driver", line 63, in run_main
     from Mailman.Logging.StampedLogger import StampedLogger
   File "/Users/mailman/Mailman/Logging/StampedLogger.py", line 20, in ?
     from Mailman.Logging.Logger import Logger
   File "/Users/mailman/Mailman/Logging/Logger.py", line 24, in ?
     from Mailman import mm_cfg
   File "/Users/mailman/Mailman/mm_cfg.py", line 46, in ?
     add_virtualhost(www.beathustler.com, mail.beathustler.com)
NameError: name 'www' is not defined




Python information:

Variable
Value

sys.version
  2.2 (#1, 10/24/02, 16:10:52) [GCC Apple cpp-precomp 6.14]

  sys.executable
  /usr/bin/python

  sys.prefix
  /usr

  sys.exec_prefix
  /usr

  sys.path
  /usr

  sys.platform
  darwin

  Environment variables:

Variable
Value

  HTTP_COOKIE
   
phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22% 
3Bs%3A6%3A%22userid%22%3Bs%3A1%3A%222%22%3B%7D

  SERVER_SOFTWARE
  Apache/1.3.33 (Darwin) DAV/1.0.3 mod_ssl/2.8.22 OpenSSL/0.9.6i  
PHP/4.3.4

  PYTHONPATH
  /Users/mailman

  SCRIPT_FILENAME
  /Users/mailman/cgi-bin/listinfo

  SERVER_ADMIN
  djfreak at beathustler.com

  SCRIPT_NAME
  /mailman/listinfo

  SERVER_SIGNATURE
  Apache/1.3.33 Server at www.beathustler.com Port 16080

  REQUEST_METHOD
  GET

  HTTP_HOST
  www.beathustler.com

  PATH_INFO
  /

  SERVER_PROTOCOL
  HTTP/1.1

  QUERY_STRING

  REQUEST_URI
  /mailman/listinfo/

  HTTP_ACCEPT
  */*

  HTTP_USER_AGENT
  Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.5.5  
(KHTML, like Gecko) Safari/125.12

  HTTP_CONNECTION
  keep-alive

  SERVER_NAME
  www.beathustler.com

  REMOTE_ADDR
  64.81.242.116

  REMOTE_PORT
  65345

  HTTP_ACCEPT_LANGUAGE
  en, ja;q=0.92, ja-jp;q=0.96, fr;q=0.88, de-de;q=0.85, de;q=0.81,  
es;q=0.77, it-it;q=0.73, it;q=0.69, nl-nl;q=0.65, nl;q=0.62,  
sv-se;q=0.58, sv;q=0.54, no-no;q=0.50, no;q=0.46, da-dk;q=0.42,  
da;q=0.38, fi-fi;q=0.35, fi;q=0.31

  __CF_USER_TEXT_ENCODING
  0x46:0:0

  HTTP_PC_REMOTE_ADDR
  64.81.242.20

  PATH_TRANSLATED
  /Volumes/wigglemusic/BH/

  SERVER_PORT
  16080

  GATEWAY_INTERFACE
  CGI/1.1

  HTTP_ACCEPT_ENCODING
  gzip, deflate;q=1.0, identity;q=0.5, *;q=0

  SERVER_ADDR
  64.81.242.116

  DOCUMENT_ROOT
  /Volumes/wigglemusic/BH


Which I assume is a result of mailman not being able to restart but I  
thought that info might help you all help me see what is wrong here.   
When I set my mailing list mail address to be www.beathustler.com in  
the web interface my mail server denies relaying.  When I use the web  
interface to make the list's address mail.beathustler.com attempts to  
post come in as regular mails.

PLEASE HELP.  I will give you any other info about my set-up that you  
require.

Thanks very much in advance.

-Evan Miller


More information about the Mailman-Users mailing list