[Mailman-Users] mailman installation
I want to install mailman. when I try to configure it I got this error message: checking for --with-python... no checking for python... /usr/bin/python checking Python interpreter... /usr/bin/python checking Python version... 2.4 checking that Python has a working distutils... configure: error: * Distutils is not available or is incomplete for /usr/bin/python * If you installed Python from RPM (or other package manager) * be sure to install the -devel package, or install Python * from source. See README.LINUX for details I downloaded Distutil from python.org http://python.org/ http://www.python.org/sigs/distutils-sig/download/Distutils-1.0.2.tar.gz I wanted to install this one but I got another error message in running python setup.py install Traceback (most recent call last): File setup.py, line 30, in ? packages = ['distutils', 'distutils.command'], File /home/soccer/mohammad/python /Distutils-1.0.2/distutils/core.py, line 101, in setup _setup_distribution = dist = klass(attrs) File /home/soccer/mohammad/python/Distutils-1.0.2/distutils/dist.py, line 130, in __init__ setattr(self, method_name, getattr(self.metadata, method_name)) AttributeError: DistributionMetadata instance has no attribute 'get___doc__' How can I solve this problem?! -- Mohammad do you Python?!! -- 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=showamp;file=faq01.027.htp
[Mailman-Users] Modify To header
Hello all, I have a cosmetic question: I would like to modify the To: header, in order to use the sender address (From:) as the To: header. Can I do this in SMTPDirect.py?? In this way, I would have emails like this: From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Thx in advance, Javier. -- 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] header_filter_rules possible bug
Hi, I think you are right! I have to make warning when checking in because this may cause incompatible behavior for already installed other patterns. :-( Iain Pople wrote: Hi, I have noticed some unexpected behaviour with header_filter_rules. I wanted to reject messages with an empty subject line so i came up with the following regex: ^subject:\s*$ However it wasn't working as desired. After delving around in the SpamDetect.py code i noticed that the re.search call is not using MULTILINE mode. So the headers are treated as one long string and ^ would only match the beginning of the string. Is this the desired behaviour? To me it makes more sense that it should use multiline mode. i.e.: --- SpamDetect.py.bak 2005-08-02 15:56:42.08327 +1000 +++ SpamDetect.py 2005-08-02 17:33:59.698226000 +1000 @@ -127,7 +127,7 @@ for pattern in patterns.splitlines(): if pattern.startswith('#'): continue -if re.search(pattern, headers, re.IGNORECASE): +if re.search(pattern, headers, re.IGNORECASE|re.MULTILINE): if action == mm_cfg.DISCARD: raise Errors.DiscardMessage if action == mm_cfg.REJECT: @@ -137,3 +137,4 @@ hold_for_approval(mlist, msg, msgdata, HeaderMatchHold) if action == mm_cfg.ACCEPT: return -- Iain Pople Systems Programmer University of Melbourne -- 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/tkikuchi%40is.kochi-u.ac.jp Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp -- Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/ -- 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=showamp;file=faq01.027.htp
[Mailman-Users] WebServer and MailServer in different machines :/
Hello guys! I'v make a test installation of my MailMan with Postfix and Virtual Domain, but all in a unic (one) machine running apache and postfix. Now, I'll configure in my production ambient, but I have 02 servers, one with a Webserver and other with a Mailserver. And now? How I can configure this? :) Thanks a lot! Brazilian Regards -- 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=showamp;file=faq01.027.htp
[Mailman-Users] having trouble with installation
Hi, I got mailman set up now such that I do not see any errors in my apache error logs when i create a new list. Postmap and Postalias are run just fine. However, the file virtual-mailman is completly empty when i add new lists. the aliases file get's updated with all of the new entries tho. Consequently when ever I attempt to send mail to [EMAIL PROTECTED] it gets bounced cause postfix doesn't know anything about it. My postfix main.cf points to mailman thusly.. local_recipient_maps = unix:passwd.byname $alias_maps $virtual_alias_maps hash:/usr/local/mailman/data/virtual-mailman However there is no mention of the file virtual-mailman in mm_cfg.py or defaults.py , only so much as to say this is what POSTFIX_MAP_CMD expects to see.. [defaults.py] I'm [---] this close to having it working i know it. Thanks. -- Jeff MacDonald http://www.halifaxbudolife.ca http://www.nintai.ca -- 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] mailman installation
On Aug 2, 2005, at 16:48, Mohammad Moghimi wrote: checking Python version... 2.4 checking that Python has a working distutils... configure: error: * Distutils is not available or is incomplete for /usr/bin/python * If you installed Python from RPM (or other package manager) * be sure to install the -devel package, or install Python * from source. See README.LINUX for details I downloaded Distutil from python.org http://python.org/ http://www.python.org/sigs/distutils-sig/download/ Distutils-1.0.2.tar.gz That is a rather old version of distutils. A working version should have been included in your Python 2.4 installation. (As the error message says, it is often installed in a separate package if you installed Python in package form.) Check again that your Python 2.4 installation is complete (and that you have included the -devel package if appropriate for your system). -- Jim Tittsler http://www.OnJapan.net/ GPG: 0x01159DB6 Python Starship http://Starship.Python.net/crew/jwt/ Mailman IRC irc://irc.freenode.net/#mailman -- 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=showamp;file=faq01.027.htp