|
|
||||||||||||||||||
|
Mailman Frequently Asked QuestionsQ. How do you spell this program?A. You spell it "Mailman", with a leading capital "M" and a lowercase second "m". It is incorrect to spell it "MailMan" (i.e. you should not use StudlyCaps). Q. I'm getting really terrible performance for outgoing messages. It
seems that if the MTA has trouble resolving DNS for any recipients,
qrunner just gets really slow clearing the queue. Any ideas?
In Exim, the value to edit is receiver_verify_hosts. See README.EXIM for details. Other MTAs have (of course) different parameters and defaults that control this. First check the README file for your MTA and then consult your MTA's own documentation. Q. What if I get "document contains no data" from the web server, or
mail isn't getting delivered, or I see "Premature end of script
headers" or "Mailman CGI error!!!"
To fix this you will need to re-configure Mailman using the --with-cgi-gid and --with-mail-gid options. See the INSTALL file for details. These errors are logged to syslog and they do not show up in the Mailman log files. Problems with the CGI wrapper do get reported in the Web browser though, and include the expected GID, so that should help a lot. You may want to have syslog running and configured to log the mail.error log class somewhere; on Solaris systems, the line mail.debug /var/log/syslog causes the messages to go to them in /var/log/syslog, for example. (The distributed syslog.conf forwards the message to the loghost, when present. See the syslog man page for more details.) If your system is set like this, and you get a failure trying to visit the mailman/listinfo web page, and it's due to a UID or GID mismatch, then you should get an entry at the end of /var/log/syslog identifying the expected and received values. Q. Why do my web pages hang?
It is also possible that you have stale locks. Mailman tries to be very careful about the lock files it creates to ensure the integrity of its databases, but sometimes system faults can cause stale locks to persist. Look in $prefix/locks for any stale list locks and remove them (you can determine if they're stale by getting the pid from the file contents and using ps to see if those processes are still running or not). Q. What should I check periodically?
One thing that is *not* caught by the standard error hook is syntax errors, but any of these should have been caught in the installation phase, which byte-compiles all .py files in the distribution. There may be syntax errors lurking if you hacked the code, or in the scripts that are not modules. You can always use the Python module `compile' or `compileall' to force byte compilation of a file, or just fire up the Python interpreter and try importing the module. Q. Why doesn't the archive link work?
Q. Okay, the archive link works, but I can't access the public
archives. Why?
http://mail.python.org/pipermail/mailman-users/1998-November/000150.html Q. Still having problems? Running QMail?
|preline /home/mailman/mail/wrapper post listname "preline" adds a Unix-style "From " header which the archiver requires. You can fix the archive mbox files by adding: From somebody Mon Oct 9 12:27:34 MDT 2000 before every message and re-running the archive command "bin/arch listname". The archives should now exist. See README.QMAIL for more information. Q. Still having problems? Running on GNU/Linux?
Q. I want to get rid of some messages in my archive. How do I do
this?
Q. I set member_posting_only to yes because I want to limit posts to
members only, however it seems like all messages coming from
members are held for approval. Why?
[ The possible causes for envelope sender munging taking place are many, but the "owner-alias" sendmail feature probably deserves special mention: If mail arrives for list "foo", and there is an alias entry for "owner-foo" as well, the envelope sender of the message will be changed to the single-level expansion of the "owner-foo" alias. Code has been included in post-1.0rc2 Mailman releases to try working around the problem this (unconfigurable) sendmail feature constitutes. Prior to this, some people worked around the problem by not including the suggested "owner-LISTNAME" alias entries for Mailman lists in their alias files. ] However, if you are having this problem, you may opt to favor the From: header over the envelope sender. Do this by adding the following line to your mm_cfg.py file: USE_ENVELOPE_SENDER=0 if you want (arguably) more security, add this to your mm_cfg.py file: USE_ENVELOPE_SENDER=1 However, read the comments about this variable in the Defaults.py file for a full discussion of the issues. By default, Mailman 2.0 relies on the From: header for doing address matching. Q. How secure are the authentication mechanisms used in Mailman's web
interface?
However, most Mailman installation run under standard, encryption-unaware servers. There's nothing wrong with that for most applications, but a sufficiently determined cracker *could* get unauthorized access by:
Gaining access to the user's cookie (e.g. by being able to read the user's browser cookie database, or by means of packet sniffing, or maybe even by some broken browser offering all it's cookies to any and all sites the user accesses), and at the same time being able to fulfill the other criteria for using the cookie could result in unauthorized access. Note that this problem is more easily exploited when users browse the web via proxies -- in that case, the cookie would be valid for any connections made through that proxy, and not just for connections made from the particular machine the user happens to be accessing the proxy from.
|