[Mailman-Users] Mailman Postfix and MySQL
Hi list, well, i have a problem integrating mailman with postfix. I manage my virtual domains and aliases through mysql and a PHP-Frontend. Mailman is running and i could create the global list mailman So far so good, but how can i use the generated aliases with mysql? This is the relevant entries in the config file: DEFAULT_URL_HOST = www.mydomain.de DEFAULT_EMAIL_HOST = mydomain.de add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) MTA = 'Postfix' POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.de'] Through the PHP-Frontend i?ve created the virtual domain mydomain.de Now when i send a email the mail gets to the mailbox root from another domain. This is probably because the mail gets send to the hostname of the server server.mydomain.de Here i have an catch all alias which points to [EMAIL PROTECTED] Now i got stuck. Kind regards, Christian -- 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] Let me try this again ;-)
Folks Is there an option to have mailman ignore anonymous posts and not even acknowledge the post. Just let it go to /dev/null ?? I have looked and see nothing in simple english.. Right now, I am seriously blacklisted by the anonymous posts being sent by spammers and mailman trying to send back a message your post is not allowed Maybe I just need to rename them ?? This is getting to the point of The Spammers win, I loose Thanks Dave --- --- Dave Foran Internet ONLY:[EMAIL PROTECTED] Cruise Missile Coordinates 41.36.46N 81.25.53W --- -- 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] Let me try this again ;-)
On Mar 25, 2007, at 9:09 AM, Dave Foran wrote: Is there an option to have mailman ignore anonymous posts and not even acknowledge the post. Just let it go to /dev/null ?? There is probably some way to do that, but I don't know it. But I'm not sure that that is the right approach in the first place, since once your server accepts some incoming mail it has certain responsibilities. Right now, I am seriously blacklisted by the anonymous posts being sent by spammers and mailman trying to send back a message your post is not allowed You should be doing your spam blocking earlier. Are you using DNSbl's and or filters to reject incoming spam? If you reject most of the spam at SMTP time, then mailman will never see the spam in the first place and you won't have to generate any bounces. -j -- - Dave Foran Internet ONLY:[EMAIL PROTECTED] Cruise Missile Coordinates 41.36.46N 81.25.53W -- - Not enough information. We need altitude as well for setting the target of a missile. -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ -- 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] Let me try this again ;-)
On Sun, 25 Mar 2007 10:09:07 -0400 Dave Foran [EMAIL PROTECTED] wrote: Folks Is there an option to have mailman ignore anonymous posts and not even acknowledge the post. Just let it go to /dev/null ?? I have looked and see nothing in simple english.. Right now, I am seriously blacklisted by the anonymous posts being sent by spammers and mailman trying to send back a message your post is not allowed Maybe I just need to rename them ?? This is getting to the point of The Spammers win, I loose Thanks Dave Have you looked at the list administrative interface? Just to name a few -- General Options ... Send mail to poster when their posting is held for approval? Privacy options ... What steps are required for subscription? Action to take for postings from non-members for which no explicit action is defined. Filter rules to match against the headers of a message. Hold posts with header value matching a specified regexp. -- Raquel It is from numberless diverse acts of courage and belief that human history is shaped. Each time a man stands up for an ideal, or acts to improve the lot of others, or strikes out against injustice, he sends forth a tiny ripple of hope, and crossing each other from a million different centers of energy and daring those ripples build a current which can sweep down the mightiest walls of oppression and injustice. --Senator Robert F. Kennedy, University of Capetown, South Africa, -- 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 Postfix and MySQL
Info wrote: well, i have a problem integrating mailman with postfix. I manage my virtual domains and aliases through mysql and a PHP-Frontend. Mailman is running and i could create the global list mailman So far so good, but how can i use the generated aliases with mysql? You can use a hash for the Mailman aliases even though you use mysql. See http://www.list.org/mailman-install/node12.html - in particular, subsections 6.1.1 and 6.1.2. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] Let me try this again ;-)
Dave Foran wrote: Is there an option to have mailman ignore anonymous posts and not even acknowledge the post. Just let it go to /dev/null ?? I have looked and see nothing in simple english.. Right now, I am seriously blacklisted by the anonymous posts being sent by spammers and mailman trying to send back a message your post is not allowed What is an 'anonymous' post? I replied to you on Tuesday. Unfortunately, I neglected to copy the list on my first reply. It seems like right now you have Privacy options...-Sender filters-generic_nonmember_action set to Reject. Set it to Discard. In any case, the your post is not allowed message is due to some Reject action which if changed to Discard will cause the post to be silently ignored. However, as pointed out in other replies, filtering in the MTA ahead of Mailman is a better approach. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] Let me try this again ;-)
Greetings again As I am totally locked out from send from my own system until time moves on ;-) Paul Tomblin, replied to me earlier today and yes, all lists were set to reject, and since have been set to discard A good friend gave me his sorbs lines for my sendmail.mc and I added them, but saw nothing So, in my testing, I removed all the dnl in the lines and viola, I am rejecting tons of crap. SO I think, I got things fixed and I hope this is the last of the issues. My THANKS, to the way questions get answered in a HURRY THANKS, again Dave Dave Foran wrote: Is there an option to have mailman ignore anonymous posts and not even acknowledge the post. Just let it go to /dev/null ?? I have looked and see nothing in simple english.. Right now, I am seriously blacklisted by the anonymous posts being sent by spammers and mailman trying to send back a message your post is not allowed What is an 'anonymous' post? I replied to you on Tuesday. Unfortunately, I neglected to copy the list on my first reply. It seems like right now you have Privacy options...-Sender filters-generic_nonmember_action set to Reject. Set it to Discard. In any case, the your post is not allowed message is due to some Reject action which if changed to Discard will cause the post to be silently ignored. However, as pointed out in other replies, filtering in the MTA ahead of Mailman is a better approach. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter 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/dave%40hamnet.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp -- 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] Let me try this again ;-)
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark Sapiro Sent: Sunday, March 25, 2007 12:38 To: [EMAIL PROTECTED] Org Subject: Re: [Mailman-Users] Let me try this again ;-) What is an 'anonymous' post? As far as I am concerned some robot that has screen scraped an address and sent a message to a list to spam it Dave I replied to you on Tuesday. Unfortunately, I neglected to copy the list on my first reply. It seems like right now you have Privacy options...-Sender filters-generic_nonmember_action set to Reject. Set it to Discard. In any case, the your post is not allowed message is due to some Reject action which if changed to Discard will cause the post to be silently ignored. However, as pointed out in other replies, filtering in the MTA ahead of Mailman is a better approach. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter 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/dave%40hamnet.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp -- 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] Let me try this again ;-)
Dave Foran wrote: What is an 'anonymous' post? As far as I am concerned some robot that has screen scraped an address and sent a message to a list to spam it Yes, but what characteristics does this message have that would allow Mailman to recognize it as such and treat it differently from a message to the list from a human who hapens to be a list member posting from the wrong address or a non-member sending a 'legitimate' message? In other words, you may not want to discard all non-member posts. It may be better if you can filter the spam ahead of Mailman and then hold the remaining non-member posts for moderator action. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] Let me try this again ;-)
You are probably correct But until I get this spa, issue resolved EVERYTHING goes ;-) Very frustrating I am still getting some junk, but I think it may be some goof send a message to everyone Dave Dave Foran wrote: What is an 'anonymous' post? As far as I am concerned some robot that has screen scraped an address and sent a message to a list to spam it Yes, but what characteristics does this message have that would allow Mailman to recognize it as such and treat it differently from a message to the list from a human who hapens to be a list member posting from the wrong address or a non-member sending a 'legitimate' message? In other words, you may not want to discard all non-member posts. It may be better if you can filter the spam ahead of Mailman and then hold the remaining non-member posts for moderator action. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter 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=showamp;file=faq01.027.htp
Re: [Mailman-Users] config_list does not finish
Michael McAndrew wrote: Thanks a lot, The triple string quotes didn't appear in the config file - they were in the email only to show the start and end of the quoted config file: confusing in retrospect. Yes, I was confused. When I looked this morning, the lists were working again,and (thanks to the reply) I now know why this was - The lists were locked and hadn't been unlocked afterwards. One problem for me was that I didn't know if lists are initially locked or unlocked, and consequently didn't know whether to leave them locked or unlocked at the end. I've put a fuller explanation below in case it helps someone in a similar position to me. I have a script I run every half hour that adjusts moderation bits on some lists. I was running the script with the -l (lock) option but not calling the method m.Save() before it finished (the m.Save() method unlocks the list,I presume) which meant the list wasn't automatically unlocked. I presume mailman noticed and was able to deal with this most of the time, but not always, which is why it hung sometimes. No. The Save() method only saves the updated list. It doesn't unlock it. A list is unlocked by calling the Unlock() method. If you are only processing one list with withlist, withlist will unlock the list when the script exits, but if you are processing multiple lists with something like /path/to/bin/withlist -l -a -r callable withlist will only unlock the last list processed and you will be left with locked lists unless you specifically unlock them within the callable function. If you specify both -l and -a to withlist, you must explicitly Unlock() the list whether or not you Save() it first or you will be left with locked lists. An appropriate callable.py for this scenario contains def callable(mlist, ...): if not mlist.Locked(): mlist.Lock() (process here) mlist.Save() mlist.Unlock() This works whether or not the -l option is given to withlist. It also works if callable exits because of an exception in its process because withlist sets sys.exitfunc to its own function which unlocks the list if locked. Actually, I feel like this was the last hurdle in a long process of integrating mailman with another open source php based CMS that I a have also customised a bit. It's been a steep and mostly enjoyable learning curve, and though it might be standard for someone with a history in open source, for me it was pretty great to be able to do all this, and the support was really great - Cool - thanks a lot, Michael -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter 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=showamp;file=faq01.027.htp
[Mailman-Users] Problem with Installing Mailman 2.1.9 on Solaris 10
I'm having a problem with building mailman 2.1.9 on Solaris 10. No problems with configure or make, but make install breaks. Here is an extract: /opt/csw/lib/python2.3/distutils/dist.py:213: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) unable to execute cc: No such file or directory error: command 'cc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /usr/local/src/mailman-2.1.9/misc *** Error code 1 The following command caused the error: for d in bin cron misc Mailman scripts src templates messages tests; \ do \ (cd $d; make DESTDIR= install); \ done make: Fatal error: Command failed for target `doinstall' Does anyone see something here? Thanks! Dave Devereaux-Weber -- 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] Problem with Installing Mailman 2.1.9 on Solaris 10
The esteemed David Devereaux-Weber has said: I'm having a problem with building mailman 2.1.9 on Solaris 10. No problems with configure or make, but make install breaks. Here is an extract: /opt/csw/lib/python2.3/distutils/dist.py:213: There's your problem. Does anyone see something here? You're using the wrong Python. I don't know where you got this Python (/opt/csw is not a Solaris 10 directory), but it's behaving the same as the Python 2.3 that is in the Solaris 10 distribution installed in /usr/sfw. My recollection is that /opt/csw is being used by one or more prebuilt services who have religious tabus about using /usr/local, and presume you've downloaded a prebuilt Python package and installed it. Download the Python 2.4.4 source (not 2.5 or later), configure, and build that. It will not build completely, but what doesn't build (tcl and the ssl functions) isn't needed for Mailman. Solaris 10 comes with gcc 3.4.2 in /usr/sfw/bin, which can be used to build both Python and Mailman. When you've got Python 2.4.4 built and installed, use which python to make sure it's the first one in your path. /usr/local/bin/python Also, on a Solaris system (all versions), I strongly recommend renaming /usr/ucb/cc to something else so that configure scripts don't think the system has a working cc. That particular cc is a shell script stub that is there for historical reasons dating from the original SVR4 specification in 1988. If you have downloaded and installed the Sun development system (Studio 11 is the current marketing name for it) that installs by default in /opt/SUNWspro, use that cc and CC instead of the GNU stuff. Note that you'll have to force the configure scripts not to use gcc when you run them. Hank -- 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] Mm-handler user unknown problem
Hi Hank, Thanks for your anwser. I got mailman working now without the use of mm-handler and the use of aliases. The whole idea about using the mm-handler (at least I think it is) is that you by-pass the normal sendmail aliases, so that you don't have to create new ones for every new list. The mm-handler process picks up everything and redirects it to mailman without having to create every mailinglist address separate as a alias for sendmail. But I guess I'll find another way to automatically generate the needed aliases for the mailinglists we create. With Kind Regards, - Marco van Kammen Springer Unix / Exchange System Manager Floor Manager / Postmaster - Van Godewijckstraat 30 | 3311 GX Office Number: 05E21 P.O. Box 17 | 3300 AA Dordrecht | The Netherlands tel +31 (0) 78 657 6446 fax +31 (0) 78 657 6302 [EMAIL PROTECTED] www.springer.com - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 5:31 PM To: Kammen van, Marco, Springer SBM NL Cc: mailman-users@python.org Subject: Re: [Mailman-Users] Mm-handler user unknown problem The esteemed Kammen van, Marco, Springer SBM NL has said: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kammen van, Marco, Springer SBM NL Sent: Tuesday, March 20, 2007 4:22 PM To: mailman-users@python.org Subject: [Mailman-Users] Mm-handler user unknown problem Dear All, Using: Red Hat Linux release 9 Mailman 2.1.9 Sendmail 8.12.8 First of all i'm a total sendmail noob so please be nice :-D I've been scrolling through FAQ's mailinglists etc all day and found many people have this problem but didn't find a really good solution for this.. Most problems seem to be related to people forgetting to setup aliases, but in this case i'm using mm-handler which as far as i understand overrides the use of aliases and only needs some address in the virtusertable. (if address doesn't exist in virtusertable then goto mm-handler and get specific mailinglist address) If you are new to sendmail, I would strongly suggest not attempting to use the mm-handler setup for initial setup and test. There is a four-step procedure for doing an initial sendmail configuration and checkout in the archives at: http://www.mail-archive.com/mailman-users%40python.org/msg43689.html The main.mc statements in that document are correct for Sendmail 8.12 and Sendmail 8.13 This setup presumes that you are installing Mailman on the incoming/outgoing mail host. I got everything up and running, made the test list, received the mails from the test list, was able to subscribe people to it using the webinterface, the newly subscribed people also received the mails. Problem is when trying to send a mail to the new mailinglist. 550 5.1.1 [EMAIL PROTECTED]... User unknown This is a fairly clear indication that you do need to install a set of alias pipes to Mailman. On a sendmail installation, you do this manually. bin/genaliases will produced the needed aliases in the proper form for sendmail. You need a full set of aliases for each list you create. It's important to understand that the Mailman aliases are pipes to Mailman scripts. What you are doing is telling the sendmail daemon for incoming mail to bypass normal sendmail spool handling and, instead, to pipe the data to the Mailman qrunners. I'll snip and skip over your configuration data for mm-handler as I don't run that configuration on my sites. I do not know if anyone reading this mail list is using that configuration. For a basic Sendmail-Mailman integration you do not need to enable and configure the mailertable and virtusertable features to support Mailman if you are not using them to support your site Sendmail configuration for regular user accounts. My main concern is the sendmail.cf, i first edited the os delivered sendmail.mc file did some cut pasting from the mailman.mc file then generated the sendmail.cf file using the proper m4 method. Maybe someone can give me a basic sendmail.cf which can be easily used for the basic mail mailman functionality cause the mailman.mc file which comes with the package can't be used cause that one gives lots of errors. Thanks for the help! I'll assume that by mailman.mc you mean main.mc. You can start with the sendmail distribution main.mc file. The only feature that Mailman requires that is not enabled by default is smrsh. FEATURE(smrsh, /usr/lib/smrsh)dnl Make sure that is the location of the smrsh executable on your system. Also make sure that the link in sm.bin points to the correct file. I can't vouch for the correctness of the main.mc statements included in the Mailman distribution contrib directory. If you get M4 assembly errors when making the cf files from the mc/m4 files, then you need to review the statements you are using against the Sendmail information in the O'Reilly Sendmail bat